|
Sorry, but I can't help you there!
It's been so long since I learnt this stuff that I have no chance of remembering which text books I used...
The best guess I can offer is that it is accrued from a multitude of textbooks, plus the internet, plus experience! Not very helpful, I know...
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
not an issue
|
|
|
|
|
Schneier's stuff is generally regarded as the best around.
Applied Cryptography (https://www.schneier.com/book-applied.html[^]) is probably the best you're going to find on the subject. The book itself is a little dated, but it's still a very, very good reference, and the majority of the topics are still relevant today. It's a very technical, and requires a working knowledge of C and some advanced mathematics.
He's got some other less technical books as well on the subject of cryptography - Practical Cryptography is decent if you don't want to know the inner workings, but want to know how to effectively select correct algorithms and implement cryptography.
I haven't read Cryptography Engineering yet, it's supposed to be a second edition of Practical Cryptography. I'm not sure if it gets as technically detailed as Applied.
A list of his books are at https://www.schneier.com/books.html[^]
|
|
|
|
|
Nice explanation!
When I was a coder, we worked on algorithms. Today, we memorize APIs for countless libraries — those libraries have the algorithms - Eric Allman
|
|
|
|
|
Thank you!
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
Our client has a windows 2003 server, which contains a c# console application, which is currently executing once a week, and I need to stop this application from running. The problem is, I don't know where the original developers of this app, scheduled it to run from.
Our client severed ties with their prior development company, so we just inherited their work from this yesterday. I've been able to locate the directory where the c# console application is located, but I can't figure out where on this windows server 2003 box, this application is running from. I've checked scheduled tasks as well as windows services, but haven't found any trace of the executable.
Any possible suggestions as to where else someone may schedule a c# console application to run on a windows server 2003 box?
Thanks.
|
|
|
|
|
IIRC, the AT command allows an administrator to run an app at specified times, but doesn't show up in Task Scheduler. This[^] article tells you how to create an AT command, and how to cancel one. I hope it helps.
Will Rogers never met me.
|
|
|
|
|
Also it could be another service or scheduled task that runs the console app. Why not try and delete it. That'll stop it
"You get that on the big jobs."
|
|
|
|
|
Renaming it might be safer. It's likely that an error message will result at some point, possibly narrowing the search for a starting service. If it turns out that the program is necessary for something, the old name can be easily restored.
Will Rogers never met me.
|
|
|
|
|
|
It might not help him because it runs once a week and exits after running.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|
Have you asked yourself in the currency format function TextChange how my example below the cursor does not focus on the No. 2 spot, the book help me thanks!
if (textBox1.Text == "")
return;
else
{
int iIndex = textBox1.Text.IndexOf('.');
if (iIndex == -1)
{
}
else
{
string strT = textBox1.Text.Substring(iIndex + 1, 1);
if (textBox1.Text != "")
{
}
}
double a = double.Parse(textBox1.Text.Trim(','));
textBox1.Text = a.ToString("#,###");
}
modified 8-Mar-12 22:18pm.
|
|
|
|
|
Sorry, but that doesn't make much sense.
When you post code, please use the code widget above the textbox - it preserves formatting which makes the whole thing more readable.
I have reformatted your code, and also refactored it to make it more readable - taking out redundant conditions and so forth:
if (textBox1.Text != "")
{
int iIndex = textBox1.Text.IndexOf('.');
if (iIndex != -1)
{
string strT = textBox1.Text.Substring(iIndex + 1, 1);
}
double a = double.Parse(textBox1.Text.Trim(','));
textBox1.Text = a.ToString("#,###");
}
The trouble is that I have no idea what you are trying to do, so I also have no idea what problem you are trying to get help with!
Please try to explain a bit better so we can help you.
Ideological Purity is no substitute for being able to stick your thumb down a pipe to stop the water
|
|
|
|
|
We now want to enter the number into the textbox, textbox itself decimal format and displays the time on that textbox. For example, enter "123456789", the textbox will appear as 123,456,789. I have a problem when entering a string from 1 to 9 are ok, but when inserting a number in the range from 1 to 9, the textbox back to position the cursor on the first position, thanks to your help with , thank you very much.
Code I wrote
private void textBox1_TextChanged(object sender, EventArgs e)
{
try
{
if (textBox1.Text != "")
{
int iIndex = textBox1.Text.IndexOf('.');
if (iIndex != -1)
{
string strT = textBox1.Text.Substring(iIndex + 1, 1);
}
double a = double.Parse(textBox1.Text.Trim(','));
if (textBox1.SelectionStart >= textBox1.Text.Length)
{
textBox1.Text = a.ToString("#,###");
textBox1.SelectionStart = textBox1.Text.Length;
}
else
{
textBox1.Text = a.ToString("#,###");
}
}
}
catch (Exception) { MessageBox.Show("Must enter the number ."); }
}
modified 9-Mar-12 7:18am.
|
|
|
|
|
Do not use the TextChanged event, LostFocus or Validating are better.
|
|
|
|
|
I think there are workarounds, but they have not thought out.
|
|
|
|
|
Thanks for your interest in my question the last few days, now I have done the above issue then.
|
|
|
|
|
Not sure what you want to do. Perhaps:
int amount;
if (int.TryParse(textBox1.Text, out amount))
{
textBox1.Text=amount.ToString("#,###");
}
|
|
|
|
|
Mightn't a NumericUpDown be what you want?
|
|
|
|
|
Have you no one has any solution to make stars?
|
|
|
|
|
This big forum who can solve the problem of your own?
|
|
|
|
|
Good evening, I want to test if the list of addresses in a gride view is valid or not,I want to insert a new colum I inserted an image or how could I do?
for(i=0;i<=j;i++)
{
adress(dgv1.SelectedCells[i].ToString());
if (vadrs.validate(adress))
{
!!!
}
else
{
!!!
}
{</pre></pre>
|
|
|
|
|
First, why does everyone treat the datagrid as if it's Excel??
Wouldn't you just bind the datagrid to a collection of address objects? Wouldn't one of the properties of a address object (for whatever type of address you're talking about) be IsValid and return a True/False value?
Then it should just be a simple matter of using a TemplateField on this "column" and returning the URL for either a good address or another for a bad address.
No, I don't have examples as I don't really do any ASP.NET stuff.
|
|
|
|
|
The bigger problem is the original thread is also a breed of 'code solicitation', which is not normally supported in these forums.
Vasudevan Deepak Kumar
Personal Homepage Tech Gossips
The woods are lovely, dark and deep,
But I have promises to keep,
And miles to go before I sleep,
And miles to go before I sleep!
|
|
|
|
|