Quote:
Originally Posted by Zounia
Don't know if this will help ya Taco, as I code in VB6 still
But the code below is what I use to Launch the game without the LP in a program I have written.
Private Sub cmdLaunchGame_Click()
Dim retValue As Long
Dim hwnd As Long
Dim strFileName As String
strFileName = "C:\Program Files\Sony\EverQuest II\EverQuest2.exe"
retValue = ShellExecute(Me.hwnd, "Open", strFileName, "", "C:\Program Files\Sony\EverQuest II\", SW_SHOWNORMAL)
Debug.Print retValue
Me.WindowState = vbMinimized
End Sub
It uses a windows API call.
Z
|
THAT looks familiar, sort of. I'm guessing this is VB before the .net stuff, eh?