Click here to Skip to main content
15,900,258 members
Home / Discussions / C#
   

C#

 
Questionusing fileupload control any file will save and retrieve from database Pin
grkrishna21-Mar-09 2:45
grkrishna21-Mar-09 2:45 
AnswerRe: using fileupload control any file will save and retrieve from database Pin
Xmen Real 21-Mar-09 4:15
professional Xmen Real 21-Mar-09 4:15 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna21-Mar-09 20:46
grkrishna21-Mar-09 20:46 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
Xmen Real 21-Mar-09 21:26
professional Xmen Real 21-Mar-09 21:26 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna21-Mar-09 23:05
grkrishna21-Mar-09 23:05 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna22-Mar-09 0:03
grkrishna22-Mar-09 0:03 
GeneralRe: using fileupload control any file will save and retrieve from database Pin
grkrishna23-Mar-09 2:23
grkrishna23-Mar-09 2:23 
QuestionLdap authentication on Vista? Pin
Ronni Marker21-Mar-09 2:34
Ronni Marker21-Mar-09 2:34 
Hi Guys,
Have on Windows XP been using the following code to authenticate if username and password are valid up against Active Directory. But found out that my apps are not working on Visa OS as it always return false, even if user + pw is correct - on XP no problems works 110% fine there, but on vista.. urgh!

private bool doAuthenticate(string szController)
{
    string path = "LDAP://" + szController;
    DirectoryEntry de = null;

    if (szUserName == null)
    {
        de = new DirectoryEntry(path);
    }
    else
    {
        de = new DirectoryEntry(path, "\\" + szUserName, szPassword);
    }

    try
    {
        Object native = de.NativeObject;
        return true;
    }
    catch (Exception ez)
    {
        return false;
    }
}


Any who have an idea on what is happening?

Cheers,
QuestionConvert PDF to Tiff Pin
Sun Rays21-Mar-09 2:18
Sun Rays21-Mar-09 2:18 
AnswerRe: Convert PDF to Tiff Pin
dan!sh 21-Mar-09 2:25
professional dan!sh 21-Mar-09 2:25 
GeneralRe: Convert PDF to Tiff Pin
Sun Rays21-Mar-09 2:27
Sun Rays21-Mar-09 2:27 
GeneralRe: Convert PDF to Tiff Pin
dan!sh 21-Mar-09 3:09
professional dan!sh 21-Mar-09 3:09 
Questionperforming button click automatically without performing it Pin
sashidhar21-Mar-09 2:04
sashidhar21-Mar-09 2:04 
AnswerRe: performing button click automatically without performing it Pin
Ravi Mori21-Mar-09 3:36
Ravi Mori21-Mar-09 3:36 
AnswerRe: performing button click automatically without performing it Pin
DaveyM6921-Mar-09 9:33
professionalDaveyM6921-Mar-09 9:33 
QuestionConversion from ascii to unicode Pin
tauras8121-Mar-09 1:15
tauras8121-Mar-09 1:15 
AnswerRe: Conversion from ascii to unicode Pin
dan!sh 21-Mar-09 1:25
professional dan!sh 21-Mar-09 1:25 
AnswerRe: Conversion from ascii to unicode Pin
PIEBALDconsult21-Mar-09 4:39
mvePIEBALDconsult21-Mar-09 4:39 
Questionruntime error for oledb Pin
Mangesh Tomar21-Mar-09 1:13
Mangesh Tomar21-Mar-09 1:13 
AnswerRe: runtime error for oledb Pin
dan!sh 21-Mar-09 1:32
professional dan!sh 21-Mar-09 1:32 
AnswerRe: runtime error for oledb Pin
Eddy Vluggen21-Mar-09 2:25
professionalEddy Vluggen21-Mar-09 2:25 
QuestionRegular Expressions Pin
yadlaprasad20-Mar-09 23:49
yadlaprasad20-Mar-09 23:49 
AnswerRe: Regular Expressions Pin
dan!sh 21-Mar-09 1:09
professional dan!sh 21-Mar-09 1:09 
AnswerRe: Regular Expressions Pin
Michael Schubert21-Mar-09 2:45
Michael Schubert21-Mar-09 2:45 
AnswerRe: Regular Expressions Pin
PIEBALDconsult21-Mar-09 4:40
mvePIEBALDconsult21-Mar-09 4:40 

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.