• Amused
  • Angry
  • Annoyed
  • Awesome
  • Bemused
  • Cocky
  • Cool
  • Crazy
  • Crying
  • Down
  • Drunk
  • Embarrased
  • Enraged
  • Friendly
  • Geeky
  • Godly
  • Happy
  • Hateful
  • Hungry
  • Innocent
  • Meh
  • Piratey
  • Poorly
  • Sad
  • Secret
  • Shy
  • Sneaky
  • Tired
  • Wtf
  • At Work
  • CodenzHub
  • Coding
  • Deejaying
  • Donating
  • Drinking
  • Eating
  • Editing
  • Hacking
  • Hate Mailing
  • Jamin'
  • Lagging
  • Live Streaming
  • Lurking
  • No Status
  • Pawning
  • PC Gaming
  • PS Gaming
  • Raging
  • Reversing
  • Sleeping
  • Steam Gaming
  • Trolling
  • TwitchStreamer
  • Vodka!
  • Watching TV/Movie
  • Xbox Gaming
  • Youtuber
  • Zombies
  • Results 1 to 1 of 1
    1. #1
      Coder
      v-v
       
      Lurking
       
      Styx™'s Avatar
      Join Date
      Aug 2012
      Posts
      118
      Thanks (-->)
      1
      Thanks (<--)
      27

      Cool Calculating HEX In VB.NET

      John Kittz
      I wrote the function below for a hex calculator i was working on (In Attachments)

      Code:
      Private Function doSum(ByVal sumOperator As String, ByVal num1 As String, ByVal num2 As String)
              Dim firstNum As Integer = Val("&H" & num1)
              Dim secondNum As Integer = Val("&H" & num2)
              Dim sum As Integer
              If sumOperator = "/" Then
                  sum = firstNum / secondNum
              End If
              If sumOperator = "*" Then
                  sum = firstNum * secondNum
              End If
              If sumOperator = "+" Then
                  sum = firstNum + secondNum
              End If
              If sumOperator = "-" Then
                  sum = firstNum - secondNum
              End If
              Return sum.ToString("X")
          End Function
      Usage:
      Code:
      Operator Means Either: /, *, + or -
      
      textbox1.text = doSum(Operator, Number1, Number2)
      ##NOTE## The divide is a bit buggy ##NOTE##

      AvScans:

      VirusTotal

      Jotti
      Attached Files Attached Files

    Similar Game Hacker Threads

    1. [Source Code] Find DMA Addy - How To Pointer C++
      By [GH]Rake in forum Tutorials and Snippets
      Replies: 6
      Last Post: 05-20-2017, 06:17 PM
    2. [Help] mPulse Help calculating ac_client.exe+0x000
      By [GH]Rake in forum C/C++
      Replies: 4
      Last Post: 05-03-2015, 02:26 PM
    3. calculating pointers with offset
      By ege in forum Hacking Help
      Replies: 4
      Last Post: 01-27-2015, 11:18 PM
    4. [Help] Calculating angle to enemy
      By [GH]Rake in forum Hacking Help
      Replies: 4
      Last Post: 12-09-2014, 09:44 PM
    5. Making an aimbot and calculating coordinates
      By Jabberwock in forum Hacking Help
      Replies: 11
      Last Post: 10-09-2012, 09:17 AM