-
Transfering values between programs
Does any one know how to transfer values between 2 progrmas? If i have a running
EXE program and a data entry screen displayed, how can i fill the values
of this screen fields from anther program, like reading from a barcode device
in anther program and transfer the values to the EXE data entry screen?????!?!!?!
-
Re: Transfering values between programs
"Kotb Ibrahim" <qutb@hotmail.com> wrote:
>
>Does any one know how to transfer values between 2 progrmas? If i have a
running
>EXE program and a data entry screen displayed, how can i fill the values
>of this screen fields from anther program, like reading from a barcode device
>in anther program and transfer the values to the EXE data entry screen?????!?!!?!
Look at the Sendkeys function. This function allows you to send key strokes
from your program to another program.
-
Re: Transfering values between programs
I've tried the sendkeys command, It works fine when you know the entry sequence
of the data entry screen, but I'm just wondering if there is any other way
using API.
"mguzman" <mguzman@tepik.com> wrote:
>
>"Kotb Ibrahim" <qutb@hotmail.com> wrote:
>>
>>Does any one know how to transfer values between 2 progrmas? If i have
a
>running
>>EXE program and a data entry screen displayed, how can i fill the values
>>of this screen fields from anther program, like reading from a barcode
device
>>in anther program and transfer the values to the EXE data entry screen?????!?!!?!
>
>Look at the Sendkeys function. This function allows you to send key strokes
>from your program to another program.
-
Re: Transfering values between programs
> Does any one know how to transfer values between 2 progrmas? If i have a
running
> EXE program and a data entry screen displayed, how can i fill the values
> of this screen fields from anther program, like reading from a barcode
device
> in anther program and transfer the values to the EXE data entry
screen?????!?!!?!
There are numerous ways. The simplest way in VB is to make one of the EXEs
an ActiveX EXE. That way you simply make function calls into the other to
get your data.
If they both must be standard EXEs, then look up Interprocess Communications
in MSDN. If you find a method you like, do a search on Google, or
CodeHound.com for VB samples.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks