|
-
May 14th, 2002, 10:21 AM
#1
Thread Starter
New Member
Eeeee Help... VB6 Control in VB.net
I hv VB6 Activex controls and when I upgrade the source in VB.net I get an error VB.net cannot upgrade activex controls developed in previous versions
Now I am also not able to use the compliled controls in VB.net although I can refer them in the reference , I have the control displaced in solution explorer but I donot find the control in the tools
Has anyone of you tried using the VB6 OCX control in VB.net after refering
If you have a solution , your response shall be highly appreciated
Cheers
-
May 14th, 2002, 10:26 AM
#2
Either A) Dont upgrade as if it works in VB6..whats the point
or
B) Find either a .NEt version of the control or see if their is some kind of .NET equivilant
what is the ocx you are trying to use?
-
May 14th, 2002, 10:59 AM
#3
Thread Starter
New Member
vb6 control used
Hey man, Thanks for your prompt reply which is highly appreciated
The control used is from http://www.pscode.com/vb/scripts/Sho...30137&lngWId=1
Try using it and see if you find it in the tools bar
Though there is no error , how do we start using it in vb.net after refering it
Do you have any idea of developing using XP style in win 9x , win2x , although using manifest file in WinXP would do
-
May 14th, 2002, 11:05 AM
#4
here is a link to the manifest..
http://www.planet-source-code.com/vb...=175&lngWId=10
I am searching for a .NET control to do this for any windows version..so far found a acouple non-free ones..trying to find you a free one...hold on..
-
May 14th, 2002, 11:20 AM
#5
I didnt find jack... give it some time and I am sure we will see more of this type of controls scecifically for .NET.
As far as why it doesnt work, it is becuase .NET throws out ActiveX and doesnt support it anymore. .NET is a whole new ball game.
-
May 14th, 2002, 11:33 AM
#6
Thread Starter
New Member
Microsoft upgrade issues
If you see the microsoft upgrade issue site http://msdn.microsoft.com/vbasic/tec.../vbupgrade.asp it clearly states user controls source code cannot be upgraded but you can use the same in vb.net.
Microsoft do have to come up with usercontrol upgrade option
I fail to understand the controls donot work in vb.net although they have mentioned in above
-
May 14th, 2002, 11:42 AM
#7
perhaps I should rephrase..yes you can still use ActiveX but it creates more over-head as it creates yet another dll wrpaper to access the ACtiveX and jsut really isnt encouraged or supported.
At any rate, did you try removing the control reference and re-adding manually in VS .NET?
-
May 16th, 2002, 07:12 AM
#8
Thread Starter
New Member
I figured it out
I figured it out,
Select Tools, Customise toobox and then select the activex componet
But................ lots of errors using the controls. Its not advisable to use the activex controls developed from vb6 to vb.net , I feel its always recomended to generate it a fresh in vb.net
any takers...
by the way have anyone of you found good vb.net activex controls
-
May 16th, 2002, 07:28 AM
#9
Re: I figured it out
Originally posted by tkiran
by the way have anyone of you found good vb.net activex controls
What do you mean? VB.NET controls or ActiveX controls?
-
May 16th, 2002, 08:15 AM
#10
Thread Starter
New Member
Controls User
activex controls developed in vb.net
-
May 16th, 2002, 08:34 AM
#11
You cannot develop ActiveX controls in VB.NET!!
VB.NET does not use COM (or ActiveX whatever you like to call it).
The controls developed in VB.NET are using the .NET Framework, and will only run on machines with the .NET framework installed.
However, if you develop a .NET control, you can use it in VB6, because .NET can create a COM wrapper. It is still depending on the .NET framework though.
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
|