Reply To: ghostriderofthenite Ultimate Bot project


found this thread i’ll try latter fix the games not loading see if works
This will open it in the default browser… so if the person didn’t have firefox, it would still work.

Well, you need to set this function:
Declare Function ShellExecute Lib “shell32.dll” Alias “ShellExecuteA” (ByVal hwnd As IntPtr, ByVal lpOperation As String, ByVal lpFile As String, ByVal lpParameters As String, ByVal lpDirectory As String, ByVal nShowCmd As Integer) As Integer

then you put this under a button command or whatever you need:
ShellExecute(Nothing, “open”, “”, “”, “”, AppWinStyle.NormalFocus)