Send EML file to printer
Posted on 2006-05-23
Hi Experts !
I really need to send a .EML file (Outlook Express email file) to the printer from VB...
This line works perfectly to open my EML files (and PDF files) on screen :
ShellExecute mdiPrincipal.hWnd, "open", strMyFile, vbNullString, "C:\", 1
This line works perfectly to print PDF files, but does nothing (not even an error) with an EML file :
ShellExecute mdiPrincipal.hWnd, "print", strMyFile, vbNullString, "C:\", 0
Can anyone help me please ? Either tell me whats wrong with the code above or other suggestions to replace that function would also be fine, as long as I can print my EML files from VB !!
Thanks alot !