Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Executing a .lnk shortcut
Message
De
24/03/2000 14:47:06
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Divers
Thread ID:
00350104
Message ID:
00350155
Vues:
22
From Load Files
The function shown below will properly load file names for a particular extension containing multiple periods. It requires the use of the Winfiles class available in the download section of the Universal Thread under Win32 and Other APIs.

* FUNCTION Ld_Files.prg
I'm not certain if I need to use load files. What I'm trying to do is open a folder on my user's desktop with the files sorted in Date/Time order. I create data and put it where a 3rd party communication program requires to format it for sending to any hand-held computers that connect up. After the hand-helds have sent their delivery or sales information, the program formats that data into a file format that I can send back to my app. The comm program doens't have an API for me to control, so our users have to click the close box after the formating process is completed. Unfortunately, they can close before the process is done and the data is lost. Our tech support group suggested that we open the folder where it puts it's re-formated files and when there are 4 files and none of them have a length of 0K, and they expected 4 files, it's safe to close. I'm working with the developers to see if there is an existing API or one that they might create. But until then, I need another solution.

Hope this explains what foolishness I'm trying this time.
Mike
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform