BarCode Scanner and VB 
Author Message
 BarCode Scanner and VB

Hi!

We starting project in which we will communicate with barcode scanners.
It's completely new to me. So far I found that I will need to use WinSock
and MSCOMM controls. Also I found wrapper class around MSCOMM control so I
will not need to include form in project.
I assume I can do same way with WinSock control.

Scanner by itself have internal memory and i can write DOS application with
C/C++ and upload to scanner.

My question to NG:
Is there any good books this kind of programming oriented?
Anybody heard of app written in VB using COM+ to work with scanners?
Web sources?
I found 1 NG but it's dead

What I can start with?

Thanks for ideas, examles, etc..



Mon, 03 May 2004 03:23:21 GMT  
 BarCode Scanner and VB
You won't need to use COM+, at least is not necessary...

There is a "huge" difference between MSCOMM and WINSOCK.
MSComm uses the communicaton port, while WinSock wraps you to the TCP/IP
layer....

If you use controls on a form, you WON'T need to display it, just load it
using the following:
Load form1
and then access the control.

If you access the control directly, like form1.mscomm1.open, then the form
will be dipslayed instead..

You won't need any special book, you will need to understand how the
communication MSCOMM works and then look at the bar code protocol...... once
you understand the communication basics, it doesn't matter at all which
device is connected to....

If you don't have any experiance with serial protocols, just check the
MSCOMM descriptions and start to use the MSCOMM to read and write to the
code-readed and understand the responses and the return codes.....

stef


Quote:
> Hi!

> We starting project in which we will communicate with barcode scanners.
> It's completely new to me. So far I found that I will need to use WinSock
> and MSCOMM controls. Also I found wrapper class around MSCOMM control so I
> will not need to include form in project.
> I assume I can do same way with WinSock control.

> Scanner by itself have internal memory and i can write DOS application
with
> C/C++ and upload to scanner.

> My question to NG:
> Is there any good books this kind of programming oriented?
> Anybody heard of app written in VB using COM+ to work with scanners?
> Web sources?
> I found 1 NG but it's dead

> What I can start with?

> Thanks for ideas, examles, etc..



Mon, 03 May 2004 05:56:05 GMT  
 BarCode Scanner and VB
I'm trying to predict all possibilities.
And you can not use DLL with form as a remote component.
Here wrapper class comes handy (From my point of view at least)
Some scanners communicate using serial port and some of them have Terminal
connected to the hub. Here you communicate thru TCP/IP

I'm planning to write class that will access any kind of server.
I just can't find any related information on Scanner.


Quote:
> You won't need to use COM+, at least is not necessary...

> There is a "huge" difference between MSCOMM and WINSOCK.
> MSComm uses the communicaton port, while WinSock wraps you to the TCP/IP
> layer....

> If you use controls on a form, you WON'T need to display it, just load it
> using the following:
> Load form1
> and then access the control.

> If you access the control directly, like form1.mscomm1.open, then the form
> will be dipslayed instead..

> You won't need any special book, you will need to understand how the
> communication MSCOMM works and then look at the bar code protocol......
once
> you understand the communication basics, it doesn't matter at all which
> device is connected to....

> If you don't have any experiance with serial protocols, just check the
> MSCOMM descriptions and start to use the MSCOMM to read and write to the
> code-readed and understand the responses and the return codes.....

> stef



> > Hi!

> > We starting project in which we will communicate with barcode scanners.
> > It's completely new to me. So far I found that I will need to use
WinSock
> > and MSCOMM controls. Also I found wrapper class around MSCOMM control so
I
> > will not need to include form in project.
> > I assume I can do same way with WinSock control.

> > Scanner by itself have internal memory and i can write DOS application
> with
> > C/C++ and upload to scanner.

> > My question to NG:
> > Is there any good books this kind of programming oriented?
> > Anybody heard of app written in VB using COM+ to work with scanners?
> > Web sources?
> > I found 1 NG but it's dead

> > What I can start with?

> > Thanks for ideas, examles, etc..



Mon, 03 May 2004 06:25:45 GMT  
 BarCode Scanner and VB
There are lots of off the shelf activex dlls you can buy
to do the job
try www.greymatter.co.uk

Quote:
>-----Original Message-----
>I'm trying to predict all possibilities.
>And you can not use DLL with form as a remote component.
>Here wrapper class comes handy (From my point of view at
least)
>Some scanners communicate using serial port and some of
them have Terminal
>connected to the hub. Here you communicate thru TCP/IP

>I'm planning to write class that will access any kind of
server.
>I just can't find any related information on Scanner.



>> You won't need to use COM+, at least is not necessary...

>> There is a "huge" difference between MSCOMM and WINSOCK.
>> MSComm uses the communicaton port, while WinSock wraps
you to the TCP/IP
>> layer....

>> If you use controls on a form, you WON'T need to

display it, just load it
Quote:
>> using the following:
>> Load form1
>> and then access the control.

>> If you access the control directly, like

form1.mscomm1.open, then the form

- Show quoted text -

Quote:
>> will be dipslayed instead..

>> You won't need any special book, you will need to
understand how the
>> communication MSCOMM works and then look at the bar
code protocol......
>once
>> you understand the communication basics, it doesn't
matter at all which
>> device is connected to....

>> If you don't have any experiance with serial protocols,
just check the
>> MSCOMM descriptions and start to use the MSCOMM to read
and write to the
>> code-readed and understand the responses and the return
codes.....

>> stef


message



Quote:
>> > Hi!

>> > We starting project in which we will communicate with
barcode scanners.
>> > It's completely new to me. So far I found that I will
need to use
>WinSock
>> > and MSCOMM controls. Also I found wrapper class

