thanks for the sample Dragan
>>I don't know of a better way...
>>
>>In my case, I had added a file manually to cause my woes... I have seen certain cases where the project mgr seems to skip over files that should be included in the build with no explanation.
>
>My trick to add files to project is an intellisense macro... script goes like this:
>
>
LPARAMETER oFoxCode
>oFoxcode.Valuetype ="V"
>return [_vfp.projects(1).files.add("~")]
>
>...and I only have to drop the filename from the previous line where I was editing it. Project manager then knows where to put it by its type.
>
>In your case, having a file in the project marked as wrong type is sure to produce unpredictable results. Don't remember whether I had such a problem; probably did sometime in 2.x :). I can only imagine how hard would it be to catch such an error.
Thanks,
Stacy
Black Mountain Software, Inc.