>Sitting here again in a VFP training class and have encountered something very weird, no, not a mirror. < g >
>
>Using GETOBJECT with a Word 2000 document loads the doc up on my laptop that has Office 2000 Professional installed. BUT, the student machines just have Word 2000 installed, NOT the entire Office suite. The problem is that the following code works fine on my laptop BUT brings up Word, but without the document loaded.
>
>oMyWord = GETOBJECT("C:\VFPTraining\letter.doc")
>
>Yes, the document exists on the student machine and my laptop.
>
>The question is, does GETOBJECT() only work correctly when full blown Office is installed or should it work if only Word is installed??
Does the GetObject work if you follow it with the parameter telling what to bring up?
oMyWord = GETOBJECT("C:\VFPTraining\letter.doc","Word.Application")
Could be .doc is not know what to bring up. Just a guess.
Bret Hobbs
"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope