I'D like to thank TJG for this reply to my off topic question and post it in
case any other novice programmers like my self ever have the same problem
with getting images to show up in a dialog box. This is working well for my
images that span many pages and or require lots of zooming and scrolling to
clarify content. Just use Adobe to eliminate having to code all that
yourself. The only down side is it is not practical if you need a dialog to
record the data only if you are using it to look that data up. You will need
a separate dialog or interface to get the data into your program.
Abel Daniel also gave a good reference (below) to the problem which I have
yet to look into but appears to be the answer I was originally trying to
obtain and will probably end up going to here in the future.
This question is off topic a bit but is it possible for you to launch an
application like adobe from python (like upon a button press for instance by
including it in the command option)
Assuming that you have Acrobat Reader installed
(or some equivalent thing) and associated with .pdf
files, the simplest thing is:
os.system will work, but you'll need the full
path to the Acrobat Reader
ACRORD = r"c:\Program Files\Adobe\Acrobat 5.0\Reader\acrord32.exe"
os.system ('"%s" %s' % (ACRORD, r"c:\temp\blah.pdf"))
You could -- and I mention this merely for completeness --
use os.startfile to launch the reader without a file. The
slight subtlety is that os.startfile (which uses the ShellExecute
api under the covers) honours AppPath shortcuts which
applications can use to link a name (such as "acrord32") to
a longer executable path:
Thanks again to ALL of you who continue to educate me
Department of Radiation Oncology
Rocky Mountain Cancer Centers
The contents of this electronic mail message and any attachments are confidential, possibly privileged and intended for the addressee(s) only. Only the addressee(s) may read, disseminate, retain or otherwise use this message. If received in error, please immediately inform the sender and then delete this message without disclosing its contents to anyone.