On 06/05/2012 18:07, Alan Jump wrote:
Much obliged to both you and Vernon. I'm going to be adding quite a few
code snippets to these emails, just to let the various search engines
work their magic in case anyone besides me is running into the same problem.

I tried a couple of the extended commands on the web page, and still got
the same exception message.

At the risk of asking you to do the obvious, what happens
if you do this:

<code>
import win32api

open ("test.txt", "w").write ("TESTING")
win32api.ShellExecute (0, "print", "test.txt", None, ".", 0)

</code>

In other words, is there a problem sending *anything*
to print via a Shell Execute? Or is there something
specific to your app?

TJG
_______________________________________________
python-win32 mailing list
python-win32@python.org
http://mail.python.org/mailman/listinfo/python-win32

Reply via email to