-
Hey all,
This is the first time I'm trying to use DDE to talk to another application. In this case, I'm trying to send messages to Acrobat Exchange/Reader. To set up the connection, I'm using the following code:
Text1.LinkTopic = "acroview|control"
Text1.LinkItem = "[AppShow()]"
Text1.LinkMode = 1
When I step through the code, everything goes fine until it gets to the last line. Then it freezes up the application. I was thinking that this was the time it was taking to establish the connection, but I waited, and still nothing. I have to Ctrl-Alt-Delete / End task to unfreeze. What the heck is going on?!?
-
Microsoft never managed to get DDE working properly. Almost nobody uses it, and in vb 7 it is not supported anymore. So if you have another option use it, otherwise live with the bugs, they will never get fixed.
-
Thanks for the input, and I realize that use of DDE is discouraged my Microsoft and all, but it is also the only way I can pass commands from VB to Acrobat Reader. Unless anyone else knows how to accomplish a silent print (no dialog box) from VB to Reader using something other that DDE, I'm stuck with the old stuff.
-
Posting this hoping it will catch someone's eye again, isn't anyone out there familiar with DDE connections? The exact error that is occurring above is as follows:
I tried this code:
Private Sub Command1_Click()
Text1.LinkMode = 0
Text1.LinkTopic = "acroview|control"
Text1.LinkItem = "[AppShow()]"
Text1.LinkMode = 1
End Sub
And the sub hangs up on the last line. Gives me a RTE 282: "No foreign application responded to a DDE initiate"
-
You could try the acrobat SDK. But it's a big download.
http://partners.adobe.com/asn/develo...k/acrobat.html