|
-
Aug 28th, 2001, 11:34 PM
#1
Thread Starter
Lively Member
Problems with Shell & ShellExecute...
Ok, I'm trying to launch the rainbow six game, buy running the rainbowsix.exe file.....
Call ShellExecute(Me.hwnd, "open", "C:\Program Files\Red Storm Entertainment\Tom Clancy's Rainbow Six\RainbowSix.exe", "", "", SW_SHOWNORMAL)
... when i run that code, the computer sounds like its loading it, then just stops, and the game never opens... i have everything declared properly, file path is correct.... game loads if i do it manually threw windows, and ive tried VB's built in Shell function, that produced same results..... so does anyone have any idea why its not working.... it works for other programs.. but not this one..... but i know it can be done... since other programs do it... UGHH, someone pls help
-
Aug 29th, 2001, 06:25 AM
#2
Try setting a working directory:
Call ShellExecute(Me.hwnd, "open", "C:\Program Files\Red Storm Entertainment\Tom Clancy's Rainbow Six\RainbowSix.exe", "", "C:\Program Files\Red Storm Entertainment\Tom Clancy's Rainbow Six", SW_SHOWNORMAL)
-
Aug 29th, 2001, 05:47 PM
#3
Thread Starter
Lively Member
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
|