|
-
May 2nd, 2000, 09:41 PM
#1
Thread Starter
Addicted Member
Does anyone have sample code that could demonstrate how to hide/minimize Word while my vb program is running.
I need to call Word and have it print a doc while my vb program is still running and visual to the user.
Thanks
-
May 2nd, 2000, 09:58 PM
#2
Lively Member
If I'm not mistaken, as long as you don't set the Word object to object.visible = true, Word won't appear. Just make sure to release the object correctly or everytime someone runs your application, you will leave an instance of Word running.
if that doesn't work then:
Dim wd as word.application
set wd = CreateObject("Word.Application") 'Or GetObject
wd.Visible = False
-
May 2nd, 2000, 10:48 PM
#3
Thread Starter
Addicted Member
Thank You worked great!!!
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
|