Click here to Skip to main content
15,894,291 members
Home / Discussions / C#
   

C#

 
Generalenumfontfamilies , dont work (?) Pin
Roger Alsing4-Jan-03 7:48
Roger Alsing4-Jan-03 7:48 
GeneralRe: enumfontfamilies , dont work (?) Pin
Stephane Rodriguez.4-Jan-03 9:38
Stephane Rodriguez.4-Jan-03 9:38 
GeneralRe: enumfontfamilies , dont work (?) Pin
Roger Alsing4-Jan-03 21:43
Roger Alsing4-Jan-03 21:43 
GeneralC# Sockets Pin
-G-4-Jan-03 6:43
-G-4-Jan-03 6:43 
GeneralRe: C# Sockets Pin
Stephane Rodriguez.4-Jan-03 9:57
Stephane Rodriguez.4-Jan-03 9:57 
GeneralRe: C# Sockets Pin
-G-6-Jan-03 5:33
-G-6-Jan-03 5:33 
GeneralFind all the computer in the domain Pin
doso4-Jan-03 2:44
doso4-Jan-03 2:44 
GeneralRe: Find all the computer in the domain Pin
Heath Stewart4-Jan-03 7:38
protectorHeath Stewart4-Jan-03 7:38 
Does it have to be .NET? This is really easy using the Net API. You could P/Invoke all this, but there's a lot of structs and functions involved, as well as a lot of constants you'd have to dig through countless headers to find. Just another example where it's good to use the right tool for the right job.

In any case, start by checking MSDN or the Platform SDK for this method: NetServerEnum using SV_TYPE_ALL (or a combination of other flags depending on your requirements).

Hope that helps.

"Well, I wouldn't say I've been missing it, Bob." - Peter Gibbons
GeneralRe: Find all the computer in the domain Pin
Anonymous5-Jan-03 4:04
Anonymous5-Jan-03 4:04 
GeneralRe: Find all the computer in the domain Pin
Heath Stewart5-Jan-03 8:34
protectorHeath Stewart5-Jan-03 8:34 
GeneralRe: Find all the computer in the domain Pin
Rob Graham4-Jan-03 8:48
Rob Graham4-Jan-03 8:48 
Questionhow to know which window is clicked? Pin
fretre3-Jan-03 17:49
fretre3-Jan-03 17:49 
AnswerRe: how to know which window is clicked? Pin
Stephane Rodriguez.3-Jan-03 19:27
Stephane Rodriguez.3-Jan-03 19:27 
GeneralAdding to the Visual Studio View Menu Pin
WizardOfPeyton3-Jan-03 13:22
WizardOfPeyton3-Jan-03 13:22 
GeneralRe: Adding to the Visual Studio View Menu Pin
Stephane Rodriguez.3-Jan-03 22:57
Stephane Rodriguez.3-Jan-03 22:57 
QuestionCode guidline / code convention / naming convention for C#??? Pin
gicio3-Jan-03 11:32
gicio3-Jan-03 11:32 
AnswerRe: Code guidline / code convention / naming convention for C#??? Pin
Michael P Butler3-Jan-03 11:43
Michael P Butler3-Jan-03 11:43 
AnswerRe: Code guidline / code convention / naming convention for C#??? Pin
kaschimer3-Jan-03 11:47
kaschimer3-Jan-03 11:47 
GeneralRe: Code guidline / code convention / naming convention for C#??? Pin
Ray Cassick3-Jan-03 12:01
Ray Cassick3-Jan-03 12:01 
GeneralUsing OwnerDraw MenuItems in a NotifyIcon ContextMenu Pin
ethan3-Jan-03 6:03
ethan3-Jan-03 6:03 
GeneralRe: Using OwnerDraw MenuItems in a NotifyIcon ContextMenu Pin
ethan3-Jan-03 6:09
ethan3-Jan-03 6:09 
GeneralRe: Using OwnerDraw MenuItems in a NotifyIcon ContextMenu Pin
Stephane Rodriguez.3-Jan-03 20:01
Stephane Rodriguez.3-Jan-03 20:01 
GeneralSplitting a string into lines Pin
Le centriste3-Jan-03 4:58
Le centriste3-Jan-03 4:58 
GeneralRe: Splitting a string into lines Pin
Paul Riley3-Jan-03 5:04
Paul Riley3-Jan-03 5:04 
GeneralRe: Splitting a string into lines Pin
Le centriste3-Jan-03 5:26
Le centriste3-Jan-03 5:26 

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.