![]() Int position1 = signature.IndexOf("src", position) Int position = signature.LastIndexOf("img") private string ReadSignature()ĪppDataDir = Environment.GetFolderPath() + "\\Microsoft\\Signaturer" Signature = signature.Replace(fileName + "_files/", appDataDir + "/" + fileName + "_files/") Įdit: See here to find the name of the default signature for Outlook 2013 or answer in this thread for 2010.įor some reason libraries are made a bit different depending on language installed.Īlso a signature can hold a logo-image, wich I do not know why, but it is made in 2 files in 2 different sizes. String fileName = (fiSignature.Extension, string.Empty) StreamReader sr = new StreamReader(fiSignature.FullName, Encoding.Default) String appDataDir = Environment.GetFolderPath() + "\\Microsoft\\Signatures" ĭirectoryInfo diInfo = new DirectoryInfo(appDataDir) įileInfo fiSignature = diInfo.GetFiles("*.htm") Here's a code sample if you choose to go this route. I have also confirmed that the signature location is the same for Outlook 2003, 2007, and 2010. I have confirmed that Outlooks signatures on Windows 7 live in the same place as Vista. The thread only mentions Window XP and Windows Vista signature locations. ![]() It explains where the signatures can be found in the file system as well as how to read them properly. ![]()
0 Comments
Leave a Reply. |
Details
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |