|
Hi all
I put my all configuration data into XML. I want encrypt the XML in such a way to secure it from miscreant.
what approach can i use.
Shall i encrypt each XML element value or
Shall i encrypt the whole XML file
if i encrypt the whole XML file ,then i need to decrypt the file and store it as a temporary XML file, by this temp. file i can process the data using XML document object. how to avoid this.
if i encrypt single XML element alone then the user can able to see the tags and they can able do corrupt.
so what the method i can use for XML encryption or is there anyway to secure the XML file from anonymus users?
I found one method
File.Decrypt(FileName)
but this throws me an IOException "Recovery policy configured for this system contains invalid recovery certificate." how to use this function??
Thanks in advance
Srini
|
|
|
|
|
Hi:
When I tab into fields in a GUI, say a numeric that has the value 0.00 in it, I want the value to be selected by default (highlighted in blue) when I tab in -- so that I can directly replace the entry by typing a different number.
Do the textbox and numeric objects provide some property I can set to achieve this?
Thanks, Smurfy
|
|
|
|
|
You can do it in the Enter event:
private void textBox1_Enter(object sender, System.EventArgs e)
{
this.textBox1.SelectAll();
}
|
|
|
|
|
How is the KeyStream used ?? what is the purpose ?? Is it to find the Pixels in the Bitmap(Carrier) to hide Message bits?? PLz let me know Why is the KeyStream Used ?? is it For Encrypting the Message ??
AMAN ANWAR
|
|
|
|
|
Just stop, some people have tried to help you, but you dont seem to take advise or read English well.
|
|
|
|
|
so Leppie , that's ur name uh ... u think ur a kind of a genius person , just shut ur mouth if u can't help and let me give u some advise donot ever underestimate the person u donot know .... coz he might be the one ..... get it !!
AMAN ANWAR
|
|
|
|
|
Look, the best place for information about the code in an article is in the forum at the bottom of that article's page. If you can't get ahold of the person immediately, be patient. Not everyone visits the site every day to check on their articles.
Posting the same question, what, 11 times will not get it answered. Frankly, it'll more likely get you ignored.
nwr_mn wrote: coz he might be the one
Uhhh....The one what? Nevermind, I don't really care.
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
nwr_mn wrote: so Leppie , that's ur name uh
no, it leppie .
nwr_mn wrote: just shut ur mouth if u can't help
I tried to help, but in a different way, seeing the other 10 responses didnt make sense to you.
nwr_mn wrote: let me give u some advise donot ever underestimate the person u donot know .... coz he might be the one
I'm heterosexual, sorry...
|
|
|
|
|
Hi everyone, Please help me
How to pass this ArrayList to a thread as an parameter.
Thread thread1 = new Thread(new ThreadStart());
thread1.Start();
ArrayList space = new ArrayList();
for (int i = 1; i <= 10 ; i++)
{
space.Add(i);
}
eric
|
|
|
|
|
You could try to use System.Threading.ParameterizedThreadStart instead of ThreadStart if you are using .NET 2.0.
If not - declare your ArrayList on class level (not inside function), and just call it from your thread... but be carefull to avoid cross-threading problems...
____________________________________________
Robin Panther http://www.robinland.com
|
|
|
|
|
Hi,
i have 2 textboxes txt1 and txt2 and a button(mybutton) which inserts variables into my textboxes.
problem:
i enter text into txt1 eg "my name is " and click on mybutton to enter a variable
so that my variable appears right after the text i entered eg "my name is xVariable_namex".
how do i let my button know which textbox it needs to enter the variable,in other words where the cursor position is.
remember i have two textboxes
hope you understand my question
thanks for your help;)
regards paula
|
|
|
|
|
just check the focused property of the textboxes and set
the value in the one which has the focused property true.
Regards,
Pramod
|
|
|
|
|
I'm not sure I understood well, but if you want to add the content of a variable to the textbox that contains some string, these should be helpful:
check if your control has focus:
control.Focused
check if your textbox has some text in it:
textbox.Text.Lenght
textbox.Text != string.Empty
appends new text to existing text:
textbox.Text += "your new text";
|
|
|
|
|
Any one have an example of using C# (ASP.NET web app) and JMP? Thanks, Eric
Here is the link to the white papaer.
http://www.jmp.com/software/whitepapers/pdfs/automating_jmp_wp.pdf
-- modified at 11:04 Wednesday 12th April, 2006
|
|
|
|
|
Hi,
Just one quick question: Do you have to register COM DLLs first using regsvr32 before you can create any instances of classes in the COM DLL? If so, is there anyway around this?
Any help would be much appreciated!
Thanks!
|
|
|
|
|
YES, COM dll's need to be registered before they can be used, and No there is no way around this.
|
|
|
|
|
Is there anyway to do this at runtime?
|
|
|
|
|
should be...something like
Process.Start("regsvr32 \i C:\path\to\yourdll.dll");
|
|
|
|
|
I have a problem when I am programming in C#.
I have a RichTextBox and in this RichTextBox, I put a sentence ( a string of characters). It is: " This program is edit by HieuNT". Now, I want to transform (move) this sentence from the botton to the top of this RichTextBox.
How to I code for achieve this problem.
Could you show me some others effect with string (of characters) or characters.
Thank you very much!
|
|
|
|
|
If you're wondering why you got voted down and no responses then:
1) Lack of a descriptive subject line
2) The word "Immediately!!" - we answer questions is OUR time when WE have the time ... not when you dictate. Also, asking for an answer "Immediately" is just plain rude!
-- modified at 9:56 Wednesday 12th April, 2006
|
|
|
|
|
I think that you are too stupid to answer my question. Read my question carefully and try to understand what it is before answer. Thanks.
|
|
|
|
|
WOW!!! The unmittigated gall!! And you want these people to answer your question!? I think you've just placed yourself on everyone's black-list. I didn't even read your original post and, now, I don't think I'll even bother!
Dave Kreskowiak
Microsoft MVP - Visual Basic
|
|
|
|
|
LOL
|
|
|
|
|
*PLONK*
I don't suppose there's any chance of getting a real killfile added anytime soon...
|
|
|
|
|
I sure as hell hope you dont need my help in future, because you aint gettin' it!
|
|
|
|