Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Determining file types and validity
Message
De
29/05/2001 05:19:51
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00512062
Message ID:
00512099
Vues:
13
David Thanks for your reply.
This shows some way, but wasn't exactly what I was looking for.

It just wanted to hand over the file to some function, and have the function based on the contents of the file (the header of the file?), determine which type it is.

After some digging around I stumbled onto the FindMimeFromData() function.
It think this one is the one I was looking for.
I also found it is available in the URLMON.dll.

The problem now is that I don't succeed in having it working from within VFP.

So if anybody can help me out on this.

ThanX.


>Yves,
>
>Check this article http://www.levelextreme.com/wconnect/wc.dll?UniversalThread~?2,31,Forum=0,18,29
>
>If you just want to send the file to it's registered program you can use ShellExecute() or the _shellexecute class. There's some examples over on m website.
>
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform