Code: Select all
MyControl.Unregister
MyControl.Dispose
MyControl = Nothing
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