No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
Hi,i'm buliding an application which accepts new password when their exists a default password [code] savedPassword = (Application.UserAppDataRegistry.GetValue("newpassword")) ? Application.UserAppDataRegistry.GetValue("newpassword").ToString() : "defaultPassword"; [/code] but i'm getting an error it says cannnot convert objet to bool..i think theirs something wrong in ternary operator. Thanx.:) |
|
I have a problem with understanding a deserialization code....Can anyone help with this one: public clsSerial DeserializeFriend() //[U][B]why clsSerial is done here ??[/B][/U] { clsSerial temp = new clsSerial(); try { BinaryFormatter format = new BinaryFormatter(); FileStream myStream = new FileStream(“Test.bin”, FileMode.Open); temp = (clsSerial)format.Deserialize(myStream);// [B][U]and why (clsSerial)is added here[/U][/B] … |
|
I have problem in opening the project in Visual Studio 2005... Any help is appreciated...Thanx.:-/ |
|
Their is difficulty in changing the name of the columnheader of list view constantly by using the loop in button click method...Is their any way to change the textname by using loop??? :S |