Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FULLPATH() Problem
Message
 
To
30/06/1998 05:18:44
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00112521
Message ID:
00112870
Views:
26
>>I need to have the fullpath of an icon to be used in an OLE list view control. I have my path setup to point to the graphics sub directory, e.g. SET PATH TO 'g:\acmds\graphics;g:\acmds\data;g:\acmds\utils'
>>
>>setpath is on
>>
>>When I run the command SETPATH('desktop.ico') in the development environment, from the command window I get 'g:\acmds\graphics\desktop.ico', but when I run it from the program I get 'g:\acmds\desktop,ico' and since there is no desktop.ico in the root directory the program will never establish an icon.
>>
>>Am I missing something on fullpath or is there a bug/feature that I dont understand about it.
>>
>>TIA
>In fact, "fullpath" has nothing to do with its name refers. To be sure use file(), adir(), directory(). ie: ? fullpath("qwerty.zxc") would return curdir()+"qwerty.zxc" on every machine that "qwerty.zxc" never exists.
>Cetin

I will be checking the return with FILE() to ensure that the file is there, but I have yet to have coinfidence in FULLPATH() returning what I think it should be returning. One of my collegues also has seen where FULLPATH() does not return what it should in all cases. We are investigating this and trying to figure out for 100% that it is not on our end and that it can be reproduceable.

Thanks for the help.
Bret Hobbs

"We'd have been called juvenile delinquents only our neighborhood couldn't afford a sociologist." Bob Hope
Previous
Reply
Map
View

Click here to load this message in the networking platform