Hi,
I used the code which was referred from the below link and i have raised a event from VB.NET then i tried to cancel the document close from the document event ‘OnPrepareUnload’ or ‘OnUnload’ from VB.NET. But i could not cancel the document close from VB.NET. Please any can tell how to cancel the document close from the event ‘OnPrepareUnload’ or ‘OnUnload’ from VB.NET?
https://forum.openoffice.org/en/forum/viewtopic.php?f=20&t=21494
Thanks