VB6
Office 2007
I have a VB6 program that builds fairly complex Word documents.
The documents contain:
Normal text
Hyperlinks to documents stored in a Filenet image archive
Command buttons that delete rows from an Oracle database,
and also update a SQL Server database
Various Subs and Functions for control events and database
updating
Everything worked fine with Office XP--the program inserted the hyperlinks, the command buttons, the event procedures for the command buttons, and the boilerplate for the database updates, with no problems.
BUT, when i 'upgraded' to Office 2007, the code modules disappeared. I fought it a pretty hard fight, and the only way I found to get the program to save the documents with the code modules intact, was to save the documents as the old version:
doc.SaveAs strOutFN, wdFormatDocument97
My preference would be to create the Word documents in the new format, instead of the old one.
Any suggestions?
Tranman
"Adam was not alone in the Garden of Eden, however,...much is due to Eve, the first woman, and Satan, the first consultant." Mark Twain
Office 2007
I have a VB6 program that builds fairly complex Word documents.
The documents contain:
Normal text
Hyperlinks to documents stored in a Filenet image archive
Command buttons that delete rows from an Oracle database,
and also update a SQL Server database
Various Subs and Functions for control events and database
updating
Everything worked fine with Office XP--the program inserted the hyperlinks, the command buttons, the event procedures for the command buttons, and the boilerplate for the database updates, with no problems.
BUT, when i 'upgraded' to Office 2007, the code modules disappeared. I fought it a pretty hard fight, and the only way I found to get the program to save the documents with the code modules intact, was to save the documents as the old version:
doc.SaveAs strOutFN, wdFormatDocument97
My preference would be to create the Word documents in the new format, instead of the old one.
Any suggestions?
Tranman
"Adam was not alone in the Garden of Eden, however,...much is due to Eve, the first woman, and Satan, the first consultant." Mark Twain