Group:  Microsoft Word ยป microsoft.public.word.application.errors
Thread: .Net 1.1 fails to automate Word 2000

DotNetBag
.NET Development Newsgroups

HTVi
TV Discussion Newsgroups

Our Hot Pick: Rising Antivirus 2006 - Certified by TUV & Checkmark! Get 10% discount by entering this coupon code: ONDISCOUNT10
Rising Antivirus 2006

.Net 1.1 fails to automate Word 2000
Tony Hedge 29.09.2006 20:13:02
My machine:
XP Pro SP2, using .Net 1.1

The annoying thing is that this used to happen intermittently, now it's
happening most of the time. My VB.NETapp needs to build a Word doc
programatically, but the error I am now geting frequently is 'Access is
denied' when I execute the following line:

w = new Word.Application

The app is set to impersonate my account, which has admin privileges on the
machine. All the references point to the correct interop dlls (I've deleted
and readded just in case) and I have even rebooted. Doesn't do anything.

But some days I can instantiate Word. Can anyone tell me what causes this
behavior????

Thanks - Hedge

Home | Search | Terms | Imprint | Contact
Newsgroups Reader - provided by WiredBox.Net