Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word 97 Template macro communicate with a distributed COM component?

Status
Not open for further replies.

ajones

Programmer
Feb 12, 2001
20
US
I have a Word 97 template which creates an instruction set for an industrial process using a (very large) macro. The macro currently acts as the client in a set of client-server conversations with a SQL Server database. A copy of the template must reside on each desktop with the VB6 application that invokes it. I have no access to the code in the calling application, only the template macro.

The desktop machines are either Windows 2000 Workstations or NT 4.0 SP6 Workstations. The server is Windows 2000 server.

The rules are quite complex and change more frequently than was anticipated when the macro was created. Can I access a distributed COM component containing the rules from this template instead of having them hard-coded in the template and redistributing the template every time?
 
Actually, "redistributing" shouldn't be necessary if everyone is on the same server. Just store the template on the server and send them a shortcut to it. Then, you can just replace the template on the server with the updated one. Brainbench MVP for Microsoft Word
techsupportgirl@home.com
 
Thank you for your response. That was my first thought as well. Unfortunately, the location of the template is hardcoded into the calling application from the "c:" right through to the ".dot"
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top