>Hi,
>
>on a new laptop with Win 8 64 bit, Office 2013 and VFP9 SP2.
>
>Some code which works fine on my old laptop is causing a dialog to display:
>
>Microsoft Office cannot verify the license for this product. You should repair the Office program by using Control Panel.
>
>The line of code that causes the dialog is:
>
>
loWord.Documents.Add()
>
>I've tried repairing, I've tried entering the product key again, no success.
>
>Google has not given me any other ideas than those I tried. Any suggestions?
Have you searched for this problem - I recall reading about similar problem in MSDN VFP forum.
If it's not broken, fix it until it is.
My Blog