Need help loading a program

ScorpZ
01-11-2004, 03:32 AM
Er... Im new to programming and i can't figure out how to load a program through visual basic i have tried Open "C:\stuff\games\uor\client.exe"
and Load "C:\stuff\games\uor\client.exe"
and Run "C:\stuff\games\uor\client.exe"

Can someone lend me a hand cos its really stopping me from doing stuff

martrinex
01-11-2004, 05:09 AM
You almost got it shell is used for opening exe's if you want to open a non exe just reply and I or someone else will explain how todo that.

Shell "C:\stuff\games\uor\client.exe",1
',1 is for normal load you can change it todo maximised minimised etc.

Hope it helps

reboot
01-11-2004, 05:57 AM
Since you posted this in .Net, I assume you want a .Net solution...

Dim myProcess As Process
myProcess.Start("C:\stuff\games\uor\client.exe")

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum