Exceptions on random

  • Thread starter Thread starter Vivek
  • Start date Start date
V

Vivek

Hello,
I developed a small application in C# with VS2005Express. It uses the
FolderBrowserDialog of Windows.Forms to open this dialog box twice, for the
origin and destination of files. It works well but as 2005Ex uses .net 2.0,I
remade the project for 1.1 with sharpdevelop and compiled. At the start, it
worked well but afterwards it started giving error or exceptions :

1. Firstly it says, instruction 0x123456 uses adress 0x000700. The memory
cannot be read;
2. System.NullReferenceException ;
3. System.StackOverflowException

The error can be one of these three, while I try to select a file from
FolderBrowserDialog Box. Sometime, for the first time, sometimelater.
Apparently, the error is launched by Mscorlib.

I use the same instantiation of FolderBrowserDialog for both dialog box
(origin and destination).

Where does the error come from ? Can somebody help me out ?

Thanks in advance, Vivek
 
Hi,

First, let us find more information of the exception.

Attach an unhandled exception handler to the AppDomain.UnhandledException
event. And then please post here what the exception is - check out which code
file is, target location etc..
 
Hi,

First, let us find more information of the exception.

Attach an unhandled exception handler to the AppDomain.UnhandledException
event. And then please post here what the exception is - check out which code
file is, target location etc..
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top