|
-
Nov 27th, 2000, 12:32 PM
#1
Thread Starter
Junior Member
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?!?
-
Nov 27th, 2000, 01:25 PM
#2
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.
-
Nov 27th, 2000, 02:27 PM
#3
Thread Starter
Junior Member
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.
-
Nov 28th, 2000, 10:32 AM
#4
Thread Starter
Junior Member
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"
-
Nov 28th, 2000, 12:30 PM
#5
You could try the acrobat SDK. But it's a big download.
http://partners.adobe.com/asn/develo...k/acrobat.html
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
|