Problem handling VBA events using VB.Net

  • Thread starter Thread starter Jake
  • Start date Start date
J

Jake

I am attempting to handle Access form events (such as, "On click", "On
Current", etc.) in a VB.Net program using the Access PIAs.

The PIAs include the events but as soon as I attempt to add an event handler
I recieve a COM error with HRESULT 0x80040202. Now, the folks over in the
..NEt forum say that this error happens when the event isn't provided by the
provider (in this case, Access). [
http://forums.msdn.microsoft.com/en-US/clr/thread/78ceea8b-4925-4284-b72c-048b0a083c85 ]

The PIA was made for the sole purpose of allowing users to interact with
Access. So, there is no reason these events would be implemented in the PIA
if they aren't provided by access.

So my question is, Have any of you experienced this problem or do you have
any ideas about how I can handle Access form events in VB.Net?

Jacob
 
What events are you trying to add? To my knowledge there are no Application
level events, only events at the FORM and REPORT level and their associated
controls.
 
Back
Top