VisualBasic unerklärliche Exception bei Debug/Programmstart

drdoctor

Ensign
Registriert
Feb. 2009
Beiträge
213
Moin,

seit kurzem kann ich unter Visual Basic 2010 Express keine Programme mehr starten.

Selbst ein leerer Formular bricht mit einer Fehlermeldung "Exception.InnerException. Fehler: Eine externe Komponente hat eine Ausnahme ausgelöst.." ab.

Ich habe schon VB und die Hilfe etc neu installiert, leider hat dies nicht geholfen.

Die Daten unten kann man aus dem Dialog der Fehlermeldung kopieren.

Vielleicht hat jemand eine gute Idee....

Danke und schöne Weihnachten!

Doc
==================

System.InvalidOperationException wurde nicht behandelt.
Message=Fehler beim Erstellen des Formulars. Weitere Informationen finden Sie in Exception.InnerException. Fehler: Eine externe Komponente hat eine Ausnahme ausgelöst..
Source=WindowsApplication1
StackTrace:
bei WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T Instance) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 190.
bei WindowsApplication1.My.MyProject.MyForms.get_Form1()
bei WindowsApplication1.My.MyApplication.OnCreateMainForm() in C:\Dokumente und Einstellungen\lsy\Lokale Einstellungen\Anwendungsdaten\Temporary Projects\WindowsApplication1\My Project\Application.Designer.vb:Zeile 35.
bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
bei Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[] commandLine)
bei WindowsApplication1.My.MyApplication.Main(String[] Args) in 17d14f5c-a337-4978-8281-53493378c1071.vb:Zeile 81.
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: System.Runtime.InteropServices.SEHException
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.GetDefaultFontHandleWrapper()
bei System.Windows.Forms.Control.get_FontHandle()
bei System.Windows.Forms.ContainerControl.GetFontAutoScaleDimensions()
bei System.Windows.Forms.ContainerControl.get_CurrentAutoScaleDimensions()
bei System.Windows.Forms.ContainerControl.get_AutoScaleFactor()
bei System.Windows.Forms.ContainerControl.PerformAutoScale(Boolean includedBounds, Boolean excludedBounds)
bei System.Windows.Forms.ContainerControl.PerformNeededAutoScaleOnLayout()
bei System.Windows.Forms.Form.OnLayout(LayoutEventArgs levent)
bei System.Windows.Forms.Control.PerformLayout(LayoutEventArgs args)
bei System.Windows.Forms.Control.System.Windows.Forms.Layout.IArrangedElement.PerformLayout(IArrangedElement affectedElement, String affectedProperty)
bei System.Windows.Forms.ContainerControl.LayoutScalingNeeded()
bei System.Windows.Forms.ContainerControl.set_AutoScaleMode(AutoScaleMode value)
bei WindowsApplication1.Form1.InitializeComponent() in C:\Dokumente und Einstellungen\lsy\Lokale Einstellungen\Anwendungsdaten\Temporary Projects\WindowsApplication1\Form1.Designer.vb:Zeile 26.
bei WindowsApplication1.Form1..ctor()
InnerException:
 
Hallo Inteller,

vielen Dank für die schnelle Antwort!!!

Genau das war's, jetzt läuft alles wieder. :)

Schöne Feiertage!

Gruß
Doc
 

Ähnliche Themen

Zurück
Oben