Hi! I know there are a lot of these startup error topics, and mine is no exception! So forts of all, I have all the required stuff installed (as far as I know) and I'm still getting an error.
I'm including my unhandlederrors.txt file for reference, please note that there are a lot of logged messages, that was when I forgot to install the SlimDX thing, but just look at the last two error logs, which I will also include in my post:
9/1/2009 8:33:24 PM
-----------------------------------Application_ThreadException-----------------------------------System.TypeInitializationException: The type initializer for 'AIWar.Windows.FindLANGames' threw an exception. ---> System.ArgumentException: Font 'Arial' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet)
at AIWar.Windows.FindLANGames.InitializeComponent() in C:\vcprojs\AIWar\Windows\FindLANGames.Designer.cs:line 85
at AIWar.Windows.FindLANGames..ctor() in C:\vcprojs\AIWar\Windows\FindLANGames.cs:line 17
at AIWar.Windows.FindLANGames..cctor() in C:\vcprojs\AIWar\Windows\FindLANGames.cs:line 13
--- End of inner exception stack trace ---
at AIWar.GameForm.HideAllWindows() in C:\vcprojs\AIWar\GameFormParts\GameLoop.cs:line 153
at AIWar.GameForm.GameForm_Load(Object sender, EventArgs e) in C:\vcprojs\AIWar\GameFormParts\Startup.cs:line 107
at System.Windows.Forms.Form.OnLoad(EventArgs e)
at System.Windows.Forms.Form.OnCreateControl()
at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)
at System.Windows.Forms.Control.CreateControl()
at System.Windows.Forms.Control.WmShowWindow(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
at System.Windows.Forms.ContainerControl.WndProc(Message& m)
at System.Windows.Forms.Form.WmShowWindow(Message& m)
at System.Windows.Forms.Form.WndProc(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
9/1/2009 8:33:31 PM
-----------------------------------CurrentDomain_UnhandledException-----------------------------------System.TypeInitializationException: The type initializer for 'AIWar.Windows.ModelessConfirm' threw an exception. ---> System.ArgumentException: Font 'Arial' does not support style 'Regular'.
at System.Drawing.Font.CreateNativeFont()
at System.Drawing.Font.Initialize(FontFamily family, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font.Initialize(String familyName, Single emSize, FontStyle style, GraphicsUnit unit, Byte gdiCharSet, Boolean gdiVerticalFont)
at System.Drawing.Font..ctor(String familyName, Single emSize)
at AIWar.Windows.ModelessConfirm.InitializeComponent()
at AIWar.Windows.ModelessConfirm..ctor()
at AIWar.Windows.ModelessConfirm..cctor()
--- End of inner exception stack trace ---
at AIWar.Windows.ModelessConfirm.Dispose(Boolean disposing)
at System.ComponentModel.Component.Finalize()
Hop I can get this all sorted out!