Click here to Skip to main content
15,906,558 members
Home / Discussions / C#
   

C#

 
GeneralRe: XML questions ... Pin
Christian Graus18-Nov-02 15:34
protectorChristian Graus18-Nov-02 15:34 
GeneralRe: XML questions ... Pin
Nick Parker18-Nov-02 17:22
protectorNick Parker18-Nov-02 17:22 
GeneralRe: XML questions ... Pin
Christian Graus18-Nov-02 17:28
protectorChristian Graus18-Nov-02 17:28 
GeneralRe: XML questions ... Pin
LongRange.Shooter19-Nov-02 3:25
LongRange.Shooter19-Nov-02 3:25 
GeneralRe: XML questions ... Pin
LongRange.Shooter19-Nov-02 9:42
LongRange.Shooter19-Nov-02 9:42 
GeneralRe: XML questions ... Pin
Christian Graus19-Nov-02 10:07
protectorChristian Graus19-Nov-02 10:07 
GeneralRe: XML questions ... Pin
LongRange.Shooter19-Nov-02 10:53
LongRange.Shooter19-Nov-02 10:53 
GeneralOpen An HTML File Using Web Broswer Pin
yccheok17-Nov-02 21:51
yccheok17-Nov-02 21:51 
GeneralRe: Open An HTML File Using Web Broswer Pin
Mazdak17-Nov-02 23:12
Mazdak17-Nov-02 23:12 
GeneralRe: Open An HTML File Using Web Broswer Pin
Vasudevan Deepak Kumar17-Nov-02 23:13
Vasudevan Deepak Kumar17-Nov-02 23:13 
GeneralAnother DataEntry Pin
Mazdak17-Nov-02 19:35
Mazdak17-Nov-02 19:35 
GeneralDetermine Type of OS That User Used Pin
yccheok17-Nov-02 16:08
yccheok17-Nov-02 16:08 
GeneralRe: Determine Type of OS That User Used Pin
Nick Parker17-Nov-02 16:17
protectorNick Parker17-Nov-02 16:17 
GeneralRe: Determine Type of OS That User Used Pin
Vasudevan Deepak Kumar17-Nov-02 23:39
Vasudevan Deepak Kumar17-Nov-02 23:39 
GeneralComplex relational database Pin
laphijia17-Nov-02 11:19
laphijia17-Nov-02 11:19 
GeneralRe: Complex relational database Pin
Marc Clifton17-Nov-02 13:50
mvaMarc Clifton17-Nov-02 13:50 
GeneralBinary Registry Entry Pin
Jassim Rahma17-Nov-02 10:30
Jassim Rahma17-Nov-02 10:30 
GeneralRe: Binary Registry Entry Pin
Mazdak17-Nov-02 19:52
Mazdak17-Nov-02 19:52 
Your problem is writing to registry or you have problem to change password to binary value?

If your problem is first one,search this site,you can find an article about it.If it is second one you can write a function that get password string and return it like this:

public static byte[] EncryptPassword(string password)
{
	UnicodeEncoding encoding = new UnicodeEncoding();
	byte[] hashBytes = encoding.GetBytes( password );

        // compute SHA-1 hash.
	SHA1 sha1 = new SHA1CryptoServiceProvider();
	byte[] cryptPassword = sha1.ComputeHash ( hashBytes );

	return cryptPassword;
}


Mazy

"And the carpet needs a haircut, and the spotlight looks like a prison break
And the telephone's out of cigarettes, and the balcony is on the make
And the piano has been drinking, the piano has been drinking...not me...not me
-Tom Waits

GeneralMy Own Database File Pin
Jassim Rahma17-Nov-02 9:28
Jassim Rahma17-Nov-02 9:28 
GeneralRe: My Own Database File Pin
Vasudevan Deepak Kumar17-Nov-02 23:21
Vasudevan Deepak Kumar17-Nov-02 23:21 
GeneralAudio Files in DLL Pin
Jassim Rahma17-Nov-02 9:24
Jassim Rahma17-Nov-02 9:24 
GeneralRe: Audio Files in DLL Pin
Jassim Rahma21-Nov-02 14:27
Jassim Rahma21-Nov-02 14:27 
GeneralKeyboard Language Pin
Jassim Rahma17-Nov-02 9:09
Jassim Rahma17-Nov-02 9:09 
GeneralRe: Keyboard Language Pin
Mazdak17-Nov-02 18:44
Mazdak17-Nov-02 18:44 
GeneralInvoice Printing Pin
Jassim Rahma17-Nov-02 9:06
Jassim Rahma17-Nov-02 9:06 

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.