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

C#

 
GeneralRe: Web.Config Pin
tomc4-Aug-04 12:18
tomc4-Aug-04 12:18 
GeneralRe: Web.Config Pin
Heath Stewart4-Aug-04 16:30
protectorHeath Stewart4-Aug-04 16:30 
GeneralHit test with a Region Pin
Guinness4Strength4-Aug-04 9:35
Guinness4Strength4-Aug-04 9:35 
GeneralRe: Hit test with a Region Pin
Nick Parker4-Aug-04 11:30
protectorNick Parker4-Aug-04 11:30 
GeneralRe: Hit test with a Region Pin
squonk4-Aug-04 13:34
squonk4-Aug-04 13:34 
QuestionWhere can I find the private key associated to my certificate? Pin
Escroto4-Aug-04 9:31
Escroto4-Aug-04 9:31 
AnswerRe: Where can I find the private key associated to my certificate? Pin
Heath Stewart4-Aug-04 12:07
protectorHeath Stewart4-Aug-04 12:07 
GeneralCasting problem Pin
BrcKcc4-Aug-04 8:19
BrcKcc4-Aug-04 8:19 
I have the following code:
/* In myprog.exe - I get an exception here */

catch (LdapException e)
{
string port = String.Format("{0}", ldapPort);
m_log.LogMessage("strCantConnectToLdap", "strCantConnectToLdapTitle", e, ldapHost, port, loginDN);
return false;
}

/* which calls this in my.dll */
public DialogResult LogMessage(string headerTag, string messageTag, LdapException e, string sub1, string sub2, string sub3)
{
string [] subParams = new string[3];
subParams[0] = sub1;
subParams[1] = sub2;
subParams[2] = sub3;
return FullLogMessage(headerTag, messageTag, MigError.ErrorLevelE.ERROR, e, subParams);
}

/*which call this in my.dll */
public DialogResult FullLogMessage(string messageTag, string headerTag, MigError.ErrorLevelE level, Exception exception, string [] subParams)
{
// Rework for different types of exceptions
if (exception != null)
{
if (exception is LdapException) /* should succeed but doesn't - why?*? Confused | :confused: */
{
LdapException e = exception as LdapException;
format = LoadString("strLdapExceptionFormat");
string ldapErrorString = MapLdapError(e.ResultCode);
exceptionMessage = String.Format(format, e.LdapErrorMessage, e.resultCodeToString(), ldapErrorString, e.StackTrace);
}
else
... <falls through="" to="" here="" instead="" why???Confused | :confused: ="">
}
}

Any ideas?

BRCKCC
Generalconceptual question about cryptography and CAPICOM Pin
pelos4-Aug-04 6:33
pelos4-Aug-04 6:33 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
Heath Stewart4-Aug-04 7:10
protectorHeath Stewart4-Aug-04 7:10 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
pelos5-Aug-04 1:53
pelos5-Aug-04 1:53 
GeneralRe: conceptual question about cryptography and CAPICOM Pin
Heath Stewart5-Aug-04 2:29
protectorHeath Stewart5-Aug-04 2:29 
GeneralSorting in HashTables/SortedLists etc Pin
MrEyes4-Aug-04 6:12
MrEyes4-Aug-04 6:12 
GeneralRe: Sorting in HashTables/SortedLists etc Pin
Heath Stewart4-Aug-04 7:05
protectorHeath Stewart4-Aug-04 7:05 
GeneralRe: Sorting in HashTables/SortedLists etc Pin
scadaguy4-Aug-04 12:09
scadaguy4-Aug-04 12:09 
QuestionHowto write values into a Access DB? Pin
bin_jackson4-Aug-04 6:11
bin_jackson4-Aug-04 6:11 
AnswerRe: Howto write values into a Access DB? Pin
Nick Parker4-Aug-04 6:50
protectorNick Parker4-Aug-04 6:50 
GeneralRe: Howto write values into a Access DB? Pin
bin_jackson4-Aug-04 7:00
bin_jackson4-Aug-04 7:00 
GeneralFolderBrowser crashes with long paths Pin
Lasome4-Aug-04 5:47
Lasome4-Aug-04 5:47 
GeneralRe: FolderBrowser crashes with long paths Pin
Heath Stewart4-Aug-04 5:54
protectorHeath Stewart4-Aug-04 5:54 
GeneralRe: FolderBrowser crashes with long paths Pin
Lasome4-Aug-04 5:59
Lasome4-Aug-04 5:59 
GeneralRe: FolderBrowser crashes with long paths Pin
Nick Parker4-Aug-04 6:10
protectorNick Parker4-Aug-04 6:10 
GeneralRe: FolderBrowser crashes with long paths Pin
Heath Stewart4-Aug-04 7:01
protectorHeath Stewart4-Aug-04 7:01 
Generalrun time properties in icon Pin
aberger564-Aug-04 5:33
aberger564-Aug-04 5:33 
GeneralRe: run time properties in icon Pin
Heath Stewart4-Aug-04 5:49
protectorHeath Stewart4-Aug-04 5:49 

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.