CMD Command with TextBoxX.Text

Discussion in 'Programming General' started by mercatres, Dec 21, 2009.

CMD Command with TextBoxX.Text
  1. Unread #1 - Dec 21, 2009 at 6:43 AM
  2. mercatres
    Joined:
    Mar 2, 2008
    Posts:
    719
    Referrals:
    1
    Sythe Gold:
    0

    mercatres Apprentice
    Banned

    CMD Command with TextBoxX.Text

    Hey I'm making a tool that encrypts URL's, now I try to make a small form to get the IP from an URL, I tried CMD,



    Button1_Click
    Code:
    Shell("CMD.exe")
    SendKeys.Send("nslookup" + TextBox1.Text)
    SendKeys.Send("{ENTER}")
    or

    Code:
    Shell("CMD.exe /k nslookup" + TextBox1.Text)
    Both faild, TextBox1.Text is the URL btw...


    Any ideas?
     
  3. Unread #2 - Dec 21, 2009 at 1:48 PM
  4. Flaming Idiots
    Joined:
    Dec 22, 2005
    Posts:
    235
    Referrals:
    1
    Sythe Gold:
    0
    Two Factor Authentication User

    Flaming Idiots Active Member
    Visual Basic Programmers

    CMD Command with TextBoxX.Text

  5. Unread #3 - Dec 21, 2009 at 2:11 PM
  6. mercatres
    Joined:
    Mar 2, 2008
    Posts:
    719
    Referrals:
    1
    Sythe Gold:
    0

    mercatres Apprentice
    Banned

    CMD Command with TextBoxX.Text

< Searching a String | Mouse Movement >

Users viewing this thread
1 guest


 
 
Adblock breaks this site