Click to See Complete Forum and Search --> : huh?
Coolone770
Nov 18th, 2001, 03:48 AM
what api functions do i need in the module to run this
ShellExecute Me.hwnd, "open", InstallationPath$ & "\RainbowSix.exe", 0&, InstallationPath$, SW_SHOWNORMAL
AngelFire
Nov 18th, 2001, 05:02 AM
what do you mean?
it just ShellExecute itself.
Public Declare Function ShellExecute Lib "shell32.dll" Alias "ShellExecuteA" (ByVal hwnd As Long, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Long) As Long
da_silvy
Nov 18th, 2001, 06:25 AM
Do you have the Api Viewer that comes with VB?
that is handy ;)
jim mcnamara
Nov 18th, 2001, 03:54 PM
Download a really good, free apiviewer & api-guide at
www.allapi.net
Coolone770
Nov 19th, 2001, 09:33 AM
yes i do have the api viewer
Hack
Nov 19th, 2001, 11:36 AM
You didn't say whether your question was answered. Is it?
Coolone770
Nov 19th, 2001, 02:44 PM
it doesnt work im trying to open rainbow six a game that goes full screen but when i put that code in nothin happens
jim mcnamara
Nov 19th, 2001, 02:51 PM
I don't know anything about your .EXE. Next Step:
Check the Desktop shortcut to see if it requires some command line parameters to work.
vbforums.com
Copyright Internet.com Inc., All Rights Reserved.