Results 1 to 5 of 5

Thread: DDE connection freezing up (Please help!!!)

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30
    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?!?
    Matt

  2. #2
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    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.

  3. #3

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30
    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.
    Matt

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Jul 2000
    Posts
    30
    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"
    Matt

  5. #5
    old fart Frans C's Avatar
    Join Date
    Oct 1999
    Location
    the Netherlands
    Posts
    2,926
    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
  •  



Click Here to Expand Forum to Full Width