N
nycboy
Hi,
I tried to print saved MSG files from file folder
to printing device with following two methods, but
both were failed (nothing happening).
Way 1: From shell
"C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE" /p
"C:\file1.msg"
Way 2: From VB code
...
Dim Scr As Short
...
Scr = GetDesktopWindow()
rtn = ShellExecute(Scr, "Print", _
"c:\file1.msg", "", _
"c:\", SW_SHOWNORMAL)
But similar commands seem working fine for other
office file types.
Can anyone help me to find out the reason? Thanks!
David
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
I tried to print saved MSG files from file folder
to printing device with following two methods, but
both were failed (nothing happening).
Way 1: From shell
"C:\Program Files\Microsoft Office\Office\OUTLOOK.EXE" /p
"C:\file1.msg"
Way 2: From VB code
...
Dim Scr As Short
...
Scr = GetDesktopWindow()
rtn = ShellExecute(Scr, "Print", _
"c:\file1.msg", "", _
"c:\", SW_SHOWNORMAL)
But similar commands seem working fine for other
office file types.
Can anyone help me to find out the reason? Thanks!
David
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!