Results 1 to 2 of 2

Thread: Connecting 2 VB Programs

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Jun 1999
    Location
    Ireland
    Posts
    96
    I have a VB Program written and have 1 problem. I need the 2 of them to talk to each other.

    I have created a textbox and configured it as follows:

    Text1.LinkMode = 0
    Text1.LinkTopic = "PCName!ProgName|Text1"
    Text1.LinkItem = "Text"
    Text1.LinkMode = 1

    PCName is the name of the PC that the other copy of the code is running on.

    ProgName is the name of my program (eg: ProgName.Exe)

    Text1 is the name of the Text Box

    Text is the .Text field I am trying to write to.

    But it doesn't work.

    Anybody know how to connect the 2 programs using this method. The programs are running of different machines and I know the Computers Network names, address's etc...

    Thanks in advance,

    Steve.

  2. #2
    Member
    Join Date
    Oct 2000
    Posts
    35
    I know how to do that on a single machine, but not how
    to do it in a network.
    But there is an article on the MSDN about NetDDE:

    ACC: How to Communicate with NetDDE
    Last reviewed: June 6, 1997
    Article ID: Q99939

    rfo

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width