Click here to Skip to main content
15,917,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Listview item Pin
ashishmax4724-Nov-08 2:01
ashishmax4724-Nov-08 2:01 
GeneralRe: Listview item Pin
_AnsHUMAN_ 24-Nov-08 17:28
_AnsHUMAN_ 24-Nov-08 17:28 
GeneralRe: Listview item Pin
ashishmax4724-Nov-08 18:53
ashishmax4724-Nov-08 18:53 
Questionbutton coordinates for office applications e.g. word, excel etc. Pin
SQU24-Nov-08 0:29
SQU24-Nov-08 0:29 
Questionfire an event Pin
prasadbuddhika23-Nov-08 23:59
prasadbuddhika23-Nov-08 23:59 
JokeRe: fire an event [modified] Pin
CPallini24-Nov-08 0:13
mveCPallini24-Nov-08 0:13 
AnswerRe: fire an event Pin
Code-o-mat24-Nov-08 1:02
Code-o-mat24-Nov-08 1:02 
QuestionError executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur23-Nov-08 23:54
Md Saleem Navalur23-Nov-08 23:54 
Hi,

I am calling this function, from my MFC app in VS 2005.

ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL);

If this call is made, printer selection dialog opens, if i select a printer and click ok, printing starts and everything works fine.

However, there is case, if the printer dialog is open and I do not click on ok and wait for a few seconds (say more than 10 sec), a server busy dialog shows up.
Server Busy
This action cannot be completed because the other program is busy. Chose
'Switch To' to activate the busy program and correct the problem.

But 'Switch To' activates the Start menu, and there is no way to make the
Server Busy error to go away except by killing my program altogether, and
then deleting the print task from the task list.

And i do not want to use, OLECMDEXECOPT_DONTPROMPTUSER for the second param.
Any suggestions please....

Thanks in Advance.
Saleem
AnswerRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine24-Nov-08 3:08
Ahmed Charfeddine24-Nov-08 3:08 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur24-Nov-08 19:57
Md Saleem Navalur24-Nov-08 19:57 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine24-Nov-08 21:47
Ahmed Charfeddine24-Nov-08 21:47 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Md Saleem Navalur25-Nov-08 1:03
Md Saleem Navalur25-Nov-08 1:03 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Ahmed Charfeddine25-Nov-08 2:14
Ahmed Charfeddine25-Nov-08 2:14 
GeneralRe: Error executing function ExecWB(OLECMDID_PRINT, OLECMDEXECOPT_PROMPTUSER, NULL, NULL) Pin
Axel Zur3-Feb-11 20:22
Axel Zur3-Feb-11 20:22 
QuestionProblem using Pointer Functions Pin
ajorge200823-Nov-08 23:32
ajorge200823-Nov-08 23:32 
AnswerRe: Problem using Pointer Functions Pin
CPallini23-Nov-08 23:40
mveCPallini23-Nov-08 23:40 
GeneralRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 0:18
ajorge200824-Nov-08 0:18 
GeneralRe: Problem using Pointer Functions Pin
Cedric Moonen24-Nov-08 0:56
Cedric Moonen24-Nov-08 0:56 
GeneralRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 1:03
ajorge200824-Nov-08 1:03 
GeneralRe: Problem using Pointer Functions Pin
CPallini24-Nov-08 1:03
mveCPallini24-Nov-08 1:03 
GeneralRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 1:09
ajorge200824-Nov-08 1:09 
QuestionRe: Problem using Pointer Functions Pin
CPallini24-Nov-08 1:32
mveCPallini24-Nov-08 1:32 
AnswerRe: Problem using Pointer Functions Pin
ajorge200824-Nov-08 1:39
ajorge200824-Nov-08 1:39 
GeneralRe: Problem using Pointer Functions Pin
CPallini24-Nov-08 1:42
mveCPallini24-Nov-08 1:42 
Questionhow to access Pin
ramina sen23-Nov-08 23:28
ramina sen23-Nov-08 23:28 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.