|
-
Sep 6th, 2000, 07:30 AM
#1
Thread Starter
New Member
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
-
Sep 6th, 2000, 11:11 AM
#2
Lively Member
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!
-
Sep 6th, 2000, 03:08 PM
#3
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|