Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
FULLPATH() Problem
Message
From
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:
00112827
Views:
19
>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
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform