Click here to Skip to main content
15,878,809 members
Home / Discussions / C#
   

C#

 
GeneralRe: Search PDF for text Pin
Manas Bhardwaj13-Jul-09 22:34
professionalManas Bhardwaj13-Jul-09 22:34 
GeneralRe: Search PDF for text Pin
Luc Pattyn14-Jul-09 1:38
sitebuilderLuc Pattyn14-Jul-09 1:38 
AnswerRe: Search PDF for text Pin
Manas Bhardwaj13-Jul-09 22:35
professionalManas Bhardwaj13-Jul-09 22:35 
QuestionHow to date lock for a setup build in VS2008 professional edition? Pin
svt gdwl13-Jul-09 21:35
svt gdwl13-Jul-09 21:35 
AnswerRe: How to date lock for a setup build in VS2008 professional edition? Pin
Manas Bhardwaj13-Jul-09 22:37
professionalManas Bhardwaj13-Jul-09 22:37 
QuestionCurved Form Pin
satsumatable13-Jul-09 21:29
satsumatable13-Jul-09 21:29 
AnswerRe: Curved Form Pin
Henry Minute14-Jul-09 0:08
Henry Minute14-Jul-09 0:08 
Questionprocess.startinfo Pin
arkiboys13-Jul-09 20:19
arkiboys13-Jul-09 20:19 
Hi,
Is this correct?
I am not sure why I get unknown username or bad password.
Note that the login and password I enter are both correct.
Is there something wrong with the way I am setting the username and password?
Thanks

private void CheckLogin()
{
System.Diagnostics.Process process = new System.Diagnostics.Process();
process.StartInfo.FileName = "cscript.exe";
process.StartInfo.Arguments = strScriptPath;
process.StartInfo.WindowStyle = System.Diagnostics.ProcessWindowStyle.Hidden;
process.StartInfo.UseShellExecute = false;
process.StartInfo.RedirectStandardOutput = true;

process.StartInfo.UserName = "myusername";
System.Security.SecureString strPassword = ReadPassword("password");
}

public static System.Security.SecureString ReadPassword(string password)
{
System.Security.SecureString secPass = new System.Security.SecureString();
for (int i = 0; i < password.Length; i++)
secPass.AppendChar(password[i]);
return secPass;
}
AnswerRe: process.startinfo Pin
Curtis Schlak.13-Jul-09 20:58
Curtis Schlak.13-Jul-09 20:58 
GeneralRe: process.startinfo Pin
arkiboys13-Jul-09 21:30
arkiboys13-Jul-09 21:30 
GeneralRe: process.startinfo Pin
Curtis Schlak.14-Jul-09 13:28
Curtis Schlak.14-Jul-09 13:28 
QuestionGet BIOS Date Pin
rhtbhegade13-Jul-09 19:52
rhtbhegade13-Jul-09 19:52 
AnswerRe: Get BIOS Date Pin
himanshu256113-Jul-09 20:23
himanshu256113-Jul-09 20:23 
GeneralRe: Get BIOS Date Pin
Fred 3417-Oct-09 0:34
Fred 3417-Oct-09 0:34 
AnswerRe: Get BIOS Date Pin
Tamer Oz13-Jul-09 20:34
Tamer Oz13-Jul-09 20:34 
GeneralRe: Get BIOS Date Pin
rhtbhegade13-Jul-09 20:59
rhtbhegade13-Jul-09 20:59 
GeneralRe: Get BIOS Date Pin
Tamer Oz13-Jul-09 21:05
Tamer Oz13-Jul-09 21:05 
GeneralRe: Get BIOS Date Pin
rhtbhegade13-Jul-09 21:32
rhtbhegade13-Jul-09 21:32 
QuestionWhat are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
CoderForEver13-Jul-09 19:34
CoderForEver13-Jul-09 19:34 
AnswerRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
Henry Minute14-Jul-09 0:15
Henry Minute14-Jul-09 0:15 
GeneralRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
CoderForEver14-Jul-09 8:01
CoderForEver14-Jul-09 8:01 
GeneralRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
Henry Minute14-Jul-09 8:18
Henry Minute14-Jul-09 8:18 
AnswerRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
CoderForEver15-Jul-09 7:50
CoderForEver15-Jul-09 7:50 
GeneralRe: What are the pre-requisite to develop a software which facilitates VOIP in my LAN? Pin
Henry Minute15-Jul-09 13:13
Henry Minute15-Jul-09 13:13 
QuestionSimple Plugin Architecture Pin
Baeltazor13-Jul-09 19:28
Baeltazor13-Jul-09 19:28 

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.