>Error instantiating Class C:\vfp\baseclas.
>LOCATE IGNORE CANCEL HELP
>
>When I exit I get a messagebox saying where is Mainmenu.
As a workaround, try putting a SET DEFAULT TO (mydirectory) at the beginning of your main program. I get those messages when I'm in my default directory trying to run an app that doesn't know where everything is...