First you need to establish a link from your source application to WinWord and set the LinkTopic to "System"
After that, all you have to do is issue the following DDE message
[FileOpen("FILENAME")][Fil
Make sure you close the DDE connection after you are done.
All the information about opening and closing DDE connections are in the VB5 help system, and the DDE commands come from a friend of mine. I have not tested the interaction with WinWord myself but this should work. I will be adding similar coding to one of my own applications, so you can bet I will use it myself, well when I get to that portion of the coding.
If you need more detailed information, I can generate a code snippet to do this for you.
Main Topics
Browse All Topics





by: bruncheyPosted on 1999-04-22 at 08:01:56ID: 1485365
Are you using Visual Basic? if so why are you using DDE?