C
Charles A. Lackman
Hello,
I have an application that opens a word document like so:
With WrdApp
..Documents.Open(System.Windows.Forms.Application.StartupPath +
"\Template.doc", missing, missing, missing, missing, missing, missing,
missing, missing, missing, missing, missing)
..Selection.Paste()
..Visible = True
..Activate()
End With
This works great but when I close word the application says
This file is in use by aother application or user. (.......\Normal.dot)
When I click OK I get a "Save As" Dialog Box that wants me to save the
normal.dot
When I click CANCEL and try to exit Word the following message is displayed:
Changes have been made that affect the global template, Normal.dot. Do you
wnat to save those changes?
How do I make this stop doing this. I just want to open a document from a
..NET application.
Thanks,
Chuck
I have an application that opens a word document like so:
With WrdApp
..Documents.Open(System.Windows.Forms.Application.StartupPath +
"\Template.doc", missing, missing, missing, missing, missing, missing,
missing, missing, missing, missing, missing)
..Selection.Paste()
..Visible = True
..Activate()
End With
This works great but when I close word the application says
This file is in use by aother application or user. (.......\Normal.dot)
When I click OK I get a "Save As" Dialog Box that wants me to save the
normal.dot
When I click CANCEL and try to exit Word the following message is displayed:
Changes have been made that affect the global template, Normal.dot. Do you
wnat to save those changes?
How do I make this stop doing this. I just want to open a document from a
..NET application.
Thanks,
Chuck