|
Seems like the last time I tried that I got bogus results... I'll try it again...
My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my vengeance, in this life or the next. - Gladiator
I work to live. I do not live to work. My clients do not seem capable of grasping this fact.
|
|
|
|
|
Hi!
Doesn't any collection implementing IDictionary give you what you want?
If you try to add an element whose key already exists in the dictionary, an ArgumentException is thrown...
Regards,
mav
--
Black holes are the places where God divided by 0...
|
|
|
|
|
Not positively sure. By convention I try to avoid causing any type of error as a means of correct programming so I've never tried this. I'll let you know what I find out.
My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my vengeance, in this life or the next. - Gladiator
I work to live. I do not live to work. My clients do not seem capable of grasping this fact.
|
|
|
|
|
Well that is 1.1 the dictionaries prolly do it in 2.0 as well.
File Not Found
|
|
|
|
|
Going to find out. Never tried it before so I thought I should ask before I started playing with matches.
My name is Maximus Decimus Meridius, Commander of the Armies of the North, General of the Felix Legions, loyal servant to the true emperor, Marcus Aurelius. Father to a murdered process, husband to a murdered thread. And I will have my vengeance, in this life or the next. - Gladiator
I work to live. I do not live to work. My clients do not seem capable of grasping this fact.
|
|
|
|
|
I am new to C# and facing a problem. Please help me
•I have to programmatically verify digital signature of cab file downloaded from internet. Please guide me for right technical article, etc.
•I Have the public key of file publisher through which I have to verify the signature origin too
Ashwini
|
|
|
|
|
Does anyone know an available FTP class that I can use to upload files using MVS DSName (Mainframe) naming conventions? such at blah.blah.filename
By the way...I am crippled into using .net 1.1 so FTPWebRequest is out of the question. Thanks!
|
|
|
|
|
Simple Google or Code Project search would have yielded this[^].
|
|
|
|
|
Hey, thanks for the suggestion. Too bad I've already done countless "Simple Google or Code Project" searches and found that this class is completely useless. Not to worry...I have gotten the wininet.dll command function working.
|
|
|
|
|
Is it possible to have one backgroundworker complete one job, then move on to another completely different job all in the same class? If so, how?
Thanks!
|
|
|
|
|
No, not without any coding. You could easily modify the BackgroundWorker to support such a thing. Fortunately for you, someone's already done this: QueuedBackgroundWorker component[^].
|
|
|
|
|
How can i generate random number in C#?
|
|
|
|
|
Random on = new Random();
int num = on.Next(1, 100);
1 and 100 is min and max limit
Thanks and Regards
Sandeep
If you want something you never had,
do something you have never done!
|
|
|
|
|
|
I always use the hard-coded value of three. You can't really prove its not random.
Some people insist on System.Random but I don't trust it.
File Not Found
|
|
|
|
|
|
In .net 1.1 there was a hyperlink for Add Installer to install windows service. This option seems to be missing in .net 2.0
Am I right? How do you install the windows service in .net 2.0 please?
Thanks
|
|
|
|
|
arkiboys wrote: How do you install the windows service in .net 2.0 please?
You should complain to your ISP that Google[^] is not working for you
led mike
|
|
|
|
|
I’m about to call a function in a native windows dll from my managed C# dll project. I want the function to return some kind of string (char*) so I get it as a System.String in my mandaged dll.
How can I do that? I’ve tried to add CLR support on my native dll but for different reasons it can’t compile with that option.
_____________________________
...and justice for all
APe
|
|
|
|
|
d00_ape wrote: I’ve tried to add CLR support on my native dll but for different reasons it can’t compile with that option.
Different than what?
led mike
|
|
|
|
|
My native dll is in fact an AutoCad arx (dll) and I get some very strange compile errors when adding CLR.
_____________________________
...and justice for all
APe
|
|
|
|
|
Oh "very strange"... well that certainly clears that up.
led mike
|
|
|
|
|
hello , how to convert wavefile to mp3 with options like bitrate,channel etc in c#.net?
|
|
|
|
|
An exe generates a myexe.exe.cfg file by default.
However, if I add a app.config to a dll it does not generate a similar file.
I would like my control (derived from Label) to have it's own key/value configuration file.
Thanks
Phil
|
|
|
|
|