Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Call activeX methods-events-props from Form ?.

Status
Not open for further replies.

dario123

Programmer
Dec 10, 2000
4
0
0
GB
I have a project that has an activex usercontrol and a form. I can call the form from the control ok.
But how do I call the usercontrol from the form?
All on the same project.

Intellisense do not come up from the form. Why?

can you help!!!
 
thanks for your answer, but it does not help much.

Yes. The project is compiled.
the activeX usercontrol is compiled, but still can´t
access the embedded controls within the usercontrol, from outside the usercontrol, but within the activeX ctrl.
How can I do it?

 
Hi All,

i have exactly the same problem - trying to raise an event from a form inside a activex control project.

I made sure that the event was declared (public) in the user control module, and the control compiled as suggested.

But, when i inserted the calls to raise the event (RaiseEvent myClick()) i get the error "Event not found" despite it being available in the control when it is used in other app's.

Any advice would be much appreciated,

Mark Edward
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top