Ask a Question related to ASP.NET General, Design and Development.
-
Franck #1
How to catch COM exception in .Net
Ok, I do have a COM dll written in C++. Then a web service written in C# is
referencing this COM dll. Here everything is fine.
Now I have for exemple this line in my COM, that is called from the
Webservice.
hr = pSavi->SweepFile( ..., ..., ...)
BUT, this line sometimes fails, How from my webservice can I catch the HR
result ??
Thanks for your help
Franck
Franck Guest
-
Catch VideoError exception?
Is there a way to catch VideoError exceptions thrown by the VideoDisplay class? I've tried wrapping it in try/catch, but it seems to be thrown... -
#40456 [NEW]: php5.2.1 - Uncaught exception try/catch
From: zeldign at zeldign dot com Operating system: CentOS 4.4 PHP version: 5.2.1 PHP Bug Type: Scripting Engine problem Bug... -
What exception should I catch ??
I've read somewhere that it's not a good idea (or design) to catch all exception in one (big) catch(Exception e)... but instead catch the... -
ASP catch exception
I use the following code and get the following error message in my ASP page(not .net). Please help try mycode Catch ex As Exception... -
Catch Exception Error Message
You can put your code between (try-catch-end try) block in codebehind and catch the exception by response.write(exception_name.message) frank... -
Natty Gur #2
Re: How to catch COM exception in .Net
Hi,
Use ExternalException ErrorCode property.
Natty Gur, CTO
Dao2Com Ltd.
34th Elkalay st. Raanana
Israel , 43000
Phone Numbers:
Office: +972-(0)9-7740261
Fax: +972-(0)9-7740261
Mobile: +972-(0)58-888377
*** Sent via Developersdex [url]http://www.developersdex.com[/url] ***
Don't just participate in USENET...get rewarded for it!
Natty Gur Guest



Reply With Quote

