471,347 Members | 1,841 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,347 software developers and data experts.

Help with Interop.Word problems

Hi gang,

Very sorry if this is in the wrong place, but I am at my wits end with this
thing and am in DESPERATE need of some assistance, ANY assistance...

I have a Service that I wrote that fetches a Word doc via FTPS and prints it
locally. The service was not working due to an error I could not trap (or
didn't understand), so I decided to just write a plain old Win Forms app to
do the job until I could figure out the service issue.

I write the Win Forms app, and whenever I get to the call to create a new
Word.Application instance, my code wanders off into the weeds, never to be
heard from again. I have tried:
wordApp = New Word.Application as well as wordApp =
CreateObject("Word.Application") and both produce the same results. However,
the CreateObject call would occaisionally throw a "Cannot create ActiveX
control" exception.

Now, here is the weird part. I have another Web app that uses the same code,
and it worked fine on my dev machine... until I hit this problem. Now
suddenly the Web app is doing the same thing. As far as I know, nothing has
changed on my system (except for perhaps a Windows update, which could be the
culprit).

I have searched high and low on the Net for solutions, and have found many,
but none seem to work. I am also able to reproduce this on my deployment
machine, so one possibility I read that my OS was corrupted, does not seem
viable.

Can anyone shed some light on this, or guide me through to a solution? Help
me Obi Wan Kenobi... you're my only hope...

Please, anyone who has any insight/input/experience with this problem, help!

Frustrated, frantic, and feeling like an idiot,

Chris
Jul 21 '05 #1
0 1096

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Anand G | last post: by
reply views Thread by Kaytrim | last post: by
reply views Thread by Raconteur | last post: by
2 posts views Thread by Derek Hart | last post: by
1 post views Thread by =?ISO-8859-1?Q?S=F8ren?= | last post: by
reply views Thread by Ronak mishra | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.