Hi,
I'm trying to compile something into OCX, but for some reason I always get an error saying:
"No UserContol Detected"
I'm a new to OCX so any help will be gratly appriciated.
Thanx.
Printable View
Hi,
I'm trying to compile something into OCX, but for some reason I always get an error saying:
"No UserContol Detected"
I'm a new to OCX so any help will be gratly appriciated.
Thanx.
You say you are trying to compile an OCX.
Did you
A) start of with an Active X control
or did you
B) start with a standard exe and change the project type to activeX Control in the project propertires?
If you do B you get the error message the "No UserContol Detected" error message.
Hi,
THANX FOR YOUR REPLY.
Yes when I load up the code, it starts as an exe, however I want to make an OCX out of the user control.
Is there something I have to change (guess there is), but where ?
Thanx.
Vladimir S. Pekulas
You get that error if you don't have any public usercontrols. If you already have a usercontrol and still get that error, you have probably it's public property set to false. Set it to true
Could you be please more specific.
Thanx.
PS: As I said I'm brand new to any OCX.
Nope, ok just kidding, i can be a little bit more specific:
1. Look at your project browser
2. Is there a usercontrol?
3. if so doubleclick it, otherways that's the problem - make a usercontrol
4. go search for it's property "public" in the property box. set it to true.
5. Now you you can compile it.
:)
Thanx Kedaman,
it finally works.