View Single Post
  #8  
Unread 06-06-2005, 02:43 PM
Zounia Zounia is offline
A Grove Wisp
 
Join Date: Jan 2005
Server: Lucan DLere
Posts: 26
Default

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