>>>This code works:
>>>
>>>
>>>THIS.BigPicture = "c:\MyPath\WZ_SearchBig.bmp"
>>>
>>>
>>>This does not:
>>>
>>>
>>>THIS.BigPicture = "WZ_SearchBig.bmp"
>>>
>>>
>>>The WZ_SearchBig.bmp file is included in the project. How can I do this so there is not a hardcoded path? Thanks!
>>
>>If it's included in the project, the hardcoded path doesn't matter. It's only needed to find the file if you're testing outside of the .EXE.
>
>Ok, that was it, but you would think Foxpro would not need the hardcoded path if it's in the project. Regardless of whether it is in development or an EXE.
I don't think I would expect that. If I'm running a program, I don't expect the program to know about whether or not I'm running it from a project, command window, etc. I want it to run the same regardless. For anything called from the program I would expect to either provide either a hard-coded path or a SET PATH statement so that it can be found.