I am trying to use vb6's mscomm control (mscomm32.ocx) on vb.net .. when drag to form, I got the following error message:
"You do not have a license to use this ActiveX control" ..
my vb.net application is commercial application, does it also will happen on target PC? , it's not funny if it also required to install vb6 on target PC.. any idea ?
You do not need to install VB 6 to customer PC. When you use any com object , VB.NET adds the object to your project and also install to target machine.
To use the object , you need register VB 6 controls to your machine. You will find a registry file in your VB.NET CD1
(folder name is "...:\Extras\VB6 Controls\vb6controls.reg" )
Double click the file and add it to your registry.
I am getting this error on my target machine. What could possibly be wrong if VB.NET adds the object to your project and also install to target machine? Apparently, it did not.
Originally posted by kleinma isnt that for .net assemblies?
which use COMs , if I remember correctly ... . If it's the tool that make callable wrapper for the COM and needs no registeration later . Correct me if I'm wrong .
Originally posted by Pirate which use COMs , if I remember correctly ... . If it's the tool that make callable wrapper for the COM and needs no registeration later . Correct me if I'm wrong .
ok I will
I think what it actually is, is the opposite. It wraps a .net assembly so it can be called from COM
Thanks...but how do I do this on the target machine?
Will the below work for the problem we are talking about for a target machine or is this only good for the design time error?
<<
To use the object , you need register VB 6 controls to your machine. You will find a registry file in your VB.NET CD1
(folder name is "...:\Extras\VB6 Controls\vb6controls.reg" )
Double click the file and add it to your registry.
>>
Last edited by birthjay; Dec 1st, 2004 at 01:21 PM.