Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How can I get short path name in VFP?
Message
 
À
16/10/2002 17:39:48
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00711861
Message ID:
00712056
Vues:
12
Nancy,

The application is built in such a way that it feeds to the printer driver file names dynamically based on the current record in a table. The application organizes the files printed into a sub-folder of the application. It is not predictable where the users will install the application. Usually, it would end up in \Program files\company\application folder. That is to say, the sub-folder would be \program files\compay\application\documents. If I have a file named "abc.tif", this is would be the long path: \program files\company\application\documents\abc.tif.
Therefore, I may very well get a long path and a long file name.
My application has to be able to convert long path and file names to short ones.

Thanks,

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform