Click here to Skip to main content
15,897,718 members
Home / Discussions / C#
   

C#

 
GeneralRe: Handling e-mail as files Pin
Heath Stewart27-Jul-04 3:28
protectorHeath Stewart27-Jul-04 3:28 
GeneralRe: Handling e-mail as files Pin
Grimolfr27-Jul-04 12:06
Grimolfr27-Jul-04 12:06 
GeneralIntercept Print Jobs From Other Apps Pin
johnstacey23-Jul-04 14:29
johnstacey23-Jul-04 14:29 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Small Rat23-Jul-04 18:56
Small Rat23-Jul-04 18:56 
GeneralRe: Intercept Print Jobs From Other Apps Pin
johnstacey24-Jul-04 3:16
johnstacey24-Jul-04 3:16 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Dave Kreskowiak24-Jul-04 4:56
mveDave Kreskowiak24-Jul-04 4:56 
GeneralRe: Intercept Print Jobs From Other Apps Pin
johnstacey25-Jul-04 13:34
johnstacey25-Jul-04 13:34 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Dave Kreskowiak25-Jul-04 15:54
mveDave Kreskowiak25-Jul-04 15:54 
Someone else posted an idea to attach a system wide message hook. There problem with it is that it will allow you to see the WM_PRINT message, but you can't stop it from happening.

Now, you could put the printers on hold and just monitor the print queues, determine wheather or not to allow the job, then just cancel it or release the printer to print, then put it back on hold.

The problem is your app will have to run as a service with Admin or Power User priveledges in order to put the printers on hold.

There is also another problem, how are you going to determine wheather or not the job should be allowed? What are the requirements for an allowable job vs. not allowable? What mechanism are you going to use to make this determination? You could peak into the job, but all it will show you is the printer language, which will vary from printer to printer, even model to model.



RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

GeneralRe: Intercept Print Jobs From Other Apps Pin
johnstacey4-Aug-04 0:22
johnstacey4-Aug-04 0:22 
GeneralRe: Intercept Print Jobs From Other Apps Pin
Small Rat24-Jul-04 5:55
Small Rat24-Jul-04 5:55 
GeneralSave text file as html Pin
kloepper23-Jul-04 11:40
kloepper23-Jul-04 11:40 
GeneralC# services security Pin
TalkingBabb0t23-Jul-04 10:13
TalkingBabb0t23-Jul-04 10:13 
GeneralFilewatcher, additional need to monitor User making changes Pin
Ruchi Gupta23-Jul-04 6:06
Ruchi Gupta23-Jul-04 6:06 
GeneralRe: Filewatcher, additional need to monitor User making changes Pin
Heath Stewart23-Jul-04 9:23
protectorHeath Stewart23-Jul-04 9:23 
GeneralEmergency. problems in serial communication Pin
wk_vigorous23-Jul-04 5:50
wk_vigorous23-Jul-04 5:50 
GeneralRe: Emergency. problems in serial communication Pin
Heath Stewart23-Jul-04 9:28
protectorHeath Stewart23-Jul-04 9:28 
GeneralRe: Emergency. problems in serial communication Pin
Nick Parker23-Jul-04 11:08
protectorNick Parker23-Jul-04 11:08 
GeneralRe: Emergency. problems in serial communication Pin
Heath Stewart23-Jul-04 11:12
protectorHeath Stewart23-Jul-04 11:12 
GeneralNeed handle to ComboBox dropdown button Pin
ddelapasse23-Jul-04 4:20
ddelapasse23-Jul-04 4:20 
GeneralRe: Need handle to ComboBox dropdown button Pin
Heath Stewart23-Jul-04 6:17
protectorHeath Stewart23-Jul-04 6:17 
GeneralRe: Need handle to ComboBox dropdown button Pin
ddelapasse23-Jul-04 6:48
ddelapasse23-Jul-04 6:48 
GeneralRe: Need handle to ComboBox dropdown button Pin
Nick Parker23-Jul-04 7:58
protectorNick Parker23-Jul-04 7:58 
GeneralRe: Need handle to ComboBox dropdown button Pin
Heath Stewart23-Jul-04 8:39
protectorHeath Stewart23-Jul-04 8:39 
GeneralDirecroty search Pin
Ronni Marker23-Jul-04 4:03
Ronni Marker23-Jul-04 4:03 
GeneralRe: Direcroty search Pin
Colin Angus Mackay23-Jul-04 4:54
Colin Angus Mackay23-Jul-04 4:54 

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.