|
-
Feb 15th, 2000, 08:04 AM
#1
Thread Starter
New Member
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??
-
Feb 15th, 2000, 08:29 AM
#2
Lively Member
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

Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|