Wrox Home  
Search P2P Archive for: Go

  Return to Index  

access thread: Raising ActiveX Control Events when used on Access Forms?


Message #1 by "Ron Howeron" <ron.howerton@s...> on Tue, 20 Nov 2001 15:34:50
I've run into a problem trying to raise an event in an ActiveX control on 

an Access form (it works fine on a VB form).  The control has already been 

shown on the form and it's trying to send an event back to the referencing 

form to hide the control after it's been used.  Every time the event 

fires, I get this error:



The expression HideMe you entered as the event property setting produced 

the following error: There was an error loading an ActiveX control on one 

of your forms or reports.



I can work around this by using Get Property functions when Access forms 

are used, but this seems like such a klugey solution and places an 

unnecessary burden on the Access developer.  Is it not possible to code 

Events on ActiveX controls when used in Access forms or is there just some 

trick I haven't been able to uncover yet?



TIA...

  Return to Index