VB Question

Discussion in 'Computing, Science, and Technology' started by Steaps, Oct 10, 2008.

  1. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    Question 1:
    Alright so i have a text box and a button.
    When i click the button i want it to add the text in the text box, into the middle of a shell command. I.e. Text box say iPod Touch Fans, i want the shell command to be, "Shell("I visit iPod Touch Fans a lot") (Haha example). Any help? This is my third day actually using Visual Basic.

    Question 2:
    How would i run 4 command prompt scripts from VB, that all appear in the same command window?
    Shell("cmd.exe google")
    Shell("cmd.exe google")
    Shell("cmd.exe google")
    Shell("cmd.exe exit")
    That opens 4 command prompt windows. I need it to be all in the same window.
    Thank you.
  2. Jikoo

    Jikoo New Member

    Joined:
    Apr 5, 2008
    Messages:
    1,014
    Likes Received:
    0
  3. simonrichards150

    simonrichards150 New Member

    Joined:
    Oct 29, 2007
    Messages:
    2,058
    Likes Received:
    94
    Device:
    iPod touch
    Lol.

    PM me for my MSN, and some actual useful help.

    EDIT: So here is the solution:

    Put this in the Button sub:

    Code:
    Shell("net user " & username.Text & " " & password.Text, AppWinStyle.NormalFocus, True, )
  4. Steaps

    Steaps New Member

    Joined:
    Oct 24, 2007
    Messages:
    5,074
    Likes Received:
    41
    Device:
    iPod touch
    Not sure if anyone wants it, and i don't want to be one of those annoying thread makers everytime i make a new application, that usually sucks.
    But here is the application:

    Password Changer - Change A Password Without Knowing The Original!
    Type the Username of the users password you wish to change.
    Type the New Password you wish to change it to.
    Press "Change Password!"
    http://files.filefront.com/Password Changerrar/;12029400;/fileinfo.html

    Please Register or Log in to view images

    Please Register or Log in to view images

Share This Page