Results 1 to 5 of 5

Thread: Executing an application

  1. #1

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

    Post

    I need help on executing an application with a commandline. The commandline is like this: -game cstrike +connect 127.0.0.1:27025 where the port (currently 27025) is modified by the user. Could someone please help me code this.
    Thankz,
    WAcKeD

  2. #2
    Guest
    This should work:

    Code:
    Shell "app.exe -game cstrike +connect 127.0.0.1:27025", vbNormalFocus

  3. #3

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

    Question Other problem

    That does work, but I also need the port (27025) to change by label1. So if label1 was 27020 then it would load like this "hl.exe -game cstrike +connect 127.0.0.1:27020"
    Thankz,
    WAcKeD

  4. #4
    Guest
    Code:
    Shell "hl.exe -game cstrike +connect 127.0.0.1:" & Label1.caption, vbNormalFocus

  5. #5

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

    Smile

    Thank you a whole bunch!
    Thankz,
    WAcKeD

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