|
-
Jan 10th, 2000, 11:12 AM
#1
Thread Starter
Member
Hi,
How do I use DDE in one application to send data to another VB app?
I still can't make sense from those Excel examples in MSDN, thank you.
-
Jan 10th, 2000, 01:30 PM
#2
Hyperactive Member
I tried the same time using VB4 and VB5 to send command forward and backward, including many to one com.
DDE does works, but ....
you have to aware about the synchronisation problem. For example pgm A send command to B, once after sent, A will continue (may send another command) while B is still in process, which will cause data loss ....
-
Jan 10th, 2000, 03:14 PM
#3
Thread Starter
Member
Hmm..
Than what's the best solution?
Thanks.
-
Jan 10th, 2000, 04:26 PM
#4
Hyperactive Member
I suggest you to use C to write DLL, (I wrote small sample before, but it is not stable), which can control the DDE acknowlegement. In VB, it seems to me that the problem is whenever your program receive, it will do the acknowledgement to the sender. If you use C++, you can defer the acknowledgement until you finish the processing. But, I am not sure whether this will hang-up the sender program.
I always get annoyed with the synchronisation when writing windows program.
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
|