main logo
Subject: Re: CDBK6.1 default project path
Author: Gary E. Krell
Posted: 2001/04/02 21:02:07
 
View Entire Thread
New Search


I mean, couldn't I just put the directory in "C:VFP" instead of "C:VFPCODEBOOK"? It generates this error whenever I do so.
"Error with template - Name: Expreossion evaluated to an illegal value"
This one comes up in the "goapp= CREATEOBJECT(Appclass)" line of setup.prg when i "DO Main".

I just encountered this same error attempting first use of CB6.1. I repeated the NewApp.app, again using the default project and common files location. But this time, instead of accepting the default application class name (which, I think, was that same as the application name that I provided) I removed the SPACES from the name provided. Bingo! Worked.

Conclusion: Problem is not with the path to your project; it is with spaces in the APPCLASS name. IMHO Reason: Old hands never fall for this; just us green-horns.
Gary Krell


 
©2001 Gary E. Krell
<-- Prior Message New Search Next Message -->