1
我有一個可在Windows XP平臺上正常工作的應用程序(擴展)。當我在Windows 7上運行此應用程序時,會引發此錯誤。我不確定是什麼導致了這一點。我在想,這可能是由於.net框架沒有安裝,但我可以看到所有內容。尋找任何想法來解決這個問題。未處理的異常 - 及時調試
注意:當我點擊一個combox盒子時出現這個錯誤。我怎麼能通過這個消息框,並得到實際的錯誤。
感謝 周杰倫
看到這條消息的對調用 剛剛實時(JIT)的詳細信息結束調試而不是此對話框。
**************異常文本**************
System.NullReferenceException: Object reference not set to an instance of an object.
at MapExt_Net.HEI_Extensions.layout.frmLayout.DisplaySize()
at MapExt_Net.HEI_Extensions.layout.frmLayout.cBLayoutExtent_SelectedIndexChanged(Object sender, EventArgs e)
at System.Windows.Forms.ComboBox.OnSelectedIndexChanged(EventArgs e)
at System.Windows.Forms.ComboBox.WmReflectCommand(Message& m)
at System.Windows.Forms.ComboBox.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)