I'm using VB6 against an SQL Server 7 database.
I have an OLE object on a form, that when double-clicked, will open a Word Document.
I'd like to control the SaveAs prompts from the File Dialog folder so that the Word documents will be saved into the correct directories.
I was thinking of creating two word templates -
Both of them will have macros underneath which will prompt the user for the correct directory.
One that will be read-only in which the user will be prompted to SaveAs to his own D:\ drive
and another one in which it will be editable and saved into the current directory, along with any changes.
All of our Word documents are saved in a folder on the server.
My question is:
Do you know if there is any way to open word documents based on different templates?
Can you do this with VB?
Thanks
John
I have an OLE object on a form, that when double-clicked, will open a Word Document.
I'd like to control the SaveAs prompts from the File Dialog folder so that the Word documents will be saved into the correct directories.
I was thinking of creating two word templates -
Both of them will have macros underneath which will prompt the user for the correct directory.
One that will be read-only in which the user will be prompted to SaveAs to his own D:\ drive
and another one in which it will be editable and saved into the current directory, along with any changes.
All of our Word documents are saved in a folder on the server.
My question is:
Do you know if there is any way to open word documents based on different templates?
Can you do this with VB?
Thanks
John