Results 1 to 8 of 8

Thread: huh?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Posts
    154

    huh?

    what api functions do i need in the module to run this

    ShellExecute Me.hwnd, "open", InstallationPath$ & "\RainbowSix.exe", 0&, InstallationPath$, SW_SHOWNORMAL

  2. #2
    AngelFire
    Guest

    Hmm

    what do you mean?

    it just ShellExecute itself.

    VB Code:
    1. 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

  3. #3
    Conquistador
    Join Date
    Dec 1999
    Location
    Australia
    Posts
    4,527
    Do you have the Api Viewer that comes with VB?

    that is handy

  4. #4
    jim mcnamara
    Guest
    Download a really good, free apiviewer & api-guide at

    www.allapi.net

  5. #5

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Posts
    154
    yes i do have the api viewer

  6. #6
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333
    You didn't say whether your question was answered. Is it?

  7. #7

    Thread Starter
    Addicted Member
    Join Date
    Nov 2001
    Posts
    154

    well no

    it doesnt work im trying to open rainbow six a game that goes full screen but when i put that code in nothin happens

  8. #8
    jim mcnamara
    Guest
    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width