AnsweredAssumed Answered

vrf Error 445 in ActiveX usage - XMComm

Question asked by VRFuser on Nov 18, 2003
Ashley

If u buy Richard grier's book the source code and how to use the activex is
in it. Without VB u cannot register MSCOMM on yr machine.

Dean

-----Original Message-----
From: Ashley Derrick [mailto:ashley@smartsolutions.karoo.co.uk]
Sent: 19 November 2003 08:38
To: VRF
Subject: [vrf] Re: Error 445 in ActiveX usage - XMComm


Hi,

Thanks (once again) Shawn for the excellent Advice. There was no download
attached but I followed your advice and got a lot further. However, seems my
MSCOMM is not licenced on my machine ( I got it from the link recommended by
Paco on the VRF). I therefore dowloaded XMComm (see link below) and this
seems to be getting me a lot further. I now just need to suss all of the
ActiveX commands. I have discovered that I can probably do what I need with
the standard VEE comms. but now I have got this far it seems like a nice
vehicle to start understanding the Active X more, without having to crib
examples and not quite knowing what I am doing.

P.S. If you want to havea licenced copy of MSCOMM do youi have to buy VB or
Visual Studio?

http://ourworld.compuserve.com/homepages/richard_grier/xmcomm.htm






----- Original Message -----
From: "Shawn Fessenden" <shawn@testech-ltd.com>
To: "VRF" <vrf@agilent.com>
Sent: Tuesday, November 18, 2003 8:39 PM
Subject: [vrf] Re: Error 445 in ActiveX usage


> Hi Ashley.
>
> > Sorry If I am asking dumb questions.
>
> Everybody knows the only dumb questions are those not asked, so don't feel
> bad about asking!
>
> > Attached is the example
>
> Ah yes, I see a couple problems. You declared a variable named MSComm and
> then tried to execute "set MSComm1 = CreateObject(MSComm).
>
> First, the variable names must match. Second, the argument to CreateObject
> is a string, not something of another type. This is where the error came
> from. VEE tried to access a variable called MSComm to pass it to
> CreateObject, and found that it hadn't been initialized yet. Next, the
name
> of the object you want to create is "MSCommLib.MSComm". Change the name of
> your variable in the declare to MSComm1 and change the CreateObject call
and
> it will work.
> -SHAWN-
>
>
> ---
> You are currently subscribed to vrf as: ashley@smartsolutions.karoo.co.uk
> To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
> To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
> To send messages to this mailing list,  email "vrf@agilent.com".
> If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".
>


---
You are currently subscribed to vrf as: dean.moss@eurothermdrives.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to
"owner-vrf@it.lists.it.agilent.com".

---
You are currently subscribed to vrf as: rsb@soco.agilent.com
To subscribe send a blank email to "join-vrf@it.lists.it.agilent.com".
To unsubscribe send a blank email to "leave-vrf@it.lists.it.agilent.com".
To send messages to this mailing list,  email "vrf@agilent.com". 
If you need help with the mailing list send a message to "owner-vrf@it.lists.it.agilent.com".

Outcomes