ulrich1947 said:
Thank you for trying to help me. Unfortunately the given command does not
work. Furthermore, the pic's i want to be printed are not seen at all in
my
form - so i can't right click them.
Correct, I was not suggesting that you right click them, I'm suggesting that
if you **can** right click them in the windows explore, them my example code
posted a likely work.
in other words if you right click a word document in the windows explorer,
there's a print option that displays.
in other words if you right click in excel document in the windows explorer,
there's a print option that displays
in other words if you're right click a pdf document in the windows explorer,
there's a print option that displays.
So the logical suggestion from above is to right click on any pictures in
the windows explorer, and do you get a print option?
I have some pitcher editing software installed in my computer, and therefore
I do have what's called a right click context menu that allows me to print
pictures.
however this does assuming mean that you have to have the appropriate
software installed in your computer.
My example code will work for word printing if you ***can*** right click on
a word document. however if you don't have the word software installed on
your computer, then when you right click on a word document in your computer
you'll not see a print option.
So my sample code is contingent upon having an application that supports
the "right clicking" on the actual file itself.
So I'm not suggesting that you right click somewhere in side of a form, I'm
suggesting that if a right click context menu is present when you right
click on the file, THEN my approach will work.
As mentioned, my sample allows printing of word, excel, pdf etc. It is a
very handy great little piece of code.
Obviously in your case it does not work.
The question you have to solve and ask yourself what application or program
have you been using over the many years to print pictures from windows?
Like I said my sample code will not work for printing of word document if
you don't have word installed
So my sample assumes that you have something that is installed for printing
of pictures and it "also" supports the right click printing context menu
option.