473,379 Members | 1,201 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,379 software developers and data experts.

MS Comm Control/Wireless periferal

Now: I use a third party application where VBA is imbedded. A button down
event triggers the display of the form to which data from a scanner is to be
written to validate products inducted into a control system. The problem
with this is not being able to use the parent application while the form is
activated

Goal: To modify current or create a new application that will run in the
background on the client, polling the com port for data. When data is
received, relay a pass/fail bit to the control system that the correct
product requested is the one that was scanned.

Approach: I am unsure of the feasability of doing this. I have a motto,
"If you can think it, you can do it." I just need some advice on how my goal
can be achieved. Thanks in advance.
Nov 21 '05 #1
1 1026
Hi,
Now: I use a third party application where VBA is imbedded. A button down
event triggers the display of the form to which data from a scanner is to be
written to validate products inducted into a control system. The problem
with this is not being able to use the parent application while the form is
activated

Well, this is a bad design (IMO). There certainly is nothing about VBA that
would/should cause this problem, so the actual code implementation within it
is causing the trouble.

Goal: To modify current or create a new application that will run in the
background on the client, polling the com port for data. When data is
received, relay a pass/fail bit to the control system that the correct
product requested is the one that was scanned.
<<<<

Sure. This is the way to go.

You certainly CAN use MSComm (or download NETComm.ocx from my homepage), or
use any one of the many serial classes that are available online (I have one
in my book, too).

The "pass-fail" that you mention is easily implemented by creating an
event -- though there are other possibilities.

I'd have to know more about the actual mechanics involved (commands/response
structure) to offer any concrete advice.

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 4th
Edition ISBN 1-890422-28-2 (391 pages) published July 2004. See
www.mabry.com/vbpgser4 to order.
Nov 21 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Steve Chen | last post by:
Wireless Search with Summarized Results/Web Pages, powered by Google! We just released a wireless search service. The wireless search service takes the results returned by Google and gives key...
3
by: al | last post by:
Hi, I am creating an application in access 97, so coding in vba. I am at the stage of sending values to my external machine, but am stuck at a point. I need to send each character at an...
0
by: David M | last post by:
I am attempting to access the text to speech SDK via. C#. I setup a reference to the "Microsoft Voice Text" Control (vtext.dll) and I added the following code: HTTSLib.TextToSpeechClass v = new...
1
by: goodmannewz | last post by:
is there any control so that I can use it to parse Wireless Markup Language and show it in the control? I want to develop a window form application by using c#, it would be convenient for me if...
3
by: Frank Perry | last post by:
Howdy, I'm trying to write data out the com port. I have taken the code from the sample on the MSDN Library CD and used the parts that seem relevant. I can open the com port with CreateFile...
3
by: David | last post by:
I am trying to use the vb 6 comm control in a vb.net project. I am sending ok, but for some reason can not receive anything. I tried using the oncomm event which never is fired. I also just tried...
0
by: mngrl | last post by:
I have DB2 V8.2 installed on an AIX system and I want to see the sql errors that are occurring on the system. When I look at db2diag.log the messages all look like this: ...
2
by: Max Healey | last post by:
I have written a number of applications that control various bits of hardware via serial data. using VB6 and the comm. control now some one has asked me to do one for a specific piece of...
2
by: Hank | last post by:
Hello, I would like to get some opinions on using the Comm Port with Access 2000. We have a few jobs coming in that require us to interface with a PLC via the Comm Port. My partner feels we...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.