how to encode filenames with umlauts, etc

L

leo

hi there

i wrote a macro to extract all my contacts to vcards. for writing the files
i use:

sName = path & Item.FileAs & ".vcf"
Item.SaveAs sName, olVCard

this filename now can vontain umlaute, etc, whhich c;llash with some
filessytems, etc.

how can i avoid that? can encode the FileAs property somehow?

thanks a lot, leo
 

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