-
I've automated Outlook with VB, but when the message's (RichTextBox) contents are sent to Outlook, only the RTF coding is displayed in the body when the mail is recieved.
The object library for outlook has the body defined as String, and not rich text. Does anyone know how to display the message's contents (WYSIWYG)? Perhaps a newer object library that defines "body" as RTF rather than txt?
-
request
hi JT, i m sorry i don't have an answer for your question. could you please tell me where i can find info on how to control Outlook with VB? Regards,
-
Hi Toni,
I found sufficient help in this document below:
http://www.vb-world.net/articles/outlook/
Just check the project code though. The line:
Set Dbs = OpenDatabase(App.Path & "Contacts.mdb")
Needs another "\" before "Contacts" so it looks like
Set Dbs = OpenDatabase(App.Path & "\Contacts.mdb")
Try it out, (Download Contacts.mdb) and then customize the code to open your own database with your own fields
good luck
-
thnx
:-)
u can get enourmous info at http://12ghosts.com/pgp/pgpoutlk.htm. no where can help u further about outlook. best of the best.