I want to open a game stored on C\:game folder\game.ext (for the sake of argument) when a user clicks on a control.... can anyone tell me how??
Printable View
I want to open a game stored on C\:game folder\game.ext (for the sake of argument) when a user clicks on a control.... can anyone tell me how??
open a new form add a button and add the below to the button run the program andit should work
[code]
Dim shellProgram As String
Dim res
shellProgram = “c:\put file name in here"
res = Shell(shellProgram,vbNormalFocus)
End Sub
substitute in the " c:\put file name here" for the exe file that you want to run the game file
good luck
:)