You'll have to delete it from the Xml yourself. Presumably you know how to do this, we certainly can't help since you havn't provided any information as to how you're storing and/or reading/writing the data to the file.
I have no idea what I just said. But my intentions were sincere.
What XML? If you are using WPF and have "hard coded" the nodes in the Xaml, they will always be there on restart (they represent "initial conditions"). If you are building the tree by reading some other xml file, you will have to write code to do this...
The problem is this that im setting these 4 properties from my application via comboboxes
[ 1 COM Port
2 Baud Rate
4 SopBits }
when the user selects the values from the combo boxes i want the value is also saved in the system as a default value
for example if one selects baud rate 9600 from the combo box so at the same time the system baud rate is also changed to 9600 same as if i change other values it is saved to the system
Could any on help me
This may seem a stupid question to you, but i wanted to know that i downloaded the .netframework 3.0 and an addon for Visual stidio express C#, but its not giving up any visual development environment. how will that activate. Please guide..
int stride = bmData.Stride;
byte* p = (byte*)(void*)bmData.Scan0;
for (int y = 0; y < imtooperated.Width; y++)
for (int x = 0; x < imtooperated.Height; x++)
blah.Add(p[range]); //here error comes
p += 1;
p += stride;
You can use the Quality encoder parameter, which works only with the JPEG encoder. Here's how to specify a quality level when saving an image:
//Get all the image encoders and find the one for the JPEG format
ImageCodecInfo codec = null;
foreach(ImageCodecInfo c in codecs)
//Create a list of encoder parameters with space for a single entry
EncoderParameters encoderParams=new EncoderParams(1);
//Create a parameter to pass to the codec, with the category "Quality" and //the desired quality value (where 100 is 100% quality)
EncoderParameter encoderParam=new EncoderParameter(Encoder.Quality, 90L);
//Add the parameter to the list of encoder parameters
//Save the bitmap using the JPEG encoder and the parameter list