| View previous topic :: View next topic |
| Author |
Message |
StaRbUck42 Admirable

Joined: 23 Feb 2004 Posts: 484 Location: Somewhere on a small blue planet on the edge of a small galaxy that's a part of an infinite universe
|
Posted: Mon Aug 21, 2006 9:29 am Post subject: VB help |
|
|
anyone know how to run a command (like C:\folder\aProgram.exe -arg) in visual basic? in C++ it was something like System("cmd"), but where is it in VB? _________________ "I love deadlines, I love the whooshing noise they make as they go by"
-Douglass Adams
"God help us, we're in the hands of engineers."
--Ian Malcolm, Jurassic Park
|
|
| Back to top |
|
 |
bluesky74656 Site Admin

Joined: 18 Dec 2004 Posts: 931 Location: Terra Atlantus
|
|
| Back to top |
|
 |
StaRbUck42 Admirable

Joined: 23 Feb 2004 Posts: 484 Location: Somewhere on a small blue planet on the edge of a small galaxy that's a part of an infinite universe
|
Posted: Mon Aug 21, 2006 10:07 am Post subject: |
|
|
odd...for some reason i never thought to actually do a search for it _________________ "I love deadlines, I love the whooshing noise they make as they go by"
-Douglass Adams
"God help us, we're in the hands of engineers."
--Ian Malcolm, Jurassic Park
|
|
| Back to top |
|
 |
quark_m13 uber-geek

Joined: 30 Apr 2003 Posts: 2262 Location: 41
|
Posted: Mon Aug 21, 2006 10:24 am Post subject: |
|
|
Its really really simple: (in VB6)
| Code: |
Shell "C:\Windows\system32\calc.exe"
|
NOTE: this is non-blocking, it wont wait for the command to finish, if you want a blocking version you have to use the windows api _________________ ミュ |
|
| Back to top |
|
 |
|