質問編集履歴
1
内容不足
title
CHANGED
File without changes
|
body
CHANGED
@@ -2,4 +2,114 @@
|
|
2
2
|
slnソリューションファイル?を立ち上げてからデバッグをすると普通にエラーなく通るのですが、
|
3
3
|
|
4
4
|
フォルダ内の'デバッグ リリース'フォルダから exeで起動するとエラーがでてしまいます。
|
5
|
-
このような場合はどすればよいのでしょうか??
|
5
|
+
このような場合はどすればよいのでしょうか??
|
6
|
+
|
7
|
+
--追加
|
8
|
+
エラー内容
|
9
|
+
アプリケーションのコンポーネントで、ハンドルされない例外が発生しました。
|
10
|
+
[続行]をクリックすると、アプリケーションはこのエラーを無視し、続行しようとします。
|
11
|
+
[終了]をクリックすると、アプリケーションは直ちに終了します。
|
12
|
+
|
13
|
+
オブジェクト参照がオブジェクトインスタンスに設定されていません。
|
14
|
+
[詳細]
|
15
|
+
Just-In-Time (JIT) デバッグを呼び出すための詳細については、
|
16
|
+
ダイアログ ボックスではなく、このメッセージの最後を参照してください。
|
17
|
+
|
18
|
+
************** 例外テキスト **************
|
19
|
+
System.NullReferenceException: オブジェクト参照がオブジェクト インスタンスに設定されていません。
|
20
|
+
場所 ラクスル.Form1.Button2_Click(Object sender, EventArgs e) 場所 E:\ラクスル\ラクスル\Form1.vb:行 31
|
21
|
+
場所 System.Windows.Forms.Control.OnClick(EventArgs e)
|
22
|
+
場所 System.Windows.Forms.Button.OnClick(EventArgs e)
|
23
|
+
場所 System.Windows.Forms.Button.OnMouseUp(MouseEventArgs mevent)
|
24
|
+
場所 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
|
25
|
+
場所 System.Windows.Forms.Control.WndProc(Message& m)
|
26
|
+
場所 System.Windows.Forms.ButtonBase.WndProc(Message& m)
|
27
|
+
場所 System.Windows.Forms.Button.WndProc(Message& m)
|
28
|
+
場所 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
|
29
|
+
場所 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
|
30
|
+
場所 System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
|
31
|
+
|
32
|
+
|
33
|
+
************** 読み込まれたアセンブリ **************
|
34
|
+
mscorlib
|
35
|
+
アセンブリ バージョン:4.0.0.0
|
36
|
+
Win32 バージョン:4.6.100.0 built by: NETFXREL2STAGE
|
37
|
+
コードベース:file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
|
38
|
+
----------------------------------------
|
39
|
+
ラクスル
|
40
|
+
アセンブリ バージョン:1.0.0.0
|
41
|
+
Win32 バージョン:1.0.0.0
|
42
|
+
コードベース:file:///E:/%E3%83%A9%E3%82%AF%E3%82%B9%E3%83%AB/%E3%83%A9%E3%82%AF%E3%82%B9%E3%83%AB/bin/Debug/%E3%83%A9%E3%82%AF%E3%82%B9%E3%83%AB.exe
|
43
|
+
----------------------------------------
|
44
|
+
Microsoft.VisualBasic
|
45
|
+
アセンブリ バージョン:10.0.0.0
|
46
|
+
Win32 バージョン:14.6.81.0 built by: NETFXREL2
|
47
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/Microsoft.VisualBasic/v4.0_10.0.0.0__b03f5f7f11d50a3a/Microsoft.VisualBasic.dll
|
48
|
+
----------------------------------------
|
49
|
+
System
|
50
|
+
アセンブリ バージョン:4.0.0.0
|
51
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
52
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
|
53
|
+
----------------------------------------
|
54
|
+
System.Core
|
55
|
+
アセンブリ バージョン:4.0.0.0
|
56
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
57
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
|
58
|
+
----------------------------------------
|
59
|
+
System.Windows.Forms
|
60
|
+
アセンブリ バージョン:4.0.0.0
|
61
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
62
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
|
63
|
+
----------------------------------------
|
64
|
+
System.Drawing
|
65
|
+
アセンブリ バージョン:4.0.0.0
|
66
|
+
Win32 バージョン:4.6.91.0 built by: NETFXREL2STAGE
|
67
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
|
68
|
+
----------------------------------------
|
69
|
+
System.Configuration
|
70
|
+
アセンブリ バージョン:4.0.0.0
|
71
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
72
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
|
73
|
+
----------------------------------------
|
74
|
+
System.Xml
|
75
|
+
アセンブリ バージョン:4.0.0.0
|
76
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
77
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
|
78
|
+
----------------------------------------
|
79
|
+
System.Runtime.Remoting
|
80
|
+
アセンブリ バージョン:4.0.0.0
|
81
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
82
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Remoting/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Remoting.dll
|
83
|
+
----------------------------------------
|
84
|
+
mscorlib.resources
|
85
|
+
アセンブリ バージョン:4.0.0.0
|
86
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
87
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_ja_b77a5c561934e089/mscorlib.resources.dll
|
88
|
+
----------------------------------------
|
89
|
+
Microsoft.mshtml
|
90
|
+
アセンブリ バージョン:7.0.3300.0
|
91
|
+
Win32 バージョン:7.0.3300.0
|
92
|
+
コードベース:file:///C:/Windows/assembly/GAC/Microsoft.mshtml/7.0.3300.0__b03f5f7f11d50a3a/Microsoft.mshtml.dll
|
93
|
+
----------------------------------------
|
94
|
+
System.Windows.Forms.resources
|
95
|
+
アセンブリ バージョン:4.0.0.0
|
96
|
+
Win32 バージョン:4.6.81.0 built by: NETFXREL2
|
97
|
+
コードベース:file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_ja_b77a5c561934e089/System.Windows.Forms.resources.dll
|
98
|
+
----------------------------------------
|
99
|
+
|
100
|
+
************** JIT デバッグ **************
|
101
|
+
Just-In-Time (JIT) デバッグを有効にするには、このアプリケーション、
|
102
|
+
またはコンピューター (machine.config) の構成ファイルの jitDebugging
|
103
|
+
値を system.windows.forms セクションで設定しなければなりません。
|
104
|
+
アプリケーションはまた、デバッグを有効にしてコンパイルされなければ
|
105
|
+
なりません。
|
106
|
+
|
107
|
+
例:
|
108
|
+
|
109
|
+
<configuration>
|
110
|
+
<system.windows.forms jitDebugging="true" />
|
111
|
+
</configuration>
|
112
|
+
|
113
|
+
JIT デバッグが有効なときは、このダイアログ ボックスで処理するよりも、
|
114
|
+
ハンドルされていない例外はすべてコンピューターに登録された
|
115
|
+
JIT デバッガーに設定されなければなりません。
|