| Thread | Last Post | Replies |
|
| making this C# procedural function an OOP function - get rid of the parameters | 25 Jul 2008 22:14 GMT | 14 |
hi colleagues, I don't know if this is the right group for but it's in C# so I try. I have a #3 procedural function called GetInfo.. and those are 3 overloaded methods. I would like to use the OOP approach to refactor
|
| Executing system calls | 25 Jul 2008 22:01 GMT | 4 |
I want to execute a BAT-file as follows. string dir = "c:\\temp\\"; string file = "batch.bat"; TheYetUnknownMethod(dir + file);
|
| Cast generic IFoo<T> | 25 Jul 2008 21:56 GMT | 22 |
The problem I've come across is that I want to use an interface as an abstraction. For example, if i have some interface: public interface IFoo<T> {
|
| Calling a constructor from another constructor | 25 Jul 2008 21:44 GMT | 2 |
I am writing a class with several constructors and don't want to repeat the code. How can I call a constructor from another constructor? Example:
|
| LINQ To SQL | 25 Jul 2008 21:20 GMT | 4 |
Why is it so slow? I really like that queries but using DataReader i have done my task's much more faster than ising LINQ...
|
| small xml load/save howto | 25 Jul 2008 21:07 GMT | 1 |
Here are a few thoughts for loading and storing your xml using the XmlDocument class: First, don't ever insert the header manually. This is to be done by the writer. In other words, don't do this:
|
| Regular Expression | 25 Jul 2008 20:42 GMT | 1 |
How can I use regular expression to detect all the unprintable characters? Please help. Thanks.
|
| Windows Common task control | 25 Jul 2008 20:20 GMT | 1 |
Does anyone know an existing control that i could use that is like the Windows Common Task Toolbar. I can't find anything on the web. What i mean by Common Task toolbar it's if your on XP for example, and your using windows explorer (the
|
| How to create a RamDrive? | 25 Jul 2008 20:14 GMT | 7 |
Ok, I posed this question before, but instead of leading me to information on how to create a RamDrive, everyone was more concerned with how to address my other questions. My main question is: How can I create a RamDrive? Microsoft does this
|
| Combobox Load Help Please | 25 Jul 2008 18:42 GMT | 5 |
I have a Pocket PC app that has a combobox populated with data from SQL Server Mobile. This is how I'm doing it now...which works: SqlCeCommand cmd = new SqlCeCommand("SELECT Type_ID,Type FROM tblEquipmentType ORDER BY Type", _conn);
|
| How can I capture just the final resize event for a panel? | 25 Jul 2008 17:17 GMT | 1 |
I have a form with a toolstrip, a panel and a status bar. On the panel I added an event handler for ClientSizeChanged but it calls the handler umpteen times during a resize. Is there any way that I can just capture the final event when the user has finished resizing? If it takes a ...
|
| RamDrive | 25 Jul 2008 16:54 GMT | 4 |
We have several old applications that are provided by different governmental and other organizations. Most are console style apps that direct output to a filename. We do not want to recreate these applications for 2 reasons: First, it would
|
| Cast generic IFoo<T> : last level (I hope) | 25 Jul 2008 16:53 GMT | 4 |
Hello again, My last question which opened a big debate about casting such a generic interface learned me a lot, but I can't find a way because of my particular generic interface.
|
| How to handle exceptions in a library dll? | 25 Jul 2008 16:30 GMT | 6 |
I am writing a small library in C#, which will be compiled to dll and shared by multiple applications. This is sorta new to me. I am wondering how professionals handle exceptions in a dll library.
|
| DateTimePicker DropDown | 25 Jul 2008 15:03 GMT | 3 |
Is there a way to programatically tell the DateTimePicker control to drop down? My form needs the date to be selected, and whenever it is "rolled up," it is less obvious for my operators to see.
|