Now from my old machine, I copied my project and I tried to open on my
new machine, of course, I got error message that says as follow:
"Class TMSComm not found. Ignore the error and continue? ...."
Well, I then looked for the OCX, MSCOMM32.OCX on my new machine and I
was surprised. I didn't find it. So I went to my old machine and
copied following files from c:\windows\system\
MSCOMM32.OCX
MSCOMM32.DEP
into my new machines c:\windows\system.
Then I ran following command in my new machine from c:\windows\system:
REGSVR32 MSCOMM32.OCX
I got a message saying as follow:
"DllRegisterServer in mscomm32.ocx succeeded"
So, now I start C++ Builder 4.0 Professional in my new machine and did
following:
Component/Import ActiveX Control
Then I chose "Microsoft Comm Control 6.0 (Version 1.1) and clicked on
Install
In next questions, I choose to install in existing packge,
dcluster40.bpk.
I re-compile and re-link package dcluster40.bpk.
so, now I successfully added ActiveX MSCOMM32.OCX, also known as
Micorsoft Comm Control 6.0 (Version 1.1)
I notice that icon is placed under ActiveX pallette.
I close everything. Reboot my machine and then restart my C++ Builder
4.0
To check that evertyhing went fine and that MSCOMM32.OCX control will
work I go to ActiveX pallette and choose MSComm and try to put
on the form and I get following error message:
"License information for TMSComm not found. You cannot use this control
in design mode."
I don't have this problem on my old machine. Please help me what can I
do to avoid this licensing?
As far as I know that MSCOMM32.OCX supposed to come with Windows 98? and
that there is
no licensing needed?
Any help on this is greatly appreciate it. I am running behind on my
project and I can't get rid of this problem. You may reply directly to
me at e-mail:
San...@ArtisanSystems.com or spat...@yahoo.com
Also, to bypass this problem if you can refer to me any ActiveX that
will allow me to read / write data to Serial Port, but I can't afford to
pay too much $$$ and it
needs to be as easy as MSCOMM32.OCX.
Thank you
Sanjay Patel, San...@ArtisanSystems.com
HTH,
.a
Sanjay Patel wrote:
[snip]
What should I do? I am so lost and confused.
Regards,
Sanjay Patel, San...@ArtisanSystems.com
Usually an installation program for the ocx will add some keys to the
registry under the HKEY_CLASSES_ROOT\Licenses key. If the key with the
appropriate default value isn't present, the problem you are
experiencing occurs.
There are lots of alternative serial port components available. I have
used one written in Delphi with my BCB4 compiler. It's called ComPort,
written by Dejan Crnila. One place you can find it is the Delphi Super
Page site, http://delphi.icm.edu.pl. You can install in on the component
palette, and it won't require that you copy any ocx files when you
distribute your program. It worked great for me.
Paul
Sanjay Patel wrote:
>
> I bought new machine and installed Microsoft Windows 98 Second Edition.
> I then installed Borland C++ Builder 4.0. Everything is good so far.
>
> Now from my old machine, I copied my project and I tried to open on my
> new machine, of course, I got error message that says as follow:
>
> "Class TMSComm not found. Ignore the error and continue? ...."
>
> ...
Your help is so greatly appreciated. Based on your answer I found MSCOMM.SRG
file and it was text file which listed a key and license# I simply had to go
in registry and add the key + default value (license#) and it worked.
This seems to tells me that REGSVR32 has a problem adding *.OCX in Windows 98
Second Edition? Because this machine was installed Windows 98 on fresh hard
drive where my old machine had windows 95 and it was upgraded to 98.
In any event, I really appreciate your help. Hopefully, now I will be able to
meet my deadline.
As for your recommendation on delphi product, I'll try it out. Hopefully it
won't cost me anything.
Sincerely,
Sanjay Patel, San...@ArtisanSystems.com
Paul.