Welcome to Dream.In.Code
Getting VB Help is Easy!

Join 136,300 VB Programmers for FREE! Get instant access to thousands of VB experts, tutorials, code snippets, and more! There are 2,462 people online right now. Registration is fast and FREE... Join Now!




Launching Executables from VB

 
Reply to this topicStart new topic

Launching Executables from VB, How to Launch Various Executables from VB

Shaboinka86
3 Sep, 2008 - 06:08 PM
Post #1

New D.I.C Head
*

Joined: 3 Sep, 2008
Posts: 2

Hey guys i want to create a program that will allow me to launch various emulators. I am creating an Arcade cabinet and would like to use a single program to launch the varius emulators. Also is there anyway i can have this program i am creating launch at startup automatically? I know these might be basic question but i have only taken one VB class and we didn't even touch on this kind of stuff. I don't need tons of source code just the basic commands and i will figure it out from there. Thanks in advance!
User is offlineProfile CardPM
+Quote Post

DeCompile
RE: Launching Executables From VB
3 Sep, 2008 - 08:27 PM
Post #2

D.I.C Head
**

Joined: 20 Jul, 2008
Posts: 180



Thanked: 6 times
My Contributions
To have a program start automatically on startup, you can drag a shortcut of the program into the startup folder from your Start Menu.

To run an executable, search up something called Shell.
User is offlineProfile CardPM
+Quote Post

Zigo AlCapone
RE: Launching Executables From VB
3 Sep, 2008 - 09:03 PM
Post #3

New D.I.C Head
*

Joined: 1 Sep, 2008
Posts: 16


My Contributions
To run an executable, for example
vb

Private Sub Command1_Click()
Shell "D:\dotNet\dotNet 2005\Ascii\bin\Ascii.exe", vbNormalFocus
End Sub

User is offlineProfile CardPM
+Quote Post

Shaboinka86
RE: Launching Executables From VB
4 Sep, 2008 - 10:46 AM
Post #4

New D.I.C Head
*

Joined: 3 Sep, 2008
Posts: 2

Perfect, thanks guys!
User is offlineProfile CardPM
+Quote Post

Zigo AlCapone
RE: Launching Executables From VB
4 Sep, 2008 - 08:05 PM
Post #5

New D.I.C Head
*

Joined: 1 Sep, 2008
Posts: 16


My Contributions
u're welcomes

User is offlineProfile CardPM
+Quote Post

Fast ReplyReply to this topicStart new topic
Time is now: 12/2/08 06:23AM

Live VB Help!

VB Tutorials

Reference Sheets

VB Snippets

DIC Chatroom

Bye Bye Ads

Monthly Drawing

Thumb Drive

Top Contributors

Top 10 Kudos This Month