objWord.Documents.Open ... Loading Dialog

Posted on 2009-04-18
Last Modified: 2012-05-06
is there an options for this? .. what i do is that i first use objWord.Visible = False .. when Do so macros in the background (takes a few seconds) and Then do a objWord.Visible = True..

Now i want wa loading dialog ..

while testing .. a few times 'v seen a loading dialog .. including processbar .. i didnt programmed anything for this .. i think it has something to do with Documents.Open and is in the
Interop itself ..

anyone knows where i'm talking about?

Question by:Amien90
    LVL 83

    Expert Comment


    I do not know what you are talking about and what is the actual problem.

    Author Comment

    i want a loading screen with processbar while opening the word document.


    Author Comment

    objWord.Visible = False
    objWord.Visible = True

    at some point i was seeing a loading screen .. including procesbar .. this text was in the actually dialogbox: Loading Dialog

    but no i dont get this dialogbox anymore.. i didnt programmed anything for this.
    LVL 83

    Accepted Solution

    One option is to use a backgroundworker. Design a loading form yourself, show it before calling the worker, open the document using the work, and then close the loading for on the work completed event.

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    This article explains how to create and use a custom WaterMark textbox class.  The custom WaterMark textbox class allows you to set the WaterMark Background Color and WaterMark text at design time.   IMAGE OF WATERMARKS STEPS Create VB …
    1.0 - Introduction Converting Visual Basic 6.0 (VB6) to Visual Basic 2008+ (VB.NET). If ever there was a subject full of murkiness and bad decisions, it is this one!   The first problem seems to be that people considering this task of converting…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
    In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor ( If you're interested in additional methods for monitoring bandwidt…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    10 Experts available now in Live!

    Get 1:1 Help Now