VB version???

D

Dannyboy

Please help me.

I am not a programmer, just self-taught at ASP and VBA in Access and CorelDraw.
I cannot understand which version of Visual Basic I actually have installed and
whether I can use, or need to use mscomm32.ocx for a procedure I need in a small
app.

I have VB 6.3 (actually 6.3.8863) installed. I program in it within MS Access
and CorelDraw 11.
I have it on 3 machines, XP, Win2k and Win98SE.

I cannot find much about it on microsoft.com or on the internet. Does it really
exist? Or is it really VB 6.0???
I am trying to communicate with a serial port to cause a cash drawer to open in
a MS Access cash register app I created to run on the Win98SE machine.

All code examples I see to do this use VB 6.0 and mscomm32.ocx. Mscomm32.ocx
just doesn't seem to be part of VB 6.3, but it is part of 6.0. For example...
'*************************************
with MSComm1
.CommPort = 1
.Settings = "300,n,8,1"
.PortOpen = True
.Output = Chr$(7)
.PortOpen = False
end with
'*************************************

I am so confused.
 
D

Dave Patrick

This is the VBA version. For all intents the major version is VB6. From any
code module Tools|References and set a reference to your DLL or OCX

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Please help me.
|
| I am not a programmer, just self-taught at ASP and VBA in Access and
CorelDraw.
| I cannot understand which version of Visual Basic I actually have
installed and
| whether I can use, or need to use mscomm32.ocx for a procedure I need in a
small
| app.
|
| I have VB 6.3 (actually 6.3.8863) installed. I program in it within MS
Access
| and CorelDraw 11.
| I have it on 3 machines, XP, Win2k and Win98SE.
|
| I cannot find much about it on microsoft.com or on the internet. Does it
really
| exist? Or is it really VB 6.0???
| I am trying to communicate with a serial port to cause a cash drawer to
open in
| a MS Access cash register app I created to run on the Win98SE machine.
|
| All code examples I see to do this use VB 6.0 and mscomm32.ocx.
Mscomm32.ocx
| just doesn't seem to be part of VB 6.3, but it is part of 6.0. For
example...
| '*************************************
| with MSComm1
| .CommPort = 1
| .Settings = "300,n,8,1"
| .PortOpen = True
| .Output = Chr$(7)
| .PortOpen = False
| end with
| '*************************************
|
| I am so confused.
| --
| Thanks
| Daniel Dillon
|
|
 
D

Dannyboy

Thanks Dave.

I can't find it in the References list.
I registered it in Access under Tools/ActiveX Controls, in which it is called
"Microsoft Communications Control, Version
6."
If it appears in the References list, I can't see it.

Thanks

Daniel Dillon
 
D

Dave Patrick

Yes, that also works to the same end. My method you would have browsed to
the filename.OCX or filename.DLL

--
Regards,

Dave Patrick ....Please no email replies - reply in newsgroup.
Microsoft Certified Professional
Microsoft MVP [Windows]
http://www.microsoft.com/protect

:
| Thanks Dave.
|
| I can't find it in the References list.
| I registered it in Access under Tools/ActiveX Controls, in which it is
called
| "Microsoft Communications Control, Version
| 6."
| If it appears in the References list, I can't see it.
|
| Thanks
|
| Daniel Dillon
 
D

Dannyboy

Thanks Dave.

That worked. I had never done that.
I can do some pretty neat stuff with VBA, but you would laugh at the HUGE
knowledge gaps I have...so many things I have never even heard of.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top