Click here to Skip to main content
15,896,063 members
Home / Discussions / C#
   

C#

 
AnswerRe: how to use the same variable in c#, in HTML Pin
Dave Kreskowiak2-Nov-04 1:04
mveDave Kreskowiak2-Nov-04 1:04 
GeneralRe: how to use the same variable in c#, in HTML Pin
Jug-Head2-Nov-04 9:40
Jug-Head2-Nov-04 9:40 
AnswerRe: how to use the same variable in c#, in HTML Pin
R. Thomas2-Nov-04 2:34
R. Thomas2-Nov-04 2:34 
QuestionHow to create a new process though the process is already created? Pin
ting6682-Nov-04 0:01
ting6682-Nov-04 0:01 
AnswerRe: How to create a new process though the process is already created? Pin
yoaz2-Nov-04 4:05
yoaz2-Nov-04 4:05 
GeneralRetrieving the Macine Name Pin
Mark Dowell1-Nov-04 23:54
Mark Dowell1-Nov-04 23:54 
GeneralRe: Retrieving the Macine Name Pin
Mark Dowell2-Nov-04 0:07
Mark Dowell2-Nov-04 0:07 
Generalprint queue Pin
jartometienen1-Nov-04 23:19
jartometienen1-Nov-04 23:19 
hello everybody,

in first time sorry about my english.

I'm doing an application that must count the number of pages people prints in the printer installed in the server. This application will run in a windows server 2003. since now, I've been using Active Directory (IADsPrintQueueOperations, IADsPrintJob,etc) to pause, resume and cancel the document from the print queue and to read the number of pages of the document. the problem arrives when somebody print some copies of a word pad or pdf or Internet Explorer document. When this happens, the program only count the first copy, but allow to print all the copies.

I've been reading and I've found that I have to use the API "winspool.drv" with the functions EnumJobs or GetJob, to look the TotalPages or something like that, but I don't know how to use it and I've not found any example in c# (only in visual basic or c++, and i don't know).

Someone can help me?

thanks

GeneralRe: Error:Unable to loas DLL (Setupapi.lib) Pin
momer1-Nov-04 23:05
momer1-Nov-04 23:05 
GeneralAdding XP Visual Styles to UserControl Pin
Jay Shankar1-Nov-04 22:41
Jay Shankar1-Nov-04 22:41 
GeneralRe: Adding XP Visual Styles to UserControl Pin
Judah Gabriel Himango2-Nov-04 4:35
sponsorJudah Gabriel Himango2-Nov-04 4:35 
GeneralRe: Adding XP Visual Styles to UserControl Pin
Jay Shankar3-Nov-04 19:01
Jay Shankar3-Nov-04 19:01 
GeneralRe: Adding XP Visual Styles to UserControl Pin
Judah Gabriel Himango4-Nov-04 4:47
sponsorJudah Gabriel Himango4-Nov-04 4:47 
GeneralBarcode standards Pin
SherKar1-Nov-04 21:46
SherKar1-Nov-04 21:46 
GeneralRe: Barcode standards Pin
Michael P Butler1-Nov-04 23:42
Michael P Butler1-Nov-04 23:42 
GeneralError:Unable to loas DLL (Setupapi.lib) Pin
momer1-Nov-04 20:20
momer1-Nov-04 20:20 
GeneralRe: Error:Unable to loas DLL (Setupapi.lib) Pin
Corinna John1-Nov-04 21:02
Corinna John1-Nov-04 21:02 
GeneralEnd task problem Pin
Anonymous1-Nov-04 19:33
Anonymous1-Nov-04 19:33 
GeneralRe: End task problem Pin
Luis Alonso Ramos1-Nov-04 19:44
Luis Alonso Ramos1-Nov-04 19:44 
GeneralRe: End task problem Pin
Anonymous1-Nov-04 21:17
Anonymous1-Nov-04 21:17 
GeneralRe: End task problem Pin
Stefan Troschuetz1-Nov-04 22:42
Stefan Troschuetz1-Nov-04 22:42 
GeneralRe: End task problem Pin
exhaulted1-Nov-04 23:09
exhaulted1-Nov-04 23:09 
GeneralRe: End task problem Pin
Dave Kreskowiak2-Nov-04 0:58
mveDave Kreskowiak2-Nov-04 0:58 
GeneralCrystal web reports Pin
totig1-Nov-04 19:32
totig1-Nov-04 19:32 
Generalproxy implementation in chat client Pin
Kamran Zafar1-Nov-04 19:06
Kamran Zafar1-Nov-04 19:06 

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.