Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Storing Paths to Variables
Message
De
15/03/2005 03:54:01
Jon Neale
Bond International Software
Wootton Bassett, Royaume Uni
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00995834
Message ID:
00995837
Vues:
18
Hi Neil,

addbs(justpath("C:\pictures\dress.jpg"))

HTH

Jon

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform