Last post Sep 23, 2006 08:58 AM by wsc
Sep 21, 2006 01:55 PM|merkava|LINK
I am trying to create a Word doc from an ASP.NET page.
First, I added the reference to Word in my project. The code is still very simple:
Dim objWord As Word.Application
objWord = CreateObject("Word.Application")
Now when running the code, I get an error message :
"Cannot create ActiveX component"
What am I missing?
Thanks in advance for you help
Platform: VS 2003, VB.NET, Word 2002 (Word 10), Win XP pro
Sep 22, 2006 05:51 AM|satish_nagdev|LINK
i think for creating word doc from browser the requesting machine must also have ms.office see if it has or not.
Sep 22, 2006 10:30 AM|merkava|LINK
Thx for your response.
Yes, the machine has Office 2002 installed.
Actually, I had this code working a few months ago. I just got a new laptop and re-install my dev platform and find out that this function in my application is no longer working. I know that all the softwares I have are good enought to make it work, but I am
cleary missing something in my configuration. Reference missing? Dll missing? Privileges issue?
Sep 23, 2006 08:58 AM|wsc|LINK