![]() |
|
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
Newbie
Join Date: Feb 2005
Posts: 2
Rep Power: 0
![]() |
best method of starting another program?
Hi, im new here and I have a question.
I'm trying to make a gui in vb6 that will pass parameters to an external program. I've read that you can do that it can be done with Shell(), ShellExecute() or ShellExecuteEx() but I don't know which way would be best to do this. Maybe there's a better way than those? The programs (there's 3) that I am trying to send these parameters to are called vbsp.exe, vvis.exe, and vrad.exe. If anyone plays hl2 and maps for it you'd recognize these programs. What they do is build the level and compile it into a .bsp file that you play the game with. Anyway, the way you run these programs is like this: (I'll use vbsp.exe for the example) vbsp [options...] mapfile Where [options] are the parameters and mapfile is a .vmf file. Which way is would be best to run the program and give it the parameters a user would select? Thanks for anyhelp. |
|
|
|
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|