Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP and Outlook and Signature
Message
 
To
27/07/2009 23:06:28
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Environment versions
Visual FoxPro:
VFP 9 SP2
Miscellaneous
Thread ID:
01414961
Message ID:
01414992
Views:
88
>I have the code to create new e-mail from Fox.
>
>I have two signatures defined. One for english, one for french. Any way to insert the right signature in my newly created e-mail?

Not that I know of (assuming you are using automation or some such thing with outlook here). You can however just go ahead and read it from one of the files in the following location...

C:\Documents and Settings\MyUserName\Application Data\Microsoft\Signatures\

or Vista...

C:\Users\MyUserName\AppData\Roaming\Microsoft\Signatures\

... plenty of posts around on getting the path to special windows folders, GetEnv() will give you the UserName... then just read the format (rtf, txt, html) you want and plug it into your email (Microsoft's html is bloated like always of course).
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform