Results 1 to 3 of 3

Thread: HIde or minimize Word while my vb program is running

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    bebenia, PA, USA
    Posts
    241
    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

  2. #2
    Lively Member
    Join Date
    Mar 2000
    Location
    Fort Lauderdale, FL USA
    Posts
    112
    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
    Damonous

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Mar 2000
    Location
    bebenia, PA, USA
    Posts
    241
    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
  •  



Click Here to Expand Forum to Full Width