>I am giving this command in Visual foxpro 3.0b on a win 3.11 machine
>
>myobject=createobject("Word.Basic")
>
>If word is on then no problem, it works fine, but if word is not on then I get this error message :-
>
>Ole Error Code 0x800401fe, Application was launched but it didn't register a class factory.
>
>Anybody having any ideas how I can Correct this..
>
>Thanks in Advance..
Vinod, in the WrdBasic.hlp file, I found this information. It may solve your problem.
Barbara
*******************
If Word is not running when another application needs to access it, OLE Automation attempts to start it. An error occurs if Word cannot be found. To register the location of Word, in File Manager (Windows 3.x or Windows NT) or Explorer (Windows 95), double-click WINWORD6.REG or WINWORD7.REG, located in your Word program folder.
*******************