|
Beginning VB 6 For coders who are new to Visual Basic, working in VB version 6 (not .NET). |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Beginning VB 6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
|
|
|
October 30th, 2006, 09:13 AM
|
Authorized User
|
|
Join Date: Aug 2005
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
USB Port
I am developing an application in VB6, where I have to communicate with a device (Electronic weighing scale)through USB port, but I don't know how to open, read, and close this port in VB6. If someone knows how to do it, or has sample code, I would be highly grateful. Thanks you very much.
(I have already done the same work through Serial Port using MSComm control).
Best regards,
Khurram Adeeb Noorani
|
October 30th, 2006, 12:52 PM
|
Friend of Wrox
|
|
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
|
October 31st, 2006, 04:07 AM
|
Authorized User
|
|
Join Date: Aug 2005
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
good morning
@woodyz
thx 4 the helo friend ... but it is really very difficult 4 me 2 find the required thing in that website ... iz there anyone who can tell me the actual code to perform the aboved mentioned task
i'll w8 4 a good reply
|
October 31st, 2006, 04:10 AM
|
Authorized User
|
|
Join Date: Aug 2005
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
helo = help *****
|
October 31st, 2006, 12:21 PM
|
Friend of Wrox
|
|
Join Date: May 2006
Posts: 643
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am suggesting that you get Jan Axelsons book.
Woody Z http://www.learntoprogramnow.com
|
October 31st, 2006, 06:39 PM
|
Friend of Wrox
|
|
Join Date: Nov 2004
Posts: 1,621
Thanks: 1
Thanked 3 Times in 3 Posts
|
|
USB communication takes place more at the level of a device driver. This is not an easily implemented thing. You are going to need a really well guided trip through this topic to get it right. Woody Z is giving you pure-gold advice. I looked into this myself, and am excited to see that there are books like Woody recommended, because that is exactly what's needed.
This absolutely is not a "Beginning VB" type of issue. Follow Woody's advice.
|
December 20th, 2006, 03:18 AM
|
Registered User
|
|
Join Date: Dec 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Quote:
quote:Originally posted by kanoorani
I am developing an application in VB6, where I have to communicate with a device (Electronic weighing scale)through USB port, but I don't know how to open, read, and close this port in VB6. If someone knows how to do it, or has sample code, I would be highly grateful. Thanks you very much.
(I have already done the same work through Serial Port using MSComm control).
Best regards,
Khurram Adeeb Noorani
|
Naveed Dastagir Qureshi
|
February 17th, 2009, 01:05 PM
|
Registered User
|
|
Join Date: Feb 2009
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
I am trying to do something similar with VB 08. Can you help me out and tell me what you found? Thanks.
Will M.
[email protected]
|
August 12th, 2009, 04:28 PM
|
Registered User
|
|
Join Date: Aug 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
USB Scales another Solution
Hi kanoorani,
To communicate directly with a USB Scale (Do not come with a serial port driver) you can also use this software "Bill Redirect" from company www.BillProduction.com
Documentation:
How send USB Scale/Balance weight into your application Documentation:
http://www.billproduction.com/Bill_R..._scale_USB.pdf
Mark
|
|
|