Transfering values between programs


DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 4 of 4

Thread: Transfering values between programs

  1. #1
    Kotb Ibrahim Guest

    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?????!?!!?!

  2. #2
    mguzman Guest

    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.

  3. #3
    Kotb Ibrahim Guest

    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.



  4. #4
    Peter Young Guest

    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
  •  
HTML5 Development Center
 
 
FAQ
Latest Articles
Java
.NET
XML
Database
Enterprise
Questions? Contact us.
C++
Web Development
Wireless
Latest Tips
Open Source


   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center