View Single Post
  #10  
Unread 06-06-2005, 03:35 PM
dc_roenfanz's Avatar
dc_roenfanz dc_roenfanz is offline
A Griffon
Interface Author - Click to view interfaces
 
Join Date: Mar 2005
Server: Unkown
Posts: 588
Default

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?
__________________
Reply With Quote