Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining file types and validity
Message
From
29/05/2001 05:19:51
 
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00512062
Message ID:
00512099
Views:
12
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.
>
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform