[.NET] VB2010無法偵錯
請輸入專案類型(網站專案或者應用程式專案):
VB2010
請問我的VB2010突然發生無法偵錯的情況
連開啟一個新的專案,直接按F5都會出現以下錯誤
我把VB2010重灌還是一樣
請問有人知道這該怎麼解決嗎?
感謝!
--
System.InvalidOperationException 未處理
Message=建立表單時發生錯誤。如需詳細資訊,請參閱 Exception.InnerException。
錯誤是: 外部元件傳回例外狀況。
Source=WindowsApplication1
StackTrace:
於 WindowsApplication1.My.MyProject.MyForms.Create__Instance__[T](T
Instance) 於 17d14f5c-a337-4978-8281-53493378c1071.vb: 行 190
於 WindowsApplication1.My.MyProject.MyForms.get_Form1()
於 WindowsApplication1.My.MyApplication.OnCreateMainForm() 於
C:\Documents and Settings\Administrator\Local Settings\Application
Data\Temporary Projects\WindowsApplication1\My
Project\Application.Designer.vb: 行 35
於
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.OnRun()
於
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.DoApplicationModel()
於
Microsoft.VisualBasic.ApplicationServices.WindowsFormsApplicationBase.Run(String[]
commandLine)
於 WindowsApplication1.My.MyApplication.Main(String[] Args) 於
17d14f5c-a337-4978-8281-53493378c1071.vb: 行 81
於 System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly,
String[] args)
於 System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence
assemblySecurity, String[] args)
於 Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly()
於 System.Threading.ThreadHelper.ThreadStart_Context(Object state)
於 System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state, Boolean
ignoreSyncCtx)
於 System.Threading.ExecutionContext.Run(ExecutionContext
executionContext, ContextCallback callback, Object state)
於 System.Threading.ThreadHelper.ThreadStart()
InnerException: System.Runtime.InteropServices.SEHException
Message=外部元件傳回例外狀況。
Source=System.Drawing
ErrorCode=-2147467259
StackTrace:
於
System.Drawing.SafeNativeMethods.Gdip.GdipCreateFontFromLogfontW(HandleRef
hdc, Object lf, IntPtr& font)
於 System.Drawing.Font.FromLogFont(Object lf, IntPtr hdc)
於 System.Drawing.Font.FromHfont(IntPtr hfont)
於 System.Drawing.SystemFonts.get_DefaultFont()
於 System.Windows.Forms.Control.get_DefaultFont()
於 System.Windows.Forms.Control.get_Font()
於 System.Windows.Forms.Control.get_FontHeight()
於 System.Windows.Forms.TextBoxBase.get_PreferredHeight()
於 System.Windows.Forms.TextBoxBase.get_DefaultSize()
於 System.Windows.Forms.Control..ctor(Boolean
autoInstallSyncContext)
於 System.Windows.Forms.TextBoxBase..ctor()
於 System.Windows.Forms.TextBox..ctor()
於 WindowsApplication1.Form1.InitializeComponent() 於
C:\Documents and Settings\Administrator\Local Settings\Application
Data\Temporary Projects\WindowsApplication1\Form1.Designer.vb: 行 26
於 WindowsApplication1.Form1..ctor()
InnerException:
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 123.0.206.76
推
12/13 21:42, , 1F
12/13 21:42, 1F
→
12/14 00:55, , 2F
12/14 00:55, 2F
推
12/14 08:16, , 3F
12/14 08:16, 3F
→
12/30 22:35, , 4F
12/30 22:35, 4F
→
12/30 22:35, , 5F
12/30 22:35, 5F
→
02/09 09:13, , 6F
02/09 09:13, 6F
→
02/09 09:13, , 7F
02/09 09:13, 7F