which function is used when drag & drop to explorer, to create a legal filename ?

E

El

Hy to everybody ... and thx for your help.

I have written a small tool to save my outlook E-mails to .msg files
The filename of the .msg file is build on the SUBJECT of the mail
But a lot of forbiden characters (for windows/DOS) could exist in this
subject !
Then I need to replace them by ... for exemple '_'
I'm using the <replace> command in VB but ... sometimes ... a bad characters
continue to worry me. ;-))

When you drag & drop a mail from Outlook in the explorer, the "save" is done
with a good filename based on the subject of the mail but WITHOUT the
forbiden characters !!! Then I suppose it exist a function, in a DLL, or an
API .... to help me.

Do you know it ?

Regards,
El.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top