Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Word2007 Automation problem

Status
Not open for further replies.

florindaniel

Programmer
Dec 4, 2009
120
RO
Hello,

I'm using VFP9 Sedna and now I am facing this problem:
In an application I have this line loWord = CreateObject("Word.Application"); it worked fine until now, on a Win7 + Word2007 environment and it also works on other configs.

So at this line, Word2007 enters some Setup procedure and gives me lots of error messages, mainly related to Normal ... something (I think the template file); when I try to quit Word, there's another error message about MSXML5.0.

I've reinstalled Word but there's no problem there (Word works fine when launched separately). I've installed VFP9 on that machine and the same line, onto the Command Window, works fine. The problem is only when there's an .EXE file.

I suppose I don't have something included in my exe file (btw: even with vfp9 installed, the .exe file don't work).

I'm very confused (and looking closer :) so is this message also) but maybe you have some clues about this.

Thank you
Daniel
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top