|
well i expected this answer but i wonder do you know any open to public library that i can use throw c# (my c++ skills are very basic) ?
|
|
|
|
|
There are some articles on CP that deal with low level TCP, packet sniffing, etc. here[^], for example.
|
|
|
|
|
i know this article but i can't find anything that talk about limit transfers speed
|
|
|
|
|
Hello,
There is no List class attributes, if I use 1.1 version of .NET framework.
Thank you.
|
|
|
|
|
Well, yes there is no List object in the .Net Framework 1.1. Do you have a question?
There are plenty of objects that implement IList that will behave like a list. Pick the one that is appropriate for your needs.
|
|
|
|
|
Thanks.
I did not formulate the question properly.;)
|
|
|
|
|
zaboboa wrote: I did not formulate the question properly.
..........................................And that question would be???????????????????????????
RageInTheMachine9532
"...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome
|
|
|
|
|
The question was if there is a List class, in 1.1 version.
I pretty much answered my own question.
Thank you.
|
|
|
|
|
Hello there,
i am developing a custom TabControl.
Have you seen the standard TabControl? From the properties window one can add or remove tabs...
I want to do the same!
Do you know guys if there is a way to achieve my goal?
Montezuma
|
|
|
|
|
I think these are called verbs . You can also see them by right-clicking on the control in the design window.
You will need to do some reading on Designers. I would tell you more but I've never used them myself.
|
|
|
|
|
Great man,
thanks to your keyword (i would never guess such a biblic name) i have been able to find this article
http://www.codeproject.com/csharp/CustomDesigner.asp
which explains exactly what i want to implement.
Thanks a lot!
Montezuma
|
|
|
|
|
Hi
I am working on a project that uses switch telephone machine and i want to control this machine by using C# if there is any one can help me please >>>
|
|
|
|
|
How can i found the full path of my IsolatedStorageFile ?
IsolatedStorageFile.GetStore(IsolatedStorageScope.User | IsolatedStorageScope.Assembly | IsolatedStorageScope.Roaming,null,null);
Thanks
-- modified at 9:41 Monday 24th October, 2005
|
|
|
|
|
i've used this stuff more and more times in the same project of my application.
Now i've saved a file and i've tryed to open it with another my application that has another namespace.
Now i can't open it.
How can do a free-namespace serializable class?
|
|
|
|
|
You mean namespace-free, I reckon.
When you serialize an instance of a class, the serialized data is intended to reconstruct an instance of that class, not some other class that happens to have the same name.
Why don't both of the apps use the same namespace and the same class? In other words, maybe you should have a separate library which both apps (the one saving and the one loading) use.
Either that, or you shouldn't be using serialization for this purpose. From what you are saying, it sounds like you may be abusing the idea of serialization and now it is coming back to bite you.
Matt Gerrans
|
|
|
|
|
Hello,
I have a recursive function call, and I want to cathc the StackOverflowException, in case too many stamps of the function are created. Here is my code to catch the exception:
<br />
public decimal startCalculationOfIRR (double[] intArray, decimal rate)<br />
{<br />
.<br />
.<br />
.<br />
<br />
<br />
try {<br />
rate = this.calcIRR(intArray, MINRATE, MAXRATE, rate, prevTotal, increment, counter);<br />
} catch (StackOverflowException) {<br />
return -0.00m;<br />
}<br />
return rate;<br />
}<br />
<br />
<br />
public decimal calcIRR (double[] intArray, string MINRATE, string MAXRATE, decimal rate, double prevTotal, decimal increment, int counter)<br />
{<br />
.<br />
.<br />
.<br />
<br />
return calcIRR (intArray, MINRATE, MAXRATE, rate, total, increment, counter);<br />
<br />
}<br />
<br />
The problem is that the try catch statement does not seem to catch the error, since the program exists with the StackOverflow Exception. Any ideas?
Thank you
|
|
|
|
|
hi,
catch the exception in the method calcIRR (intArray, MINRATE, MAXRATE, rate, total, increment, counter)
just try this.
i hope this should work for u
Regards,
Pramod
|
|
|
|
|
Catching the exception within the calcIRR function does not work either.
I just don't know what's going on.
Thanks
|
|
|
|
|
then try and use the base Exception class instead of
StackOverFlowException
May be this works
Thanks
pramod
|
|
|
|
|
I already tried to use
catch (Exception), but to no avail. It seems nothing works. It's almost like there is no catch statement at all present.
Thanks
|
|
|
|
|
You really shouldn't be coding like this. When a stack overflow exception occurs, there is no guarantee that any additional code will execute, like catch or finally handlers, for example.
You are much better off using iteration instead of recursion.
Regards
Senthil
_____________________________
My Blog | My Articles | WinMacro
|
|
|
|
|
WIth iteration I have to know basically the number of iteration I must perform. Unfortunately here I don't know that. That is why I used the recursive call.
Thank you.
|
|
|
|
|
What he means is that you should terminate your recursion in a controled manner instead of letting it go bonkers. There should be a point where you know you can't go farther. Why not stop there instead of blindly plowing on? Sometimes the stack will die at 100 frames. Sometimes the stack will die at 1000 frames. You can't glean any useful information from StackOverflowException except the execution couldn't allocate stack. Inferring any other meaning to any exception is of dubious logic.
|
|
|
|
|
Where does it give the location of the StackOverflowException ?
|
|
|
|
|
The location is random, I even pass the counter to see how many times the function is called. Even then, the number is not always the same. Thy funny thing it was working before, all of a sudden it's not working.
Thank you.
|
|
|
|