Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Command to execute external DOS or Windows Program
Message
From
13/12/2001 12:39:41
 
 
To
13/12/2001 11:24:48
General information
Forum:
Visual Basic
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00593879
Message ID:
00593927
Views:
13
>Hi,
>
>I am new to Visual Basic Programming. Can anyone please tell me what is the command or statement to execute the external DOS or Windows executable programs (like RUN command in FOXPRO)?
>
>TIA.
>Bal Singh

You can use Shell for that. Example:
Shell App.Path & "\myexternal.exe", vbNormalFocus
There is also a ShellExecute API that is a bit more coding to implement and it's not part of VB per se. HTH
Previous
Reply
Map
View

Click here to load this message in the networking platform