Problem with making event sinks in In Web Storage

joonasl
01-03-2001, 07:38 AM
Basically I have tried to make the event sink example found in the web storage documentation to work..
I have registered a event sink (handles both onSave and onDelete) made with VB as a COM+ component and registered it to a folder using the wizard found in the web storage system explorer. How ever for some reason I can't figure out every time the sink fires, I get a error in following code (from the line marked with ^'s):

...
Dim DispEvtInfo As IExStoreDispEventInfo
Dim ADODBRec As ADODB.Record
Set DispEvtInfo = pEventInfo

Set ADODBRec = DispEvtInfo.EventRecord
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...

The error I get is : -2147418113 Method '~' of object '~' failed
¨
I have MDAC 2.6 installed.. Anybody had similar problems??

---

Joonas Lyytinen +358503835022

"It's always funny until someone gets hurt,

and after that it's just hilarious"

Faith No More - "Ricochet"

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum