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 bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

error: "No Public UserControl detected."

Status
Not open for further replies.

ctlin

Technical User
Apr 17, 2002
77
US
It pops up when I try to run or compile the code. what does this mean? I am trying to build a control for an external device. I have the UserControl_Init, _Read and _Write subs written along with some Let/Get blocks. Is there a specific error I should be looking for or is this a general type error? I'm new to ActiveX stuff if that helps the diagnosis. Thanks.
 
Ah, yes, that keeps happening to me. What you need to do is open the usercontrol object (so you see it in design view) and scroll down in the property box until you find Public - False. Change this to True and then try compiling your code again!

Hope this helps Keith
sk_kdhall@hotmail.com
 
this is an odd combination of relief, rage, and contentedness i'm feeling. i've been trying to make this work for roughly 6 hours now. thanks a bunch.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top