I want to bind to Excel so that I know when someone closes it. As I could
not find a bindable interface supporting the Quit() method, I created a
class implementing the WorkbookActivate and WorkbookDeActivate methods,
which, while not exactly what I wanted, should be OK for automation. The
class definition begins thus:
DEFINE CLASS XLAppEvents AS session OLEPUBLIC
IMPLEMENTS AppEvents IN "c:\program files\microsoft
office\office12\excel.exe"
*!* IMPLEMENTS AppEvents IN {00024413-0000-0000-C000-000000000046}
The object gets created OK using the above but if I try to use the
commented line with the interface ID it throws an error "Type library
{00024413-0000-0000-C000-000000000046} is not found." I've searched the
registry and the value is there.
Anyone got any ideas or suggestions?
Laurie
--- StripMime Report -- processed MIME parts ---
multipart/alternative
text/plain (text body -- kept)
text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/CAMvTR9dvb3FY_4UX1+0fGEJU0AQk7qdsv3VTZG5tTWU=xva...@mail.gmail.com
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.