|
-
Aug 8th, 2000, 11:54 AM
#1
Thread Starter
Addicted Member
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.
-
Aug 8th, 2000, 12:26 PM
#2
This should work:
Code:
Shell "app.exe -game cstrike +connect 127.0.0.1:27025", vbNormalFocus
-
Aug 8th, 2000, 12:37 PM
#3
Thread Starter
Addicted Member
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"
-
Aug 8th, 2000, 12:54 PM
#4
Code:
Shell "hl.exe -game cstrike +connect 127.0.0.1:" & Label1.caption, vbNormalFocus
-
Aug 8th, 2000, 01:09 PM
#5
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|