.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
 
Top