Click here to Skip to main content
15,897,371 members
Home / Discussions / C#
   

C#

 
QuestionRe: Timers not working Pin
Martin#19-Jul-06 23:15
Martin#19-Jul-06 23:15 
AnswerRe: Timers not working Pin
donkaiser20-Jul-06 4:27
donkaiser20-Jul-06 4:27 
QuestionHow to use Layer with Windows Forms in C# IDE 2005 ? Pin
Yanshof19-Jul-06 4:39
Yanshof19-Jul-06 4:39 
AnswerRe: How to use Layer with Windows Forms in C# IDE 2005 ? Pin
AB777119-Jul-06 4:42
AB777119-Jul-06 4:42 
GeneralRe: How to use Layer with Windows Forms in C# IDE 2005 ? Pin
Yanshof19-Jul-06 18:39
Yanshof19-Jul-06 18:39 
AnswerRe: How to use Layer with Windows Forms in C# IDE 2005 ? Pin
Ravi Bhavnani19-Jul-06 5:23
professionalRavi Bhavnani19-Jul-06 5:23 
AnswerCan someone help me with this issue ? Pin
Yanshof19-Jul-06 20:39
Yanshof19-Jul-06 20:39 
QuestionDirectory Services Pin
wpcolleen19-Jul-06 3:56
wpcolleen19-Jul-06 3:56 
I'm new to Active Directory and Directory services and thought I try something simple to begin with. I have the following code:


using System;
using System.Collections;
using System.DirectoryServices;

namespace ConsoleApplication1
{
///
/// Summary description for Class1.
///

class Class1
{
///
/// The main entry point for the application.
///

[STAThread]
static void Main()
{
DirectoryEntry de = new DirectoryEntry();
Console.WriteLine(de.Path);
DirectoryEntries des = de.Children;
foreach(DirectoryEntry entry in des)
{
Console.WriteLine(" Child: " + entry.Name);
}
}

}
}

which sometimes generates the required output and other time gives me the following error:-
An unhandled exception of type 'System.Runtime.InteropServices.COMException' occurred in system.directoryservices.dll

Additional Information: The specified domain either does not exist or could not be contacted.

Has anyone any clues as to what is causing this intermittent error and how to fix it.
AnswerRe: Directory Services Pin
Martin#19-Jul-06 5:06
Martin#19-Jul-06 5:06 
QuestionSetting height and width property on Forms C# Pin
tjschilling19-Jul-06 3:44
tjschilling19-Jul-06 3:44 
AnswerRe: Setting height and width property on Forms C# Pin
Daniele Ferrero19-Jul-06 3:56
Daniele Ferrero19-Jul-06 3:56 
AnswerRe: Setting height and width property on Forms C# Pin
Martin#19-Jul-06 3:57
Martin#19-Jul-06 3:57 
GeneralRe: Setting height and width property on Forms C# Pin
tjschilling19-Jul-06 4:10
tjschilling19-Jul-06 4:10 
Question[Message Deleted] Pin
sanu2019-Jul-06 3:27
sanu2019-Jul-06 3:27 
AnswerRe: C# & web service Pin
Not Active19-Jul-06 3:38
mentorNot Active19-Jul-06 3:38 
AnswerDo your own F'in Homework. Pin
Rob Graham19-Jul-06 3:41
Rob Graham19-Jul-06 3:41 
AnswerRe: C# & web service Pin
Dan Neely19-Jul-06 4:27
Dan Neely19-Jul-06 4:27 
GeneralRe: C# & web service Pin
sanu2019-Jul-06 5:51
sanu2019-Jul-06 5:51 
QuestionDataGridView error Pin
john3419-Jul-06 3:22
john3419-Jul-06 3:22 
AnswerRe: DataGridView error Pin
HeadBlood26-Jul-06 0:39
HeadBlood26-Jul-06 0:39 
QuestionFTP in C# Pin
msogun19-Jul-06 3:10
msogun19-Jul-06 3:10 
AnswerRe: FTP in C# Pin
Robert Rohde19-Jul-06 3:25
Robert Rohde19-Jul-06 3:25 
GeneralRe: FTP in C# Pin
RizwanSharp19-Jul-06 11:25
RizwanSharp19-Jul-06 11:25 
QuestionNHibernate Pin
Mobocracy+)19-Jul-06 3:02
Mobocracy+)19-Jul-06 3:02 
AnswerRe: NHibernate Pin
Robert Rohde19-Jul-06 3:19
Robert Rohde19-Jul-06 3:19 

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.