| Forum Home | ||||
| Press F1 | ||||
| Thread ID: 115372 | 2011-01-15 23:56:00 | Age Of Empires 2 And Visual Basic Trouble | icow (15313) | Press F1 |
| Post ID | Timestamp | Content | User | ||
| 1169954 | 2011-01-15 23:56:00 | I'm writing a program that should (hopefully) fix the lack of compatibility (gfx wise) Age Of Empires 2 has with Windows 7 & 64bit OS's. However upon launching the game (expansion) the screen flashes black twice and the game doesn't load. The standard version of the game sheds a little more ligth by giving the error described here (www.eggheadcafe.com) (minus the xp part). The way I'm starting the game is through launching the Age2_x1 process that you see in task manager. I'm assuming it doesn't work because aoe2 needs more processes than age2_x1.exe but I can't work out what processes it needs. Code: Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim OpenFileDialog1 As New OpenFileDialog OpenFileDialog1.Title = "Please Select Your Age Of Empires Age2_x1.exe File" OpenFileDialog1.InitialDirectory = "C:temp" OpenFileDialog1.ShowDialog() OpenFileDialog1.OpenFile() Process.Start(OpenFileDialog1.FileName) Dim MyProcess() As Process = System.Diagnostics.Process.GetProcessesByName("explorer") For Each myKill As Process In MyProcess myKill.Kill() Next End Sub Any help appreciated :) BTW is there a more generic open function instead of starting a process? e.g. the same as when you double click the icon. |
icow (15313) | ||
| 1169955 | 2011-01-16 18:12:00 | Kill the explorer.exe process and the game runs great, even on the latest and greatest... :pf1mobmini: |
Chilling_Silence (9) | ||
| 1 | |||||