General information
Category:
COM/DCOM and OLE Automation
Environment versions
Network:
Windows 2003 Server
>I have no idea how you can do that using the code you supplied. If you have no VFP UI and you need to take action when the user is finished editing the document, the only place that I know of to put the code is in the ApplicationEvents2_DocumentBeforeClose method. If the only UI is Word, the only way the user can signal that they are finished editing is by closing the document, so that is where the code would have to go.
I don't think the problem is the UI--and a form isn't a bad idea anyway. The problem seems to be getting the process that will create the eventhandler to recognize the reference to the existing copy of Word.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only