|
pashitech wrote: suggesting a good/moderate Encryption method for XML file
Never done that, so I'm not really in the position of given sugestions regarding this topic. Sorry, but I guess someone else here can give you valuable suggestions.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
here i don't mean, u suggest a Perticular Encrypting method,
what i mean is
PLEASE HElp me to learn ENCRYPTION AND DECRYPTION OF AN XML FILE..
HOpe U got me, now
since i'm a beginer i wanna learn something and use.
anyway Thnx alot for ur reply,
i'l be happy if u can explain with a sample....(what ever may the method, i want implement tat[XML ENCRYPTION] in my C#.Net(2.0)WindowsApplication)
thnx again,
prashanth,
s/w Engineer,
Syfnosys.
|
|
|
|
|
pashitech wrote: PLEASE HElp me to learn ENCRYPTION AND DECRYPTION OF AN XML FILE..
I can't. As I said I've never done encryption of XML files (concretely I've never done encryption at all) and therefore I'm beginner in that too. The best thing I can do, is refering you to google or the documentation of the System.Security.Cryptography and System.Security.Cryptography.Xml namespaces.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
typedef struct Struct0
{
UCHAR Id ;
UCHAR reserved [15];
};
typedef struct Struct1
{
ULONG ID;
UCHAR MaxVP ;
UCHAR MaxRange ;
UCHAR MaxDY ;
UCHAR MaxFY ;
UCHAR TypeInfo ;
UCHAR reserved [8];
Struct0 VPInfo[4];
};
typedef struct FinalStruct{
ULONG SystemId;
ULONG MaxINT ;
ULONG SysVersion ;
ULONG DllVersion;
ULONG reserved[12];
Struct1 Info[4];
};
DK
|
|
|
|
|
try to work it how a class with some propertys
|
|
|
|
|
hi,
i am creating a filebrowserdialog object and selecting a file and opening it.
now my question is how to select a more than one file.
help me.
with regards
prasad
|
|
|
|
|
set the FileBrowserDialog.multiselect = true
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
hi,
i am using a folder browser dialog and selecting the pericular folder.
Now my qusestion is how to get the files of selected folder.
pls help me.
With regards
Prasad
|
|
|
|
|
use Directory.GetFiles(path)
this will give u the list of all the files in that folder.
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
hi,friend
i am working on c#
directory. i am not getting this option itself
pls help me
thanks
prasad
|
|
|
|
|
The FolderBrowserDialog has a property called SelectedPath that gives you the path selected by the user. Use this path together with the classes provided by the System.IO namespace to get further information about the selected directory and its content. For example, to get the names of the files in the directory pass the return value of FolderBrowserDialog.SelectedPath to the static Directory.GetFiles method.
"Programming today is a race between software engineers striving to build bigger and better idiot-proof programs, and the Universe trying to produce bigger and better idiots. So far, the Universe is winning." - Rick Cook www.troschuetz.de
|
|
|
|
|
add the namespace System.io
Thanks & Regards,
Pramod
"Everyone is a genius at least once a year"
|
|
|
|
|
thank you friend
it is working
with regards
prasad
|
|
|
|
|
i want to create the list box which has horizantle and vertical scroll bar in asp.net using c#
|
|
|
|
|
Ask it in the ASP.NET forum.
|
|
|
|
|
I am not sure. Try applying CSS
|
|
|
|
|
private class classStr {
public string str;
}
public void temp()
{
classStr[] objStr = new classStr[3];
objStr[0].str = "New string";
}
when i m trying to execute above code it gives error at this line
objStr[0].str = "New string";
whether i hav to type cast "New string".
error generated: Object reference not set to an instance of an object.
|
|
|
|
|
Hi
You need to create an instance for each index of an array before accessing it.
Here is an example:
classStr[] objStr = new classStr[10];
for (int i = 0; i < 10; i++)
{
objStr[i] = new classStr();
objStr[i].Var = "New String";
}
Hope this is clear.
Harini
|
|
|
|
|
You must get that error!!!
Explanation: In the function temp,
In Line 1.You are creating an array of 3 elements. So that you are allowed to store 3 objects. But remember you dont have any objects so far in any of your array position(cell).
In Line2: The first object in 0th cell of the array you are trying to access( So far you dont hav anything in 0th cell of the array and so you get the error.)
So the bottom line is .... you must assign ( or store )something in the array before accessing array element(s).
Hope this helps ...
Thanks,
Arindam D Tewary
|
|
|
|
|
|
Hello All,
I know how to close a form,
just that i need to write the same code for the windows code button, along the maximize and the minimize buttons.
How can I do that.
Thanks in advance.
Keshav Kamat
India
|
|
|
|
|
Keshav V. Kamat wrote: just that i need to write the same code for the windows code button, along the maximize and the minimize buttons.
What is the use or writting same code there ? When user clicks windows close button form will close automatically ? Then what's u r prob ?
|
|
|
|
|
Never mind. I got it. Its not as simple as it looks to be.
I wanted to delete all databases created in the project.
Earlier, a separate button used to do the trick.
But if the user fails to click the special button, then the databases wont be deleted, which will in turn pose a problem the next time i run it.
What I mean to say is before the application exits, a series of tasks/events should occur. With the windows default close button, the application simply exists. Hence I wanted to place the code of events over there.
anyways thanks.
Keshav Kamat
India
|
|
|
|
|
Form.Close();
this.WindowState = FormWindowState.Maximized;
this.WindowState = FormWindowState.Minimized;
|
|
|
|
|
thanks got it.
I wanted a series of events to happen when the user clicks the default close button.
We can directly use the form closing event to do the trick.
Keshav Kamat
India
|
|
|
|