|
Does your code look like this:
public Form1()
{
MailMessage2.Text = "eeeeeeee";
InitializeComponent();
}?
change it to
public Form1()
{
InitializeComponent();
MailMessage2.Text = "eeeeeeee";
}
If it' stuck, DO NOT pull harder!
|
|
|
|
|
abbd wrote: thank you verry mutch.
"Thank you very much."
I've noticed it on all you're posts.
hmmm pie
|
|
|
|
|
I'm just starting to look at creating a Rijndael encryption library to encrypt strings and files (input and output file name). However, since this is just for my personal use the key is stored right in the library. I'm trying to look into a way to be able to use this library but store the encryption key securely to use for encryption, and decryption. Or would asymmetric encryption be better? What articles would you recommend to look at for either case for key, and possibly init vector storage either on CodeProject or elsewhere?
I've been trying to find some simple articles that are very good, but maybe I'm not using the correct search terms.
Thanks
Revolutionary: Disk drives go round and round.
|
|
|
|
|
1. Rijndael algorithm is already implemented in C# Stdlib.
2. The whole purpose of having key is to NOT writing it down. For example you can generate it from password. Lets say you have a password "foobar". To encrypt data you get hashcode from you password and you use it as key, then to decrypt the data, you will just get hash from password again. So, what's the point of keeping key?
|
|
|
|
|
Right, I was just starting to research this topic. I'm new to this so I was trying to get it to work any way I could at first and then as I learn more, the library would become more mature and secure. I will look into generated a key from a password. It seems there is an object type called PasswordDerivedBytes as I searched a little last night. I am looking for a way to keep the key secure as I know it's not good to store it. So now when I use this with a website or program, the password will simply need to be passed in to generate the key in the code for encrypting decrypting if I am understanding this correctly. Thanks for that suggestion, I will attempt to put it to use.
Hope you had a great weekend.
Revolutionary: Disk drives go round and round.
|
|
|
|
|
Hello, i try for this :
<br />
System.Windows.Forms.TextBox To;<br />
mail_message.To = To.Text;<br />
<br />
But i have this error :An object reference is required for the non-static field, method, or property , can uou help me? thank you verry mutch.
|
|
|
|
|
System.Windows.Forms.TextBox To = new System.Windows.Forms.TextBox();
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
Hello i have this error : Error 6 The name 'Invoke' does not exist in the current context i do this :
<br />
if (statusStrip.InvokeRequired)<br />
{<br />
ConnectEventHandler con = new ConnectEventHandler(smtp_ConnectionEstablished);<br />
Invoke(con, new object[] { sender, Server, Port });<br />
}<br />
Help me please, thank you verry mutch.
|
|
|
|
|
You are trying to call Invoke on the class that this code is in.
It appears you might mean statusStrip.Invoke(...
DaveBTW, in software, hope and pray is not a viable strategy. (Luc Pattyn)Visual Basic is not used by normal people so we're not covering it here. (Uncyclopedia)
|
|
|
|
|
HOW TO SEND A MESSAGE BY CHANGING THEIR VALUES ACCORDING TO THE PERMUTATION values.
|
|
|
|
|
Great subject. What does that mean?
Same goes with the post. Be descriptive and adhere to the rules.
जय हिंद
|
|
|
|
|
Are you aware that your sentence doesn't make sense?
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
CPallini wrote: Are you aware that your sentence doesn't make sense?
fixed it.
Panic, Chaos, Destruction.
My work here is done.
|
|
|
|
|
Thank you.
If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler.
-- Alfonso the Wise, 13th Century King of Castile.
This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong.
-- Iain Clarke
[My articles]
|
|
|
|
|
can you help me please
i'm make project expert system in network computer designing and planning by c# language but I'm need implement some operations in prolog language so, I'm linked c# with prolog by File DLL his name(amzinet.dll) its good but when I'm execute the project in development phase with prolog , its show to me this message.
DLL (C:\Documents and Settings\jameil\My Documents\Visual Studio 2005\Projects\pets\bin\Debug\amzinet.dll) is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.
Managed debugging assistants (MDAs)
but the project's file executive
in directory bin his executed correctly.
please help to me
i'm sorry my english language's is very bad
|
|
|
|
|
You might get a better response from the Amzi Support Forums here[^].
I would try there, if I were you. Come back here if you get no joy there.
Henry Minute
Do not read medical books! You could die of a misprint. - Mark Twain
Girl: (staring) "Why do you need an icy cucumber?"
“I want to report a fraud. The government is lying to us all.”
|
|
|
|
|
Hello how i can daclare a public ArrayList? i declare: ArrayList Tbl = new ArrayList();, but there are an error : Error 1 The name 'tbl' does not exist in the current context D:\PROJETS\test.cs 79 49 test
Thank you verry mutch.
|
|
|
|
|
|
I hate case sensitive languages, coming from a VB background this has the potential to trip me up every time.
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
the problem is like the folowing---
SEND
+ MORE
-----------
MONEY
i hav to solve this prob lem ..
if any one can help me ...plz..
i will be very much grateful to...him/her.
if code segment is attached then it willbw excelent.
i hav to submit the solution tomorrow....
plz help me!!!!
thanx in advance.
TANIM
TAFIN
cse 2003
ShahJalal University
|
|
|
|
|
1. Why on C# forums?
2. Why not on algorithms forums?
3. Why that looks like homework / contest?
4. What's the problem?
|
|
|
|
|
You do realise you are feeding a troll right!
Never underestimate the power of human stupidity
RAH
|
|
|
|
|
We have few troll slayers on CodeProject so I wouldn't panic .
|
|
|
|
|
Hey, I am trying to write get/set properties for an array
public class MyClass
{
private MyType[] MyArray = new MyType[10];
public MyType this[int index]
get
{
return MyArray[index];
}
set
{
MyArray[index] = value;
}
}
but when I use code like this
MyClass instance = new MyClass();
instance[index].MyProperty = " ";
I get a NullReferenceException, can anyone tell me what is wrong with this code?
Thankyou
|
|
|
|
|
Maybe constructor of your class (MyClass) is not filling array with "MyType" (which is a class)? So instance[index].MyProperty == null , and you are referencing to it.
|
|
|
|