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