|
-
Sep 15th, 2003, 02:24 AM
#1
Thread Starter
Addicted Member
Plz look at this..Urgent..
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.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|