Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open .MSG file in VB.NET

Status
Not open for further replies.

Bhavna13

Programmer
Dec 16, 2004
15
0
0
ZA
hi,

Please help me. I have written an application in vb.net. It opens my outlook inbox and for each message there saves it as a .MSG file opens the file stream and stores it to a sql database and deletes the file and removes the mail item from my inbox. so ive storred the entire mail in the database. Theres some stuff to do with searching that all works fine.

When i need to reopen the mail i open a file stream and basically recreate the .msg file. i want to open this file in vb.net.

i know that you can use this command to open it :

System.Diagnostics.Process.Start(Me.lblPath.Text & "TempEmail.msg")

but this allows the user to print or do anything they want to the email without any control from my application. Is there any other way that i could open it? I need to know who opened it, and what they did (i.e. print, opened attachments, etc).

Thanx for your help.
Bhavna.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top