Discussion Locked

Create.Obect("Word.Application")

0 helpful
4 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I've been trying to populate a word document on the fly using asp. But when I try to run this line of code the browser comes back with an error that it can't create the object, "Word.Application"

I've looked all over MS website and other forums and all I can find is that I need to register the object but no explanation how.

Can someone help please?

Thanks

4 replies

by johann.schadler

Be sure to spell the method name correct (in your posting 'j' is not present!).

Maybe you already know: To get this code running you need do decrease IE security. You must permit execution of ActiveX controls.

Regards, J. Schadler

by csurfleet

Why would you need to lower IE security for a Server-Side component?

Have you registered the component using Regsvr32? Try this:
Click Start > Run
type "regsvr32 " and the path of the dll
That should solve the problem

This discussion is closed to new replies.