| Thread | Last Post | Replies |
|
| Hashtable Synchronization to Ensure Thread Safety | 14 Mar 2006 21:45 GMT | 5 |
I have a question regarding synchronization across multiple threads for a Hashtable. Currently I have a Threadpool that is creating worker threads based on requests to read/write to a hashtable. One function of the Hashtable is to iterate through its keys, which apparently is ...
|
| text on a disabled combobox | 14 Mar 2006 21:38 GMT | 4 |
I need to make the text on a combobox that is disabled to be drawn with a black color. I was not able to find any help on this online. The drawItem seems to apply only for the dropdpwn items. Any ideas or sugesstions would be appreciated.
|
| Locking Question around hashtable | 14 Mar 2006 21:29 GMT | 16 |
In csharp, what is the correct locking around reading and writing into a hashtable. Note that the reader is not looping through the keys, simply reading an item out with a specific key: If i have the following hashtable h which has multiple readers and 1
|
| Processing or wait control | 14 Mar 2006 21:11 GMT | 3 |
Is there a processing or wait control in .NET that i can display to the user when large amounts of data are loaded from the database. Since i cant use the progress bar since i dont know how much data is loaded from the database. Thank you,
|
| Start Process in New Desktop .NET2 | 14 Mar 2006 21:07 GMT | 1 |
I can create a new desktop, I was wondering how to launch a Process into my new desktop using .Net v2 - it doesn't seem that the ProcessStartInfo class has a parameer for this - so how can I do this (without pinvoking)? TIA
|
| Using C++ function pointers in C# | 14 Mar 2006 21:04 GMT | 2 |
I have written a library in ('native') C++, and I have made a lot of use of function pointers e.g.: /* Example C++ callbacks: typedef void (*CBFUNC1)(unsigned int, const char*, object&);
|
| How to display SQL data in the comboBox | 14 Mar 2006 21:01 GMT | 2 |
I have created a GUI with a couple of ComboBoxes. In these comboBoxes, instead of having the date from the Collection Property, I would like the data from some of the SQL tables to be displayed. Any idea on how to approach this??
|
| Array | 14 Mar 2006 20:55 GMT | 4 |
Its being said that 1.Array can include any datatype including objects>>Can i have some example on this. 2.Array supports readonly iteration>>This concept is not clear.
|
| synchronizing on serial port data | 14 Mar 2006 20:52 GMT | 1 |
I'm new to C#, but have been doing embedded programming for years. I have an application that talks to an embedded radio on the serial port of my PC. I have most of the application running pretty well, but if I click a button before the radio sends its response from the previous ...
|
| Would you like to create a wrapper? | 14 Mar 2006 20:48 GMT | 2 |
I converted an existing VS2003 into a VS2005 project. This particular project had refenences to MS Office and Excel. When I compile the application I noticed I got compile warnings and those warnings were on my reference to MS Office and Excel. When I clicked on the warning, I ...
|
| Static Methods | 14 Mar 2006 20:46 GMT | 1 |
I have a sealed public class which contains a couple of static public methods. I pass each of these methods, among other things, an instance of a class. When I compile this class and define each of the methods in the class as "static private", I get no compile errors on this ...
|
| Simplified property syntax? | 14 Mar 2006 20:37 GMT | 13 |
Is there or should there be a simplified property syntax? For example we have to write: class MyClass { private int _field;
|
| Clarifying question about the GAC | 14 Mar 2006 19:52 GMT | 1 |
I've got a program that runs on a machine that will automatically update things like the DLLs that a group of programs use. I'm looking at using the GAC because it's getting to the point that I have about 12-15 DLLs that all the programs use. This all has to be silently in the ...
|
| Writing multithreaded class in .net ( C#) | 14 Mar 2006 18:54 GMT | 6 |
My requirement is to write class that is thread safe.( All public methods & static methods must be thread safe ). I found two options to implement this 1.using MethodImplOptions.Synchronized attribute
|
| using enums across a web app | 14 Mar 2006 18:31 GMT | 1 |
I have an enum that I want to use across my web app. I have a base class that most of my web pages inherit from that I have put it in, and a data access class as well. But when I make reference to it in my web pages I get the error :
|