| View previous topic :: View next topic |
| Author |
Message |
Snipe Guest
|
Posted: Tue Apr 19, 2005 3:20 pm Post subject: Help with Vb (if anyone knows) |
|
|
hi all
i know this is nothing to do with ahk but, just wondering if anyone has an idea as to how to run a program/file in vb? like in a command button or something any help would be much appreicitaed thx.
) |
|
| Back to top |
|
 |
MYYM
Joined: 05 Apr 2005 Posts: 133
|
Posted: Tue Apr 19, 2005 4:20 pm Post subject: |
|
|
| Quote: | | how to run a program/file in vb? |
Shell Function
Runs an executable program.
Syntax
Shell( pathname [ , windowstyle ] )
Example
| Code: | | x = Shell( "C:\WINDOWS\CALC.EXE" , 1 ) ' Run Calculator. |
MYYM |
|
| Back to top |
|
 |
RG
Joined: 09 Feb 2005 Posts: 17 Location: United States
|
Posted: Sun May 01, 2005 3:18 am Post subject: ShellExecute |
|
|
Use the ShellExecute (ShellExecuteEx) Windows API functions for added power. See your API Text Viewer for the complete declaration. _________________ RG |
|
| Back to top |
|
 |
|