Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming VBA / July 2003

Tip: Looking for answers? Try searching our database.

Subject had bad chars for file name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
John Ford - 31 Jul 2003 14:43 GMT
I'm saving email items to .msg files, using the subject as part of the file name. Characters such as "?" are invalid for file names -- what's the usual remedy for this? Is there an easy way to remove/replace all invalid characters in a string?

TIA,
-jcf
Ken Slovak - [MVP - Outlook] - 31 Jul 2003 15:05 GMT
I usually use a series of Replace() functions. What you replace with
is your choice. I just usually use "".

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Lead Author, Professional Outlook 2000 Programming, Wrox Press
Lead Author, Beginning VB 6 Application Development, Wrox Press
Attachment Options
http://www.slovaktech.com/attachmentoptions.htm
Extended Reminders
http://www.slovaktech.com/extendedreminders.htm

I'm saving email items to .msg files, using the subject as part of the
file name. Characters such as "?" are invalid for file names -- what's
the usual remedy for this? Is there an easy way to remove/replace all
invalid characters in a string?

TIA,
-jcf
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.