Hi, I'm currently working on a project that will print and e-mail the print preview of my form. I would like for it to show up within the e-mail without sending some kind of attachment. Can this be done? I really would like for when the user opens the e-mail it shows them exactly what the visual basic form looks like. I have the code printing the print preview and that print preview is exactly how i want the e-mail to look. Thanks!
Dim OO As Outlook.Application
Dim oMsg As Outlook._MailItem
OO = New Outlook.Application
oMsg = OO.CreateItem(Outlook.OlItemType.olMailItem)
oMsg.Subject = Records
oMsg.Body = 'insert preview of form here?
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!