|
-
Apr 7th, 2003, 03:56 AM
#1
Thread Starter
New Member
close microsoft word from vb.net
Hi!
First sorry for my bad english!
I have a problem
i open in a vb.net programm a windows document:
xlApp = CreateObject("Word.Application")
xlApp.Documents.Add(template:="g:\vertrieb_Abo_Mark\worddateien\VBAWordvorlagen\angebottest.dot")
xlApp.Visible = True
xlApp.WindowState = Word.WdWindowState.wdWindowStateMaximize
now i want that the opened document only print out the site and then close!
How can i close it?
and when i close it then comes the question :
Do you want to save changes in document1? "Yes" "NO" "Cancel"
The document should be never saved!
Thanks for help
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|