Click here to Skip to main content
15,909,827 members
Home / Discussions / C#
   

C#

 
AnswerRe: Making Control of Form Pin
Tom Deketelaere29-Dec-08 23:45
professionalTom Deketelaere29-Dec-08 23:45 
GeneralRe: Making Control of Form [modified] Pin
Xmen Real 30-Dec-08 1:43
professional Xmen Real 30-Dec-08 1:43 
AnswerRe: Making Control of Form Pin
Abdul Rahman Hamidy30-Dec-08 9:41
Abdul Rahman Hamidy30-Dec-08 9:41 
Questionhow do we daclare an array in a struct? Pin
dec8229-Dec-08 23:21
dec8229-Dec-08 23:21 
AnswerRe: how do we daclare an array in a struct? Pin
N a v a n e e t h29-Dec-08 23:27
N a v a n e e t h29-Dec-08 23:27 
GeneralRe: how do we daclare an array in a struct? Pin
dec8230-Dec-08 0:01
dec8230-Dec-08 0:01 
GeneralRe: how do we daclare an array in a struct? Pin
User 665830-Dec-08 0:44
User 665830-Dec-08 0:44 
Questiondomain servers list Pin
calanit29-Dec-08 23:17
calanit29-Dec-08 23:17 
Hello All,

In order to display a combo with all servers on my domain, I am using this code:

string domainName = Environment.UserDomainName;
DirectoryEntry domain = new DirectoryEntry(
String.Format("LDAP://{0}/CN=Computers,DC={1},DC=com"
, domainName
, domainName));
foreach (DirectoryEntry child in domain.Children)
{
this._comboBoxServers.Items.Add(child.Name.Substring(3));
}

domain.Dispose();


At the begining it worked great, until it stoped returning the full list and returns only one computer "BEServer".
When I open an Explore window to look at my network places, in the domain I just retrieved sometime see the all the computers of the domain and sometimes only one icon "UTSC".

Does anybody have a clue ???

Thanks
Calanit
QuestionRe: domain servers list [modified] Pin
calanit30-Dec-08 0:08
calanit30-Dec-08 0:08 
Questionproblem with virtual directory : Server Error in '/' Application. Pin
Muruvet Kaplan29-Dec-08 23:03
Muruvet Kaplan29-Dec-08 23:03 
AnswerRe: problem with virtual directory : Server Error in '/' Application. Pin
PC Player30-Dec-08 0:59
PC Player30-Dec-08 0:59 
QuestionIn 2nd form how i get (1st form userid) userid for lable using C# with Sql Server. Pin
prabumps29-Dec-08 22:57
prabumps29-Dec-08 22:57 
AnswerRe: In 2nd form how i get (1st form userid) userid for lable using C# with Sql Server. Pin
Tom Deketelaere29-Dec-08 23:15
professionalTom Deketelaere29-Dec-08 23:15 
GeneralRe: In 2nd form how i get (1st form userid) userid for lable using C# with Sql Server. Pin
prabumps29-Dec-08 23:59
prabumps29-Dec-08 23:59 
GeneralRe: In 2nd form how i get (1st form userid) userid for lable using C# with Sql Server. Pin
Tom Deketelaere30-Dec-08 0:15
professionalTom Deketelaere30-Dec-08 0:15 
QuestionHow to print large images(jpeg) in C# Pin
sivasankar anumula29-Dec-08 22:34
sivasankar anumula29-Dec-08 22:34 
AnswerRe: How to print large images(jpeg) in C# Pin
#realJSOP29-Dec-08 23:36
professional#realJSOP29-Dec-08 23:36 
QuestionProblem with Timer Pin
vnr29-Dec-08 22:24
vnr29-Dec-08 22:24 
AnswerRe: Problem with Timer Pin
rah_sin29-Dec-08 22:30
professionalrah_sin29-Dec-08 22:30 
AnswerRe: Problem with Timer Pin
PC Player30-Dec-08 1:00
PC Player30-Dec-08 1:00 
AnswerRe: Problem with Timer Pin
PIEBALDconsult30-Dec-08 6:53
mvePIEBALDconsult30-Dec-08 6:53 
QuestionHow to draw a area of image? Pin
Hoang Jang29-Dec-08 21:27
Hoang Jang29-Dec-08 21:27 
AnswerRe: How to draw a area of image? Pin
Rob Philpott29-Dec-08 21:46
Rob Philpott29-Dec-08 21:46 
GeneralRe: How to draw a area of image? Pin
Hoang Jang29-Dec-08 21:54
Hoang Jang29-Dec-08 21:54 
GeneralRe: How to draw a area of image? Pin
Rob Philpott29-Dec-08 22:39
Rob Philpott29-Dec-08 22:39 

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.