Click here to Skip to main content
15,888,610 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
hello , I got exception in my application that is :

Unhandled exception has occurred in yourl application.

Exception form HRESULT 0*800AC472


help me the solution of this problem:

thanks in advance
Posted
Comments
Wendelius 2-Apr-11 3:54am    
Have you used the debugger to find the part of the code that's causing this. After locating it, please post the code also.
Sandeep Mewara 2-Apr-11 3:54am    
Not clear. Incomplete.

You need to add a lot more to the question like, how, what, etc. Edit your question and add the details such that one can understand what you were trying to do and suggest a possible reason.
situ21 2-Apr-11 4:11am    
how to solve this problem

If you don't know what is happening, and it won't tell you where in the error message - it normally does - then the best thing to do is:
1) In VS, use the Menu bar: "Debug...Exceptions"
2) In the dialog, put a tick in every box under "Thrown" and "Unhandled"
3) Press "OK".
4) Run your program in the debugger - normally, this means press the F5 key.

Now, when anything goes wrong (handled or not) you will get an exception helper appear. This will show you the line, allow you to inspect variables, the call stack, etc., etc.

When you have a better idea of exactly where and what (if not why) the problem is, let us know and we will try to fix it with you.
 
Share this answer
 
Comments
Sergey Alexandrovich Kryukov 4-Apr-11 22:45pm    
Good detailed instruction. My 5.
--SA
Works on my development which is using Excel 2007, I have XP running. On the target its Windows 7 with Excel 2010. Can't believe that there would be a compatibility issue, we all know that MS would never do that
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900