[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

objWord.Documents.Open ... Loading Dialog

Posted on 2009-04-18
4
Medium Priority
?
735 Views
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?


0
Comment
Question by:Amien90
  • 2
  • 2
4 Comments
 
LVL 83

Expert Comment

by:CodeCruiser
ID: 24179172

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

Author Comment

by:Amien90
ID: 24179192
i want a loading screen with processbar while opening the word document.

0
 

Author Comment

by:Amien90
ID: 24179293
objWord.Visible = False
objWord.Documents.Open(....)
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.
0
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 24179320
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.
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Creating an analog clock UserControl seems fairly straight forward.  It is, after all, essentially just a circle with several lines in it!  Two common approaches for rendering an analog clock typically involve either manually calculating points with…
This video shows how to quickly and easily deploy an email signature for all users in Office 365 and prevent it from being added to replies and forwards. (the resulting signature is applied on the server level in Exchange Online) The email signat…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
Suggested Courses
Course of the Month19 days, 18 hours left to enroll

873 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