Results 1 to 3 of 3

Thread: DDE using VB

  1. #1

    Thread Starter
    New Member
    Join Date
    Sep 2000
    Posts
    2

    Question

    Hello Experts..

    How do I create a vb application app which does DDE with other application which runs on the same machine..?

    any sample will be much appreciated.

    Thanks
    Cheers
    Shaila

  2. #2
    Lively Member
    Join Date
    Aug 2000
    Location
    Ontario, Canada
    Posts
    79
    I had problem's figuring this one out, I know that this is not the right way of doing it, but since no-one else that knows better has said anything, I will let you know what I do:

    Create a form with just a simple TextBox on it, called Text1 then the following works, this is an example that I used to communication with Goldmine Prospect management:

    Code:
        Text1.LinkMode = 0
        Text1.LinkTopic = "GOLDMINE|DATA"
        Text1.LinkMode = 1
        Text1.LinkItem = "[Open(Contact1)]"
    Once you set the Link Topic (being the Application and the section) then use LinkItem to send commands to that DDE connection. When the form closes, so does the DDE connection. As I said above, not the best, but it does work!

  3. #3
    Addicted Member Lemon Lime's Avatar
    Join Date
    Jul 2000
    Location
    Space, the final frontier, go along the yellow brick road,turn left then left again. In the service window, ask for the insane dude.
    Posts
    167

    Question

    This code is also has been in the help but i want to know how to handle DDE with my program like so:

    when the program starts it should send dde to the same program: "[OPEN]" or something... then the other one will colse itself, thus this program remain with one interface!!!

    i thought, that using the registry with a self-destruction key (don't remember the name of these keys) that removes on machine startup... but i think it's not as efficient as DDE...

    Please respond if u can tell me how to do it...

    cya

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