.Net 1.1 fails to automate Word 2000

T

Tony Hedge

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top