Solved

.net VBA word safemode

Posted on 2016-11-09
1
53 Views
Last Modified: 2016-11-14
Hi,

I have a little app that launches word and reads from it, the problem is that when I use the following code it freezes my app until WORD is fully loaded, would there be a way to open the Word.Application in SAFE mode and read from it, it's just that in safe mode it opens up instantly.
Dim appWord As New Word.Application
appWord.Visible = False
Dim docWord As New Word.Document

Open in new window

0
Comment
Question by:FCapo
1 Comment
 
LVL 20

Accepted Solution

by:
darbid73 earned 500 total points
ID: 41881324
The way you stop your App from being blocked from long running methods is to use threads. However and this is important, VBA does not have threading and more importantly you should not use different threads with office.

Do you know why Word opens so slow? Have you disabled all addins to see if that helps? After opening word what do you do, do you open a specific document?
0

Featured Post

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK (http://www.microsoft.com/en-us/download/details.aspx?id=27876) for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

837 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