Click here to Skip to main content
15,892,480 members
Home / Discussions / Windows Forms
   

Windows Forms

 
AnswerDouble Post - Please ignore Pin
Giorgi Dalakishvili14-Aug-08 0:51
mentorGiorgi Dalakishvili14-Aug-08 0:51 
GeneralRe: Double Post - Please ignore Pin
Manas Bhardwaj14-Aug-08 5:15
professionalManas Bhardwaj14-Aug-08 5:15 
GeneralTriple Post - Please ignore Pin
Giorgi Dalakishvili14-Aug-08 5:27
mentorGiorgi Dalakishvili14-Aug-08 5:27 
GeneralRe: Triple Post - Please ignore Pin
Manas Bhardwaj14-Aug-08 5:31
professionalManas Bhardwaj14-Aug-08 5:31 
GeneralRe: Triple Post - Please ignore Pin
Giorgi Dalakishvili14-Aug-08 5:41
mentorGiorgi Dalakishvili14-Aug-08 5:41 
GeneralRe: Triple Post - Please ignore Pin
Manas Bhardwaj14-Aug-08 6:42
professionalManas Bhardwaj14-Aug-08 6:42 
AnswerRe: schedule an .exe using c# Pin
Paul Conrad14-Aug-08 6:50
professionalPaul Conrad14-Aug-08 6:50 
QuestionReading Pages count,Size from Printer document Pin
balu1234513-Aug-08 23:44
balu1234513-Aug-08 23:44 
Hi All,

Iam using WMI to get the required printer job information.Here Iam using "Select * from win32_Printjob" from ManagementObjectQuery. In this Iam using thread.sleep for 10 seconds to get the pages,size.

Without thread.sleep Iam getting pages, size as 0.

But this sleep for 10 sec mechanism works only for small documents.

When I get large document It is unable to get the no.of pages,size(just showing them as 0).

1.Is there any way to get the correct pages,size of print document?

2.Is there any way to know that a document came for printing is totally read by spooler?

3.I think after reading all the data only it will go for printing.,am I right or wrong?If right,then how to know that status ready for printing?

Kindly help me

Thanks
QuestionCreate DataBound DataGridViewColumn Pin
Richard Blythe13-Aug-08 8:20
Richard Blythe13-Aug-08 8:20 
AnswerRe: Create DataBound DataGridViewColumn Pin
Wendelius13-Aug-08 9:30
mentorWendelius13-Aug-08 9:30 
GeneralRe: Create DataBound DataGridViewColumn Pin
Richard Blythe13-Aug-08 10:02
Richard Blythe13-Aug-08 10:02 
GeneralRe: Create DataBound DataGridViewColumn Pin
Wendelius13-Aug-08 10:38
mentorWendelius13-Aug-08 10:38 
GeneralRe: Create DataBound DataGridViewColumn Pin
Richard Blythe15-Aug-08 5:59
Richard Blythe15-Aug-08 5:59 
GeneralRe: Create DataBound DataGridViewColumn Pin
Wendelius15-Aug-08 6:01
mentorWendelius15-Aug-08 6:01 
QuestionListViewCollection Pin
ruwanindika12-Aug-08 23:39
ruwanindika12-Aug-08 23:39 
QuestionInserting multiple records using DataGridView using C# Pin
vnugpl11-Aug-08 20:50
vnugpl11-Aug-08 20:50 
AnswerRe: Inserting multiple records using DataGridView using C# Pin
Kschuler12-Aug-08 8:10
Kschuler12-Aug-08 8:10 
AnswerRe: Inserting multiple records using DataGridView using C# Pin
Mycroft Holmes12-Aug-08 21:09
professionalMycroft Holmes12-Aug-08 21:09 
QuestionScheduling Service at 6.00PM Pin
balu1234511-Aug-08 20:30
balu1234511-Aug-08 20:30 
AnswerRe: Scheduling Service at 6.00PM Pin
Manas Bhardwaj11-Aug-08 22:31
professionalManas Bhardwaj11-Aug-08 22:31 
AnswerRe: Scheduling Service at 6.00PM Pin
N a v a n e e t h12-Aug-08 6:32
N a v a n e e t h12-Aug-08 6:32 
QuestionDatabinding the DataGridViewLinkColumn Pin
Richard Blythe11-Aug-08 19:16
Richard Blythe11-Aug-08 19:16 
Questionhow to select next value in listbox after moving a value from it? Pin
Yawer Iqbal11-Aug-08 7:18
Yawer Iqbal11-Aug-08 7:18 
AnswerRe: how to select next value in listbox after moving a value from it? Pin
yanairon12-Aug-08 5:01
yanairon12-Aug-08 5:01 
AnswerRe: how to select next value in listbox after moving a value from it? Pin
Mycroft Holmes12-Aug-08 21:16
professionalMycroft Holmes12-Aug-08 21:16 

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.