Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Storing Paths to Variables
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Storing Paths to Variables
Miscellaneous
Thread ID:
00995834
Message ID:
00995834
Views:
60
I have a small program that is invoked by pressing on a button on my form. For each record in my database there is a picture with a path as to where the picture is stored. what I would like to do is store the path minus the filename to a variable. For example:

C:\pictures\dress.jpg

I would like to store 'C:\pictures\'

If the file was called:

C:\mainfile\sketches\pics\10034.png

Then I would like to store to the variable: C:\mainfile\sketches\pics\

Basically I do not want the file name. How can i do this programmtically?

AMny thanks
Neil Lewis
IT R&D Manager
Velmore Ltd
Next
Reply
Map
View

Click here to load this message in the networking platform