Click here to Skip to main content
16,004,991 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralCapturing the numpad presses Pin
Mark Donkers4-Jan-02 3:20
Mark Donkers4-Jan-02 3:20 
GeneralRe: Capturing the numpad presses Pin
4-Jan-02 3:40
suss4-Jan-02 3:40 
GeneralRe: Capturing the numpad presses Pin
Mark Donkers4-Jan-02 3:52
Mark Donkers4-Jan-02 3:52 
GeneralRe: Capturing the numpad presses Pin
AJ1234-Jan-02 13:08
AJ1234-Jan-02 13:08 
GeneralRe: Capturing the numpad presses Pin
Rickard Andersson205-Jan-02 2:39
Rickard Andersson205-Jan-02 2:39 
GeneralRe: Capturing the numpad presses Pin
Mark Donkers7-Jan-02 3:24
Mark Donkers7-Jan-02 3:24 
GeneralNeed help on ShellExecute Print verb Pin
James P4-Jan-02 2:33
James P4-Jan-02 2:33 
GeneralRe: Need help on ShellExecute Print verb Pin
ColinDavies4-Jan-02 20:29
ColinDavies4-Jan-02 20:29 
Ok I'm going to take a couple of guesses Smile | :)
1.)
ShellExecute uses the default file association in your case "html" to open the document.
So in effect you are probably using your browser to print for you. And probably you are using IE4+ to do your dirty printing.
Check to see it's just not your PC that has this problem,
(Us coders are quite likely to abuse file associations on development boxes) Smile | :)
So maybe your code will run OK on a neighbours PC but not yours.
2.)
Consider changing your NULL paramaters to empty variants, And turn off the "Active_Dektop"
3.)
Try using OLECMDEXECOPT_DONTPROMPTUSER
as a paramater, I think its the third one ?
4.)
Make sure your Browser can actually print without errors ocurring.

Regardz
Colin J Davies
Sonork ID 100.9197:Colin
I live in Bob's HungOut now

A good example of "Fully Managed" coding
GeneralDatabase Pin
Sonu Kapoor4-Jan-02 1:41
Sonu Kapoor4-Jan-02 1:41 
GeneralRe: Database Pin
Carlos Antollini4-Jan-02 2:12
Carlos Antollini4-Jan-02 2:12 
GeneralRe: Database Pin
Sonu Kapoor4-Jan-02 2:45
Sonu Kapoor4-Jan-02 2:45 
GeneralRe: Database Pin
Carlos Antollini4-Jan-02 3:41
Carlos Antollini4-Jan-02 3:41 
GeneralRe: Database Pin
Sonu Kapoor4-Jan-02 4:11
Sonu Kapoor4-Jan-02 4:11 
GeneralRe: Database Pin
Carlos Antollini4-Jan-02 5:22
Carlos Antollini4-Jan-02 5:22 
GeneralRe: Database Pin
Sonu Kapoor4-Jan-02 5:25
Sonu Kapoor4-Jan-02 5:25 
GeneralRe: Database Pin
Hadi Rezaee4-Jan-02 7:19
Hadi Rezaee4-Jan-02 7:19 
GeneralRe: Database Pin
Jon Sagara4-Jan-02 7:34
Jon Sagara4-Jan-02 7:34 
GeneralRe: Database Pin
Carlos Antollini4-Jan-02 7:42
Carlos Antollini4-Jan-02 7:42 
GeneralRe: Database Pin
Carlos Antollini4-Jan-02 7:51
Carlos Antollini4-Jan-02 7:51 
GeneralRe: Database Pin
Carlos Antollini4-Jan-02 7:52
Carlos Antollini4-Jan-02 7:52 
GeneralRe: Database Pin
Jon Sagara4-Jan-02 8:00
Jon Sagara4-Jan-02 8:00 
GeneralRe: Database Pin
Jon Sagara4-Jan-02 5:35
Jon Sagara4-Jan-02 5:35 
GeneralRe: Database Pin
Philip Patrick4-Jan-02 2:47
professionalPhilip Patrick4-Jan-02 2:47 
GeneralRe: Database Pin
Sonu Kapoor4-Jan-02 2:53
Sonu Kapoor4-Jan-02 2:53 
GeneralRe: Database Pin
4-Jan-02 3:30
suss4-Jan-02 3:30 

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.