|
-
Aug 18th, 2000, 06:39 PM
#1
Thread Starter
Frenzied Member
Hi, I'd like to know how to make an OCX from a User Control...
Someone told me to just do the same as "Make EXE", but it still says "EXE", not "OCX"!
Thanks in advance.
Bye,
-Jotaf98
[email protected] - ICQ#60784495 - http://jotaf98.cjb.net
-
Aug 18th, 2000, 06:42 PM
#2
Fanatic Member
Did you create a ActiveX Control. If yes then you should have Create Project1 OCX kind of thing.
-
Aug 18th, 2000, 06:46 PM
#3
Thread Starter
Frenzied Member
No, it's a User Control.
Is there a difference?
-
Aug 18th, 2000, 06:55 PM
#4
Fanatic Member
Did you just add a user control to your project?? The only way you can compile a OCX is by creating the ActiveX Control (which could contain your user control)
-
Aug 18th, 2000, 07:01 PM
#5
Thread Starter
Frenzied Member
Hum... yes, that's how I did it.
Can you explain me how to do that?
Thanks!
-
Aug 18th, 2000, 07:24 PM
#6
transcendental analytic
In Project menu, select [projectname] properties, and then select activeX OCX in project type combo.
Also, set your usercontrols public property 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.
-
Aug 21st, 2000, 05:13 PM
#7
Thread Starter
Frenzied Member
Thanks!
-
Aug 21st, 2000, 05:24 PM
#8
Fanatic Member
you'll need to set the public property of the usercontrol(s) to 'True'
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
|