around MSCOMM control so
Quote:
>I
>> > will not need to include form in project.
>> > I assume I can do same way with WinSock control.

>> > Scanner by itself have internal memory and i can

write DOS application

- Show quoted text -

Quote:
>> with
>> > C/C++ and upload to scanner.

>> > My question to NG:
>> > Is there any good books this kind of programming
oriented?
>> > Anybody heard of app written in VB using COM+ to work
with scanners?
>> > Web sources?
>> > I found 1 NG but it's dead

>> > What I can start with?

>> > Thanks for ideas, examles, etc..

>.



Tue, 04 May 2004 02:56:54 GMT  
 BarCode Scanner and VB
Yes, there is lot of tools to produce barcode image, etc.
But I need tools to communicate with scanners, which I cannot find anywhere


Quote:
> There are lots of off the shelf activex dlls you can buy
> to do the job
> try www.greymatter.co.uk

> >-----Original Message-----
> >I'm trying to predict all possibilities.
> >And you can not use DLL with form as a remote component.
> >Here wrapper class comes handy (From my point of view at
> least)
> >Some scanners communicate using serial port and some of
> them have Terminal
> >connected to the hub. Here you communicate thru TCP/IP

> >I'm planning to write class that will access any kind of
> server.
> >I just can't find any related information on Scanner.



> >> You won't need to use COM+, at least is not necessary...

> >> There is a "huge" difference between MSCOMM and WINSOCK.
> >> MSComm uses the communicaton port, while WinSock wraps
> you to the TCP/IP
> >> layer....

> >> If you use controls on a form, you WON'T need to
> display it, just load it
> >> using the following:
> >> Load form1
> >> and then access the control.

> >> If you access the control directly, like
> form1.mscomm1.open, then the form
> >> will be dipslayed instead..

> >> You won't need any special book, you will need to
> understand how the
> >> communication MSCOMM works and then look at the bar
> code protocol......
> >once
> >> you understand the communication basics, it doesn't
> matter at all which
> >> device is connected to....

> >> If you don't have any experiance with serial protocols,
> just check the
> >> MSCOMM descriptions and start to use the MSCOMM to read
> and write to the
> >> code-readed and understand the responses and the return
> codes.....

> >> stef


> message


> >> > Hi!

> >> > We starting project in which we will communicate with
> barcode scanners.
> >> > It's completely new to me. So far I found that I will
> need to use
> >WinSock
> >> > and MSCOMM controls. Also I found wrapper class
> around MSCOMM control so
> >I
> >> > will not need to include form in project.
> >> > I assume I can do same way with WinSock control.

> >> > Scanner by itself have internal memory and i can
> write DOS application
> >> with
> >> > C/C++ and upload to scanner.

> >> > My question to NG:
> >> > Is there any good books this kind of programming
> oriented?
> >> > Anybody heard of app written in VB using COM+ to work
> with scanners?
> >> > Web sources?
> >> > I found 1 NG but it's dead

> >> > What I can start with?

> >> > Thanks for ideas, examles, etc..

> >.



Tue, 04 May 2004 03:19:56 GMT  
 BarCode Scanner and VB
Hi,

I have a barcode example in my book (see below).  I am not sure how you
intend to use these things in combination, but I can try to answer specific
questions.

--
Richard Grier  (Microsoft Visual Basic MVP)
Hard & Software
12962 West Louisiana Avenue
Lakewood, CO  80228
303-986-2179 (voice)
303-986-3143 (fax)
Leave voice mail or fax that I can receive as email at 303-593-9315
Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
Edition ISBN 1-890422-25-8 (355 pages).
For information look on my homepage at http://www.hardandsoftware.net.
Use the Books link to order.  For faster service contact the publisher at
http://www.mabry.com.



Tue, 04 May 2004 05:52:35 GMT  
 BarCode Scanner and VB
Hi!

Wrapper class I have I got from your WebSite and assume can do same with
WinSock. Because the idea is to create object.
Everything else is straight forward.
Will try find book in Borders and see if there information I need.

I can't ask specific questions, because I don't know anything about this :-(
I'm just trying to get as much information about this field and all this
serial devices, etc...

Planning to build good app and As I can see it it will be 1 layer (DLL) to
communicate with devices.
2 layer (DLL) to get info from 1st and provide Certain Interface.
This way, in future I just need fallow this interface to work with different
devices. All user services, Business Logic remains the same.

Thats what I see and thats why I open to any suggestions.


Quote:
> Hi,

> I have a barcode example in my book (see below).  I am not sure how you
> intend to use these things in combination, but I can try to answer
specific
> questions.

> --
> Richard Grier  (Microsoft Visual Basic MVP)
> Hard & Software
> 12962 West Louisiana Avenue
> Lakewood, CO  80228
> 303-986-2179 (voice)
> 303-986-3143 (fax)
> Leave voice mail or fax that I can receive as email at 303-593-9315
> Author of Visual Basic Programmer's Guide to Serial Communications, 2nd
> Edition ISBN 1-890422-25-8 (355 pages).
> For information look on my homepage at http://www.hardandsoftware.net.
> Use the Books link to order.  For faster service contact the publisher at
> http://www.mabry.com.



Tue, 04 May 2004 03:43:53 GMT  
 
 [ 7 post ] 

 Relevant Pages 

1. Barcode Scanner and VB .NET

2. Newbie Q: Using a barcode scanner with VB

3. Barcode-Scanner under VB

4. Barcode Scanners under VB

5. Programming Barcode Scanners in VB

6. vb.net and barcode scanners

7. Using barcode scanner with Access

8. barcode scanner in USB port

9. How to read Barcode Scanner??

10. RF Barcode Scanner /w Visual Studio?

11. ASP with barcode scanner

12. Barcode scanners

 

 
Powered by phpBB® Forum Software