Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Interaction between VB Programs

Status
Not open for further replies.

afarnes

IS-IT--Management
Mar 29, 2001
11
0
0
GB
Could somebody please give me an example of changing settings on one vb program from another. For example, lets say I had program "ProgA" with a button on it. And another program "ProgB" with a text box on it.
"ProgA" is running on computer "A" on a network, and "ProgB" is running on Computer "B" on the same network. When the button is clicked on "ProgA" the Text box on "ProgB"'s value changes.

Any help would be greatly appreciated. Thanks in advance.
 
create two exe
and pass command line parameters from one exe to another exe
or u can use winsock control

Bye

prasad
sawantprasad2001@yahoo.com

 
If you look up VB Help on 'Using the Winsock control' you will find just what you want.
Looks like you would be using UDP protocol for your type of application.
There is also some good stuff at:
Let me know if this helps
________________________________________________________________
If you are worried about how to post, please check out FAQ222-2244 first

'There are 10 kinds of people in the world: those who understand binary, and those who don't.'
 
Cheers guys, using the winsock control will do the trick. Also, thanks for the link, there's some good examples on there.

Thanks again.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top