Click here to Skip to main content
15,924,935 members
Home / Discussions / Visual Basic
   

Visual Basic

 
AnswerRe: Speed initial load Pin
Wendelius23-Jan-09 8:31
mentorWendelius23-Jan-09 8:31 
AnswerRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 8:35
mveDave Kreskowiak23-Jan-09 8:35 
GeneralRe: Speed initial load Pin
cstrader23223-Jan-09 10:14
cstrader23223-Jan-09 10:14 
GeneralRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 10:29
mveDave Kreskowiak23-Jan-09 10:29 
GeneralRe: Speed initial load Pin
cstrader23223-Jan-09 10:37
cstrader23223-Jan-09 10:37 
GeneralRe: Speed initial load Pin
Dave Kreskowiak23-Jan-09 11:12
mveDave Kreskowiak23-Jan-09 11:12 
GeneralRe: Speed initial load Pin
Wendelius23-Jan-09 11:20
mentorWendelius23-Jan-09 11:20 
QuestionUsing system.printing namespace to get print queue status Pin
daveg5523-Jan-09 1:01
daveg5523-Jan-09 1:01 
Hi
I'm trying to use the system.printing namespace to get the status of print queues on a print server. Unfortunately the only status I ever get for any queue is "None".

Here's the code:

dim myPS as PrintServer = New PrintServer("servername")
dim myPrintQueues as PrintQueueCollection = myPS.GetPrintQueues()

For Each pq as PrintQueue in myPrintQueues
   pq.refresh()
   'output pq.name
   'output pq.QueueStatus.ToString
Next


I must be missing something obvious. Can anyone give me a pointer.

I previously posted this question to the .NET framework forum with no luck so reposting here.

Thanks.
AnswerRe: Using system.printing namespace to get print queue status Pin
Dave Kreskowiak23-Jan-09 4:51
mveDave Kreskowiak23-Jan-09 4:51 
QuestionTextbox settings Pin
EvanSaunders23-Jan-09 0:41
EvanSaunders23-Jan-09 0:41 
AnswerRe: Textbox settings Pin
Jay Royall23-Jan-09 0:45
Jay Royall23-Jan-09 0:45 
GeneralRe: Textbox settings Pin
EvanSaunders23-Jan-09 0:51
EvanSaunders23-Jan-09 0:51 
GeneralRe: Textbox settings Pin
Jay Royall23-Jan-09 0:59
Jay Royall23-Jan-09 0:59 
GeneralRe: Textbox settings Pin
JR21223-Jan-09 1:00
JR21223-Jan-09 1:00 
GeneralRe: Textbox settings Pin
EliottA23-Jan-09 2:15
EliottA23-Jan-09 2:15 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:31
mveDave Kreskowiak23-Jan-09 4:31 
GeneralRe: Textbox settings Pin
Dave Kreskowiak23-Jan-09 4:30
mveDave Kreskowiak23-Jan-09 4:30 
QuestionProblem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 0:36
Calferreira23-Jan-09 0:36 
AnswerRe: Problem - How to "Communicate" between Classes Pin
JR21223-Jan-09 0:51
JR21223-Jan-09 0:51 
AnswerRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 1:29
Jay Royall23-Jan-09 1:29 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 2:31
Calferreira23-Jan-09 2:31 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Jay Royall23-Jan-09 2:45
Jay Royall23-Jan-09 2:45 
GeneralRe: Problem - How to "Communicate" between Classes Pin
Calferreira23-Jan-09 4:25
Calferreira23-Jan-09 4:25 
QuestionHow to replace the usercontrol dynamically Pin
karthick sampangi22-Jan-09 22:36
karthick sampangi22-Jan-09 22:36 
AnswerRe: How to replace the usercontrol dynamically Pin
Wendelius22-Jan-09 22:41
mentorWendelius22-Jan-09 22:41 

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.