|
-
Sep 27th, 2000, 04:21 PM
#1
Thread Starter
Lively Member
i need to press a button within my application that opens up outlook and populates the email address:,subject,and a standard letter with the information that i have within my VB application
so all i need to do with outlook is manually click on the send button i have never done automation before im still learning i greatly except all ideas
thanx
john
-
Sep 27th, 2000, 05:56 PM
#2
Fanatic Member
For the following example, add 3 textboxes and a command button. In the command button add the following:
Code:
Set out = CreateObject("outlook.application")
Set myitem = out.CreateItem(0)
myitem.Recipients.Add Text1.Text
myitem.Subject = Text2.Text
myitem.Body = Text3.Text
myitem.Display
If you need anything else, please let me know.
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
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
|