Thread: VB.net Help

Results 1 to 14 of 14
  1. #1
    Minnesota Dabs's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    VOTE TRUMP
    Posts
    4,209
    Reputation
    615
    Thanks
    1,069
    My Mood
    Relaxed

    VB.net Help

    I get this error,

    An unhandled exception of type 'System.InvalidCastException' occurred in Microsoft.VisualBasic.dll

    Additional information: Conversion from string "Soldier2" to type 'Double' is not valid.



    When using this,

    ElseIf InfluenceComboBox2.Text - "Soldier2" Then
    WriteMemory(Of Byte)(CLng(&H1444CC770), 1)



    I have gone over it many, many times. I've looked at it, and google for the past 2 hours. I need help, could someone point me in the right way
    Successful Trades: 52

    Scammed Trades: 6

    Vouch Profile!



    Consider donating to my PayPal!

  2. #2
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,430
    Reputation
    611
    Thanks
    9,720
    My Mood
    Cheerful
    From when does - equal = ?

  3. #3
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    560
    My Mood
    Cynical
    yea lol

    InfluenceComboBox2.Text == "Soldier2" Then
    FBI got my PC...Hardcore cheating is paused atm..

  4. The Following User Says Thank You to distiny For This Useful Post:

    SammyDoge1 (01-19-2014)

  5. #4
    SammyDoge1's Avatar
    Join Date
    Apr 2009
    Gender
    male
    Location
    Tried looking behind you...?
    Posts
    2,179
    Reputation
    59
    Thanks
    2,087
    My Mood
    Tired
    This is what i have try converting it with some converter If possible?
    Code:
     if (ghostComboBox1.Text == "Soldier1")
                        {
                            ghost.WriteInteger(0x1444CC517, Convert.ToInt32(textBox2.Text));
                        }





  6. #5
    Minnesota Dabs's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    VOTE TRUMP
    Posts
    4,209
    Reputation
    615
    Thanks
    1,069
    My Mood
    Relaxed
    Quote Originally Posted by Lovroman View Post
    From when does - equal = ?
    My fucking god. Thank you sammy, It appears I made a simple spelling mistake.
    Successful Trades: 52

    Scammed Trades: 6

    Vouch Profile!



    Consider donating to my PayPal!

  7. #6
    Minnesota Dabs's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    VOTE TRUMP
    Posts
    4,209
    Reputation
    615
    Thanks
    1,069
    My Mood
    Relaxed
    Quote Originally Posted by distiny View Post
    yea lol

    InfluenceComboBox2.Text == "Soldier2" Then
    It doesn't work.
    Successful Trades: 52

    Scammed Trades: 6

    Vouch Profile!



    Consider donating to my PayPal!

  8. #7
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    560
    My Mood
    Cynical
    Quote Originally Posted by BlueTreesTV View Post


    It doesn't work.
    apparently in vb it's
    Code:
    If InfluenceComboBox2.Text = "Soldier2" Then
    FBI got my PC...Hardcore cheating is paused atm..

  9. #8
    Minnesota Dabs's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    VOTE TRUMP
    Posts
    4,209
    Reputation
    615
    Thanks
    1,069
    My Mood
    Relaxed
    Quote Originally Posted by distiny View Post
    apparently in vb it's
    Code:
    If InfluenceComboBox2.Text = "Soldier2" Then
    Okay so I get no error, but my camos don't change.


    I've tried using some code from my other camo changer, still didn't work.


    Any ideas?
    Successful Trades: 52

    Scammed Trades: 6

    Vouch Profile!



    Consider donating to my PayPal!

  10. #9
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    560
    My Mood
    Cynical
    not without more code to look at lol, It's like showing a tit and wondering why you don't have a boner yet..
    FBI got my PC...Hardcore cheating is paused atm..

  11. The Following User Says Thank You to distiny For This Useful Post:

    SammyDoge1 (01-20-2014)

  12. #10
    Minnesota Dabs's Avatar
    Join Date
    Nov 2013
    Gender
    male
    Location
    VOTE TRUMP
    Posts
    4,209
    Reputation
    615
    Thanks
    1,069
    My Mood
    Relaxed
    Quote Originally Posted by distiny View Post
    not without more code to look at lol, It's like showing a tit and wondering why you don't have a boner yet..
    If InfluenceComboBox2.SelectedIndex = "Soldier1" Then
    WriteMemory(Of Byte)(CLng(&H1444CC20C), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier2" Then
    WriteMemory(Of Byte)(CLng(&H1444CC770), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier3" Then
    WriteMemory(Of Byte)(CLng(&H1444CCCD4), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier4" Then
    WriteMemory(Of Byte)(CLng(&H1444CD223), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier5" Then
    WriteMemory(Of Byte)(CLng(&H1444CD787), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier6" Then
    WriteMemory(Of Byte)(CLng(&H1444CDCEB), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier7" Then
    WriteMemory(Of Byte)(CLng(&H1444CE24F), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier8" Then
    WriteMemory(Of Byte)(CLng(&H1444CE7B3), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier9" Then
    WriteMemory(Of Byte)(CLng(&H1444CED17), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier10" Then
    WriteMemory(Of Byte)(CLng(&H1444CF27B), 1)
    End If
    Successful Trades: 52

    Scammed Trades: 6

    Vouch Profile!



    Consider donating to my PayPal!

  13. #11
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,430
    Reputation
    611
    Thanks
    9,720
    My Mood
    Cheerful
    Quote Originally Posted by BlueTreesTV View Post


    If InfluenceComboBox2.SelectedIndex = "Soldier1" Then
    WriteMemory(Of Byte)(CLng(&H1444CC20C), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier2" Then
    WriteMemory(Of Byte)(CLng(&H1444CC770), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier3" Then
    WriteMemory(Of Byte)(CLng(&H1444CCCD4), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier4" Then
    WriteMemory(Of Byte)(CLng(&H1444CD223), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier5" Then
    WriteMemory(Of Byte)(CLng(&H1444CD787), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier6" Then
    WriteMemory(Of Byte)(CLng(&H1444CDCEB), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier7" Then
    WriteMemory(Of Byte)(CLng(&H1444CE24F), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier8" Then
    WriteMemory(Of Byte)(CLng(&H1444CE7B3), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier9" Then
    WriteMemory(Of Byte)(CLng(&H1444CED17), 1)
    ElseIf InfluenceComboBox2.Text = "Soldier10" Then
    WriteMemory(Of Byte)(CLng(&H1444CF27B), 1)
    End If
    SelectedIndex = Text ? SelectedIndex is int.

  14. #12
    distiny's Avatar
    Join Date
    Mar 2011
    Gender
    male
    Posts
    560
    Reputation
    67
    Thanks
    560
    My Mood
    Cynical
    I believe in vb it's

    Code:
    If InfluenceComboBox2.SelectedItem = "Soldier1" Then
    Last edited by Lovroman; 01-21-2014 at 05:16 AM. Reason: [/CODE]*
    FBI got my PC...Hardcore cheating is paused atm..

  15. #13
    KingX735's Avatar
    Join Date
    Nov 2012
    Gender
    male
    Location
    New Point(22, 4)
    Posts
    589
    Reputation
    36
    Thanks
    4,318
    My Mood
    Cheerful
    No, here is the right code

    Code:
    If InfluenceComboBox2.Text = "Soldier1" Then
    'Do stuff
    ElseIf InfluenceComboBox2.Text = "Soldier2" Then
    'Do stuff
    
    '.....
    
    End If

  16. #14
    Lovroman's Avatar
    Join Date
    Sep 2012
    Gender
    male
    Posts
    9,430
    Reputation
    611
    Thanks
    9,720
    My Mood
    Cheerful
    Quote Originally Posted by KingX735 View Post
    No, here is the right code

    Code:
    If InfluenceComboBox2.Text = "Soldier1" Then
    'Do stuff
    ElseIf InfluenceComboBox2.Text = "Soldier2" Then
    'Do stuff
    
    '.....
    
    End If
    W/e, it's still a complicated way.

Similar Threads

  1. net help
    By Delko DJ in forum General
    Replies: 4
    Last Post: 09-15-2011, 02:25 PM
  2. [Help] PAINT.NET HELP
    By kkratos1 in forum Combat Arms Mods & Rez Modding
    Replies: 7
    Last Post: 03-09-2011, 06:20 PM
  3. MPGH.NET [HELP SERVICE]
    By Pod11 in forum Suggestions, Requests & Help
    Replies: 7
    Last Post: 02-23-2011, 01:11 AM
  4. [SOLVED]alteriw net(help)
    By yaskie in forum Call of Duty Modern Warfare 2 Help
    Replies: 2
    Last Post: 08-24-2010, 02:37 AM
  5. VB.net help (must see)
    By dezer in forum WarRock - International Hacks
    Replies: 6
    Last Post: 07-06-2007, 12:06 PM