Shell print

R

Ray Burrow

I have an issue using shell print. I am trying to print out a jpg using the shell command. Everything works fine in XP, but in vista, it opens up "Print Pictures". The actual associated program for that file type is Irfranview. Why is is opening up "Print Pictures"?

I have a list of files, not of all the same extension, ex: txt, jpg, bmp, pdf. I loop through a folder and print (using the shell command) to print out these files. I shell print a separator page, the print the documents in another folder. All this is done without user intervention. Works fine in XP, but in Vista, it keeps opening up the "Print Pictures", at the same time continuing to print the other documents, which then, in turn, gets the documents out of order from waiting on the user to fiddle with the "Print Pictures" dialog that comes up.

Any Ideas?

EggHeadCafe - .NET Developer Portal of Choice
http://www.eggheadcafe.com/default.aspx?ref=ng
 
C

Cor Ligthert[MVP]

I think that it has nothing to do with XP or Vista,

However, that the assigning of files is set to different applications,

Mostly it is fine if you show the code, then we can see if you explicitly
start an application or implecitly rely on the binding of the file types.

Cor

in message news:[email protected]...
 
L

Lloyd Sheen

Cor Ligthert said:
I think that it has nothing to do with XP or Vista,

However, that the assigning of files is set to different applications,

Mostly it is fine if you show the code, then we can see if you explicitly
start an application or implecitly rely on the binding of the file types.

Cor

I agree with Cor. You might have to check the registry for both systems and
see what verbs are described in HKEY_CLASSES_ROOT for jpegfile. That might
give you a hint about what is going on.

LS
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top