Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

shellexecute

Status
Not open for further replies.

maryhale

Programmer
Oct 18, 2006
6
GB
I use shellexecute to print a pdf document with adobe reader on 2 different computers. On one of them it loads Adobe reader and keeps it minimized. On the other, it opens up the reader.

The code is identical, so I assume it is a setting someplace. Any ideas where to look?

Thanks
 
Thanks Ralph,

The last state does seem to make a difference. The nShowCmd however, doesn't seem to do anything.

M
 
Mary,

Have you managed to solve this yet?

If not, you might try checking the file associations on the users' machines.

In a folder window, go to Tools / Options /File Types. Scroll down to PDF, then click Advanced. If there is an Open With ... entry, click on Edit.

I don't know any particular setting that would cause the behaviour you are seeing, but it would be worth comparing the results of the above steps on each computer and note any differences.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top