ShellExecute and SW_HIDE does not behave as wanted

This Forum is for the use of Software Developers requiring help and assistance for Tracker Software's PDF-XChange Printer Drivers SDK (only) - Please use the PDF-Tools SDK Forum for Library DLL assistance.

Moderators: Tracker Support, TrackerSupp-Daniel, Chris - Tracker Supp, Vasyl-Tracker Dev Team, Sean - Tracker, Andrew - Tracker Support, Tracker - Clarion Support, John - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software, Support Staff, moderators

Post Reply
gpxi
User
Posts: 39
Joined: Mon Aug 23, 2010 6:41 am

ShellExecute and SW_HIDE does not behave as wanted

Post by gpxi » Sat Oct 16, 2010 6:12 pm

I am using the driver API (the latest version under VB6) to convert or "printto" a .doc file to pdf. I do not want the user to see Word popping up and showing the printing process. So I used the flag SW_HIDE (0) in the ShellExecute command line. However, MS Word seems to ignore my command. Why? Is there a way to accomplish what I am trying to do here?

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13312
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: ShellExecute and SW_HIDE does not behave as wanted

Post by Tracker Supp-Stefan » Mon Oct 18, 2010 2:32 pm

Hello gpxi,

This is the V3 section, so let's keep the discussion in the topic that is in the correct forums:
http://www.tracker-software.com/forum3/ ... =43&t=9038

Best,
Stefan

gpxi
User
Posts: 39
Joined: Mon Aug 23, 2010 6:41 am

Re: ShellExecute and SW_HIDE does not behave as wanted

Post by gpxi » Mon Oct 18, 2010 3:21 pm

Please ignore this thread. I realized that I posted in the wrong place. Sorry about that.

User avatar
Tracker Supp-Stefan
Site Admin
Posts: 13312
Joined: Mon Jan 12, 2009 8:07 am
Location: London
Contact:

Re: ShellExecute and SW_HIDE does not behave as wanted

Post by Tracker Supp-Stefan » Mon Oct 18, 2010 3:35 pm

Sure - ignoring it as hard as we can :D :P

Consider this thread closed, and lets continue the discussion on the other one.

Best,
Stefan

Post Reply