-
If I develop an OCX in VB6 professional, can I use it within VB5 SP3 without any trouble?
I use VB6 (Yes, I have paid for it :cool: , I installed it yesterday) at home and VB5 at work.
As for now, I know that it will contain only 2 commandbuttons, 1 shapecontrol, 1 timer.
Is there any difference in the way you write the code for an ocx in VB6 versus VB5?
------------------
On Error Goto Bed =:0)
[email protected]
-
I've never compiled a VB6 ocx for VB5, but going on the controls you listed, I don't think there will be an issue. (There might be if you start throwing in controls such as Common Dialog)
Even if it turns out there is a problem, you should be able to get round it by recompiling the VB6 ocx on your VB5 machine. That should avoid any conflict between VB6 control versions and VB5 control versions.
Good Luck.
------------------
Ishamel
[email protected]
How can I tell you I love you when you are sitting on my face?
-
Thank you Ishamel :)
I'm fairly new to ocx programming.
Can you or anyone explain to me how I can make the background of my ocx transparent or maybe how I can set the backcolor of the background. what is most effective?
I've figured out that I could make a property called backcolor, then What??
Thanks
------------------
On Error Goto Bed =:0)
[email protected]
-
I'm just as new to ocx programming as you, so the words 'blind leading the blind' spring to mind. :cool:
As for making the control transparent, you should see the BackStyle property when you select your UserControl. Setting this to Transparent, should make the control transparent when you add it to any forms.
Hope this helps.
------------------
Ishamel
[email protected]
How can I tell you I love you when you are sitting on my face?
-
Oh man :D
Thank you, Just tell me the name of the guy/girl sitting on your face and I will kick him/her to the end of the world. And then you will be blind no more ;)
(After that I will bring him/her back so that you can express your love to him/her ;) )
Sometimes the answer is to close to see.
Bless you
------------------
On Error Goto Bed =:0)
[email protected]
-
For the record, it would most definately be her.
And if she wasn't available, it would be her sister! :)
------------------
Ishamel
[email protected]
How can I tell you I love you when you are sitting on my face?
-
To use an vb6 ocx in vb5, you need to have installed the vb6 runtime dll's. if you have them,there shouldn't be a problem using it.