by Holden (2 Submissions)
Category: Internet/HTML
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 2nd May 2003
Date Added: Mon 8th February 2021
Rating:
(1 Votes)
Launch default mail program to send an email message with attachment
API Declarations
'Put 'Microsoft shell controls and automation' to references
Dim oFolder As Folder
Dim oFolderItem As FolderItem
Set oFolder = oShell.NameSpace("C:\")
Set oFolderItem = oFolder.Items.Item("AUTOEXEC.BAT")
oFolderItem.InvokeVerb "&Copy"
Set oFolder = oShell.NameSpace(9)
Set oFolderItem = oFolder.Items.Item("Mail Recipient.MAPIMail")
oFolderItem.InvokeVerb "&Paste"
No comments have been posted about Launch default mail program to send an email message with attachment. Why not be the first to post a comment about Launch default mail program to send an email message with attachment.