>I have a problem:
>Every time I try to Create a myexe.exe file from a VFP 7.0 + SP1
>I get this message:
>
>Object class is invalid for this container.
>
>A myexe.exe file is created but doesnt work then it ask for
>the main program file.
>
>It also creates a myexe.vbr file in the same dir.
>
>Does someone knows something about this error and how
>can I solve this problem to create a VFP exe file ?
>
>Thanks in Advance
>
>Peter
If it creates the VBR file then it seems to compile it as COM object. One of your classes got somehow marked as OLEPUBLIC in its Class Info tab. Try to find this class and uncheck it.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison