Hi All,

I have used the following code to open the outlook express compose message window and fill the To, Subject and body fields. How do I attach a file to the compose message window from code.

Dim myProcess As System.Diagnostics.Process
Dim strMail As String
strMail = "mailto:[email protected]?subject=" & strSubject & "&body=" & strBody
myProcess.Start(strMail)

I tried to attach a file using sendKeys method but it is not working. Plz give me a solution for this.
System.Windows.Forms.SendKeys.Send("%ia" & strAttach & "{TAB}{TAB}{ENTER}")


Thanks.