Closing a file doesn't release it

Discuss and ask questions about CAD .NET library.

Moderators: SDS, support, admin

Post Reply
blgilbert
Posts: 3
Joined: 29 Jan 2009, 22:42

Closing a file doesn't release it

Post by blgilbert » 25 Feb 2009, 20:12

I'm testing the CADViewerControl to view an HPGL file. When I load a file using either LoadFile or ShowLoadFileDialog and then call CloseFile, the file remains locked. I've tried calling

Code: Select all

MyControl.Unregister 
MyControl.Dispose
MyControl = Nothing
This doesn't help.

You can recreate this in the ViewerControlVB demo. Open a file in the app. Close the file. Then, while the app is still running, go to Windows and try to delete the file. It remains locked.

Is there a workaround?

Thanks

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Closing a file doesn't release it

Post by support » 26 Feb 2009, 15:36

Hello!

Thank you for the remark. We will consider the problem and inform you when the solution is ready.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

support
Posts: 3272
Joined: 30 Mar 2005, 11:36
Contact:

Re: Closing a file doesn't release it

Post by support » 23 Mar 2009, 17:52

Hello!

This problem is solved with CAD Import .NET v.7 beta. Please contact us to support@cadsofttools.com accordingly the question of getting updates.

Sergey.
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support

Post Reply