You only needed less than one line of that code...It was proof that it isnt halo.exe ...Thats for seeing if Halo is running when it starts up... you can edit that to make it for you, thats why coding owns, its adaptable
Private Sub Form_Load()
graphscale = 75
hWndConsole = HaloMemory.FindWindow(vbNullString, "Halo Console (1)")
HaloMemory.GetWindowThreadProcessId hWndConsole, pID
cboplayers.ListIndex = 0
End Sub
It is Halo.exe. What you're doing there is getting the Window Handle by specifying the window's class name, which in this case is Halo Console (1). In that code you're not even launching Halo. You're assuming Halo has already been started and you're getting the process ID.
My first program was one were I put buttons that was connected to all my Halo stuff...Like I made a button and coded it so when I pressed it like HMT loaded and things like that.
I wanted to add a box so you could put where the programs are...That code up there should help you.
Yea that should work, you might still need to change the working directory before using Shell though. Halo tries to read its config file and if you don't change the working directory to the Halo directory, it won't be able to find it and therefore _might_ not run at all.