DispatchWithEvents not working for SQLDMO.Backup

C

Chandra

Hi,

I tried the following:
.... def OnPercentComplete(self, sMessage, nPercent):
.... print sMessage, nPercent
Traceback (most recent call last):
raise ValueError, "This COM object does not support events."
ValueError: This COM object does not support events.


SQLDMO.Backup is a COM object with EVENT, why the error "does not
support events"? I tried the demo of DispatchWithEvents using IExplorer
and it's working, so I think the installation is correct. Is there
anyone facing the same problem?

Thanks,
Chandra
 

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

Members online

Forum statistics

Threads
474,264
Messages
2,571,323
Members
48,007
Latest member
Elvis60357

Latest Threads

Top