|
-
Jun 1st, 2000, 11:38 AM
#1
Thread Starter
New Member
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.
-
Jun 1st, 2000, 02:32 PM
#2
Frenzied Member
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.
-
Jun 1st, 2000, 10:08 PM
#3
Thread Starter
New Member
USERcONTROL
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
-
Jun 2nd, 2000, 01:39 AM
#4
transcendental analytic
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
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 2nd, 2000, 04:01 AM
#5
Thread Starter
New Member
ON/OFF
Could you be please more specific.
Thanx.
PS: As I said I'm brand new to any OCX.
-
Jun 2nd, 2000, 05:27 AM
#6
transcendental analytic
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.
Use  
writing software in C++ is like driving rivets into steel beam with a toothpick.
writing haskell makes your life easier:
reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.
-
Jun 2nd, 2000, 10:42 AM
#7
Thread Starter
New Member
Re:
Thanx Kedaman,
it finally works.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|