.NET
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Error Decrypting Data (Acad 2011)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Works for me as well. Thank you very much Gaston! ![]()
Re: Error Decrypting Data (Acad 2011)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
or you can just catch the exception, i guess
you don't get errors from handled exceptions and you can also test if the problem is because of different application creating the drawing, or because of the potential errors
Re: Error Decrypting Data (Acad 2011)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
Yes, you can trap the COMexception (not a simple Exception), but doing so ( did you?), you still have to set the variable DWGCHECK=2 and try to open the file again in order to get, may be, the drawing opened.
Gaston Nunez
Re: Error Decrypting Data (Acad 2011)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
I think that a better aproach is to set DWGCHECK=2, then try to open the drawing as usual, get the drawing opened and check the DwgFileWasSavedByAutodeskSoftware property in order to take some action.
Gaston Nunez
Re: Error Decrypting Data (Acad 2011)
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Great! This solved my problem also! Many thanks!!


