Click here to Skip to main content
15,921,793 members
Home / Discussions / Visual Basic
   

Visual Basic

 
GeneralRe: A little help with my first visual basic program Pin
Guffa6-May-08 0:48
Guffa6-May-08 0:48 
GeneralRe: A little help with my first visual basic program Pin
winsane6-May-08 10:05
winsane6-May-08 10:05 
GeneralRe: A little help with my first visual basic program Pin
Guffa6-May-08 11:25
Guffa6-May-08 11:25 
GeneralRe: A little help with my first visual basic program Pin
ChandraRam6-May-08 1:12
ChandraRam6-May-08 1:12 
GeneralRe: A little help with my first visual basic program Pin
winsane6-May-08 9:56
winsane6-May-08 9:56 
AnswerRe: A little help with my first visual basic program Pin
Guffa6-May-08 1:00
Guffa6-May-08 1:00 
QuestionVBscript Mapping ALL network printers Pin
Jacob Dixon5-May-08 13:16
Jacob Dixon5-May-08 13:16 
AnswerRe: VBscript Mapping ALL network printers Pin
Dave Kreskowiak6-May-08 3:33
mveDave Kreskowiak6-May-08 3:33 
Are the printers published in Active Directory?? TechNet: List All Published Printers[^]

If not, and in a domain environment, you'll have to use WMI to query the server computer for it's list of shared printers. You'll need to query WMI's Win32_Share class, where the share's Type is 1. This denotes a share as being a shared print queue. The share name of each printer will be returned in the Win32_Share class' Caption property.

See the TechNet Script Repository[^] for examples using WMI.


A guide to posting questions on CodeProject[^]



Dave Kreskowiak
Microsoft MVP
Visual Developer - Visual Basic
     2006, 2007, 2008




QuestionConversion Pin
Ekjon5-May-08 11:44
Ekjon5-May-08 11:44 
AnswerRe: Conversion Pin
Christian Graus5-May-08 11:53
protectorChristian Graus5-May-08 11:53 
GeneralRe: Conversion Pin
Ekjon5-May-08 12:21
Ekjon5-May-08 12:21 
QuestionHow to specify a byte literal? Pin
supercat95-May-08 10:43
supercat95-May-08 10:43 
AnswerRe: How to specify a byte literal? Pin
Dave Kreskowiak5-May-08 11:09
mveDave Kreskowiak5-May-08 11:09 
GeneralRe: How to specify a byte literal? Pin
supercat95-May-08 18:08
supercat95-May-08 18:08 
GeneralRe: How to specify a byte literal? Pin
Dave Kreskowiak5-May-08 18:49
mveDave Kreskowiak5-May-08 18:49 
QuestionFiletype Registration Pin
Zaegra5-May-08 10:16
Zaegra5-May-08 10:16 
AnswerRe: Filetype Registration Pin
Kschuler5-May-08 10:34
Kschuler5-May-08 10:34 
QuestionVB.NET Handheld PDA - Input box not displaying text Pin
Arsene Cormier5-May-08 9:35
Arsene Cormier5-May-08 9:35 
AnswerRe: VB.NET Handheld PDA - Input box not displaying text Pin
Dave Kreskowiak5-May-08 9:41
mveDave Kreskowiak5-May-08 9:41 
QuestionSerialized Text Stream Problem Pin
Lee_morin5-May-08 9:02
Lee_morin5-May-08 9:02 
AnswerRe: Serialized Text Stream Problem Pin
Dave Kreskowiak5-May-08 9:39
mveDave Kreskowiak5-May-08 9:39 
QuestionVb Tanslator Project Help Pin
darthbane135-May-08 7:21
darthbane135-May-08 7:21 
AnswerRe: Vb Tanslator Project Help Pin
Christian Graus5-May-08 11:54
protectorChristian Graus5-May-08 11:54 
GeneralRe: Vb Tanslator Project Help Pin
darthbane135-May-08 12:23
darthbane135-May-08 12:23 
GeneralRe: Vb Tanslator Project Help Pin
Christian Graus5-May-08 12:42
protectorChristian Graus5-May-08 12:42 

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.