473,479 Members | 2,120 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

Just-In-Time Debugging?????

cj
I'm testing some code I typed in from an example program I was given.
It works with F5. When I try to run the exe from an icon on the desktop
I'm given a form that says:

Just-In-Time Debugging
An exception 'System.IO.FileNotFoundException' has occured in
WindowsApplication19.exe.

Possible Debuggers:
Microsoft Development Environment[design]-Form1.vb[Design]*;Visu
Microsoft Development Environment[design]-Form1.vb[Design]: Visual
New instance of Microsoft CLR Debugger 2003
New instance of Visual Studio .NET 2003

Do you want to debug using the selected debugger?
Yes No

I don't know how to track down what the error is. What file isn't
found? Any help would be appreciated.
Feb 10 '06 #1
5 4036
cj wrote:
I'm testing some code I typed in from an example program I was given. It
works with F5. When I try to run the exe from an icon on the desktop
I'm given a form that says:

Just-In-Time Debugging
An exception 'System.IO.FileNotFoundException' has occured in
WindowsApplication19.exe.

Possible Debuggers:
Microsoft Development Environment[design]-Form1.vb[Design]*;Visu
Microsoft Development Environment[design]-Form1.vb[Design]: Visual
New instance of Microsoft CLR Debugger 2003
New instance of Visual Studio .NET 2003

Do you want to debug using the selected debugger?
Yes No

I don't know how to track down what the error is. What file isn't
found? Any help would be appreciated.


Why aren't you running it from the ide to track down the problem?

If you select New instance of Visual Studio .NET 2003 it should show you
were the problem is.

Chris
Feb 10 '06 #2
cj
because like I said it works fine from the ide, ie: I press F5 it works.
great. make and exe and it gives the error.
Chris wrote:
cj wrote:
I'm testing some code I typed in from an example program I was given.
It works with F5. When I try to run the exe from an icon on the
desktop I'm given a form that says:

Just-In-Time Debugging
An exception 'System.IO.FileNotFoundException' has occured in
WindowsApplication19.exe.

Possible Debuggers:
Microsoft Development Environment[design]-Form1.vb[Design]*;Visu
Microsoft Development Environment[design]-Form1.vb[Design]: Visual
New instance of Microsoft CLR Debugger 2003
New instance of Visual Studio .NET 2003

Do you want to debug using the selected debugger?
Yes No

I don't know how to track down what the error is. What file isn't
found? Any help would be appreciated.


Why aren't you running it from the ide to track down the problem?

If you select New instance of Visual Studio .NET 2003 it should show you
were the problem is.

Chris

Feb 10 '06 #3
Hi

I think you can try to select the "New instance of Visual Studio .NET 2003"
in the dialog when you get an exception by pressing the icon.
Also I think you may try to use Application.ThreadException Event to trap
the unhandled winform exception.
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfSystemWindowsFormsApplicationClassThreadExcep tionTopic.asp
Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 13 '06 #4
cj
Resolved!

One of my colleagues remembered something that finally payed off. For
some reason when .net uses a com component it creates a dll that
somehow interfaces it to the .net way of life. The file in this case is
Interop.SocketWrenchCtl.dll and it's in the obj folder of the project
folder. This file needs to be added to the project as a reference in
the solutions explorer like the ocx. it also needs to be copied to the
same dir as you'll be running the exe from.
cj wrote:
I'm testing some code I typed in from an example program I was given. It
works with F5. When I try to run the exe from an icon on the desktop
I'm given a form that says:

Just-In-Time Debugging
An exception 'System.IO.FileNotFoundException' has occured in
WindowsApplication19.exe.

Possible Debuggers:
Microsoft Development Environment[design]-Form1.vb[Design]*;Visu
Microsoft Development Environment[design]-Form1.vb[Design]: Visual
New instance of Microsoft CLR Debugger 2003
New instance of Visual Studio .NET 2003

Do you want to debug using the selected debugger?
Yes No

I don't know how to track down what the error is. What file isn't
found? Any help would be appreciated.

Feb 13 '06 #5
Hi

Thanks for your update!

Best regards,

Peter Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

Feb 14 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2565
by: dan glenn | last post by:
I want to redirect from an HTML file to a PHP script (to conserve a past link published elsewhere). What I'm doing is like: (file oldfile.html) <html> <head> <meta http-equiv=refresh...
3
1574
by: Elaine Jackson | last post by:
I'm new to Python, and I've noticed the following: >>> def f(a,b): a+=b >>> def g(a,b): a=a+b >>> p= >>> q= >>> r= >>> s=
0
1005
by: Janning Vygen | last post by:
Hi all, To all those people using mysql and asking if they should change to postgres, i just want them to tell that i came from mysql too but very (!) soon really wanted to use all these nice...
1
1314
by: 9to5 | last post by:
Hey All, On my last compile something strange just happened. My main menu bar just disappeared from both my form designer view and the running application. I can't seem to get it back. All the...
22
386
by: Ark Khasin | last post by:
Due to a peculiar need (code instrumentation) I came across unexpected behavior of Visual Studio 6.0 and 2005 (doing the same thing): #include <stdio.h> #define CAT1(a,b) a ## b #define...
3
1599
by: RDMomcilovic | last post by:
Hi I am just beggining to learn c++ and i just wondered weather any1 had any tips for me to help me to learn more efficiantly or just make a different kinda program insted of just "hello world" ...
1
1875
by: joestevens232 | last post by:
I'm stuck on how I can creat a LE object and pass it the line just input..than could i use a for loop and the .push_back to get the lines into the vector? vector<Log_Entry> parse(string); This...
0
1326
by: money_making | last post by:
Just be a part of the big game and become our partner.It is easy and free.If you have a web site you just need to put our banner and wait your money.Just go to :...
0
1380
by: manikandan | last post by:
dont miss it just open dont miss it just open dont miss it just open #############################
5
1437
by: John Salerno | last post by:
I just installed Pylons onto my hosting server so I could try out templating with Mako, but it seems a little more complicated than that. From the look of it all, the site seems to want a full...
0
7027
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7019
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7067
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
1
6719
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
1
4757
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4463
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2980
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2970
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
555
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.