Results 1 to 5 of 5

Thread: Loading an app with a command line

  1. #1

    Thread Starter
    Addicted Member WAcKeD's Avatar
    Join Date
    Aug 2000
    Posts
    211

    Exclamation

    How would I load an app with a command line of:

    -game cstrike +connect 127.0.0.1:_____ +password ____

    Where the two blanx are I want customized by the user. Then when they push the submit button it will load the application with the user modified commandline. How would I do that?
    Thankz,
    WAcKeD

  2. #2

    Thread Starter
    Addicted Member WAcKeD's Avatar
    Join Date
    Aug 2000
    Posts
    211

    whoops!

    The user customizes the commandline using textboxes!
    Thankz,
    WAcKeD

  3. #3
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Hehe. You playing Half-Life, then?

    Use:
    Code:
    Shell "c:\sierra\half-life\hl.exe -game cstrike +connect 127.0.0.1:" & txtPort.Text & " +password " & txtPass.Text
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  4. #4

    Thread Starter
    Addicted Member WAcKeD's Avatar
    Join Date
    Aug 2000
    Posts
    211

    Talking I love Half-Life

    Yes it's for the half-life mod counter-strike. Its one of the best games of all time!!! Thanx for the code man.
    Thankz,
    WAcKeD

  5. #5
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169

    Thumbs up Me too

    I bought HL:Opposing Force yesterday, and was not disappointed
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width