Click to See Complete Forum and Search --> : ActiveX controls


wpilcher
March 29th, 2002, 08:50 PM
I need to do some serial comm in my app. In vb6 I would use mscomm32. My .net book says I can use earlier ActiveX controls but doesn't elaborate. I copied the mscomm32.ocx from vb6, ran regsrv32 and added the control to my toolbox. Fine, but when I try to add it to a form it tells me I'm not a "licensed user".

Any ideas?

Craig Gemmill
March 30th, 2002, 12:17 AM
I tried this on a W2k & XPro box. When I click on 'Customize Toolbox' and select the 'COM Components' tab. There is already a control in there called "Microsoft Communications Control, version 6.0". This is actually the MSCOMM32.OCX control. Im not sure why you dont have this... maybe you need to install the latest service packs for VB6.0 (SP5), or for your OS version.

Good Luck

wpilcher
March 30th, 2002, 05:01 PM
Did you try to actually put the control on a form? I got it to show up in my toolbox, it was when I tried to put it on a form that I got the unlicensed user message.

Craig Gemmill
March 30th, 2002, 05:53 PM
Yeah, that worked ok for me... but I did find some info that may help ya out. I dont see mscomm32.ocx listed but if you read on, basically it says you just have to re-register the control.

Copy and paste this link as its displayed broken:

http://support.microsoft.com/default.aspx?scid=kb;en-us;Q177799

Good Luck