KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I have a vs2010 c# solution that was working fine yesterday. When I try and run a debug instance today I keep getting an SEHException was unhandled. This error is being thrown in the InitializeComponent method of the startup form. Any Ideas? Here's the stacktrace: System.Runtime.InteropServices.SEHException was unhandled Message=External component has thrown an exception. Source=System.Drawing ErrorCode=-2147467259 StackTrace: at System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFromLogfontW(HandleRef hdc, Object lf, IntPtr& font) at System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc) at System.Drawing.Font.FromHfont(IntPtr hfont) at System.Drawing.SystemFonts.get_DefaultFont() at System.Windows.Forms.Control.get_DefaultFont() at System.Windows.Forms.Control.GetDefaultFontHandleWrapper() at System.Windows.Forms.Control.get_FontHandle() at System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions() at System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions() at System.Windows.Forms.ContainerControl.get_AutoScaleFactor() at System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds) at System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout() at System.Windows.Forms.Form.OnLayout(LayoutEventArgs levent) at System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args) at System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty) at System.Windows.Forms.ContainerControl.LayoutScalingNeeded() at System.Windows.Forms.ContainerControl.set_AutoScaleMode(AutoScaleMode value) at FirstWindow.Form1.InitializeComponent() in C:\Users\Ash\Documents\Visual Studio 2010\Projects\FrameworkClientV2 - No
Tags (comma-separated)
Save Edits
Cancel