473,565 Members | 2,770 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Read data from PC port code example: VB6.0

1 New Member
Hello experts,

I m working in SAP.

But this time i m working on program of weighbridge.

An ABAP application is developed to get the vehicle and material information along with the gross and tare weight of vehicles. [u]The application executes a visual basic program on the local PC that captures [/U] weight data from the Avery digitizer and generates an unique weighment-id for every weighment. Against the weighment-id vehicle and material information is stored , depending on the type of material transfer (e.g. Production Material , Dispatch, Receipt, Miscellaneous ).This weighment id is further used for posting Goods Receipt , Production Booking and creating dispatch documents through standard SAP transactions. Field-Exits are used to populate the weight and vehicle information automatically against a weighmentпїЅid. Further, BADI ( Business Add-in ), at the time of material document save, is used to set the status of the weighment-id as completed.

Avery digitizer is connected to the PC - Port. Function Modules 'WS_EXECUTE' is used to execute the external VB program which copies the PC's port data to clipboard. Further, function module 'CLPB_IMPORT' is used to get the weight data from clipboard.

this is the explanation of my program.But now wht i wnt u know.I wnt tht small program in VB which copies the PC's port data to clipboard.

i don't know how to write this program.Plz anyone can help me for this.It's very urgent one.

I hope for positive reply.I just wnt tht small program code in VB.

Regards,
Archana
May 2 '08 #1
1 5773
Dököll
2,364 Recognized Expert Top Contributor
Alright, good buddy, here is what I could find, the rest is in your hands, might not be much but it relates to paralel ports:

http://www.mvps.org/rgrier/parallel.htm

You can also fetch my results, see what you have accomplished:

http://www.google.com/search?q=Read+...&start=10&sa=N

I also changed your title to allow better hits to your question.

Dököll
May 3 '08 #2

Sign in to post your reply or Sign up for a free account.

Similar topics

3
5029
by: collinm | last post by:
hi i send a command to a led display, the led display is suppose to return me some character i write a string on a serial port void ledDisplayExist() { char msg={'\0', '\0', '\0', '\0', '\0', '\1', 'Z', '0', '0',
5
18184
by: Darrell Wesley | last post by:
Is there a good source of information on how to read a USB port, in particular reading data from a BarCode reader?
6
3580
by: Casey Bralla | last post by:
I'd like to read ASCII data from a serial port, but (once again) I'm having trouble getting started. (Can't seem to find the basic level of docs to get going <sigh>) I'd like to use only standard "built-in" modules if possible. Could somebody offer a simple code-snippet to get me started reading from a serial port? Thanks!
1
2846
by: laxlou | last post by:
Hi, I'm using script to grab following comma separated data from telnet port. (x86, Windows, ActivePerl) There is coming quite a lot of data from port. several lines per second producing hudreds kilobytes logfile in small time. Link to example rawdata which is coming out from telnet port: http://oh2gax.dyndns.org/~ode/kamaa/logfile_raw.txt...
5
2615
by: Jens | last post by:
Hello, I have been looking for some C-code which listens on a user-defined port for incoming data traffic. When data is received, the data is written to a file. I found some C-code (server) that almost does the job. It listens on a user-defined port and responds to incoming data by writing how many times somebody has tried to connect to...
4
4614
by: chenatcr | last post by:
Hello, I added a serial-USB converter to my laptop, it appear as USB serial port COM4, and I wrote an application to read 78k data from this port. In my VC++ express code, I defined ReadBufferSize = 78k, and ReceivedBytesThreashold = 78k so that I can get the whole data with one ReadExisting() method when DataReceived event fires.
3
9698
by: madsornomads | last post by:
Hi all, I have a problem with reading from a Java server after I have written to it - it just hangs. It works fine if I just write to the server and not try to write. I have read the HOWTO on sockets - and it states that there is a problem (something about flushing), but not what the solutions is. Nor do google. Can somebody please help? ...
1
3639
by: ghjk | last post by:
I'm write code to read data from GSM modem. but it couldn't read modem response. Could you please help me? I'll post my code. using System; using System.Collections.Generic; using System.ComponentModel; using System.Data; using System.Drawing; using System.Text; using System.Windows.Forms; using System.IO.Ports; using System.Threading;
2
10392
by: mmrasheed | last post by:
Hi, I am newbie in python. I am working on Telit GM862 GPS/GPRS module which has python interpreter built in. But it seems this problem is pretty much related to general python structure. I need a promt/terminal when the device is connected to PC. If user enters a command by serial port and press "Enter" then the data is read by the device...
0
7666
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7584
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7888
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
1
7644
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
6260
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
5213
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3626
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2083
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.