How to invalidate OLE of Excel?

M

MK

Hello, everyone.
I am developing with Excel and VB6.
I want to forbid Excel being operated by GetObject function by the outside.
Therefore, I want to kill OLE of Excel temporarily.
Although I thought that a RevokeActiveObject function would be used, I do
not understand the acquisition method of dwRegister Parameter.
In the first place is the RevokeActiveObject function usable?
The acquisition method of dwRegister of Excel?
Or, is there another method?
Please teach.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top