exiter28
Erfahrenes Mitglied
![Frown :( :(](https://cdn.jsdelivr.net/joypixels/assets/8.0/png/unicode/64/1f641.png)
Hallo,
vielleicht kann mir einer von Euch weiterhelfen.
Aus heiterem Himmel bekomm ich plötzlich den Fehler "SEHException wurde nicht behandelt"
ich habe mal den ges. Text in die Zwischenablage kopiert:
Code:
System.Runtime.InteropServices.SEHException wurde nicht behandelt.
Message=Eine externe Komponente hat eine Ausnahme ausgelöst.
Source=System.Drawing
ErrorCode=-2147467259
StackTrace:
bei System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFromLogfontW(HandleRef hdc, Object lf, IntPtr& font)
bei System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
bei System.Drawing.Font.FromHfont(IntPtr hfont)
bei System.Drawing.SystemFonts.get_DefaultFont()
bei System.Windows.Forms.Control.get_DefaultFont()
bei System.Windows.Forms.Control.get_Font()
bei System.Windows.Forms.Control.AssignParent(Control value)
bei System.Windows.Forms.Control.ControlCollection.Add(Control value)
bei System.Windows.Forms.Form.ControlCollection.Add(Control value)
bei WindowsFormsApplication1.Form1.InitializeComponent() in H:\C_Projekts_2010\EnCodeDecode_Beispiel\EnCodeDecode_Beispiel\Form1.Designer.cs:Zeile 60.
bei WindowsFormsApplication1.Form1..ctor() in H:\C_Projekts_2010\EnCodeDecode_Beispiel\EnCodeDecode_Beispiel\Form1.cs:Zeile 16.
bei WindowsFormsApplication1.Program.Main() in H:\C_Projekts_2010\EnCodeDecode_Beispiel\EnCodeDecode_Beispiel\Program.cs:Zeile 18.
bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args)
bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args)
bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
bei System.Threading.ThreadHelper.ThreadStart_Context(Object state)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean ignoreSyncCtx)
bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
bei System.Threading.ThreadHelper.ThreadStart()
InnerException:
Hat einer eine Idee was das sein könnte?
Wenn ich die .exe direkt starte, funktioiniert alles. Nur im Debug-Modus da kommt die
Fehlermeldung....
Danke für Eure Hilfe!