| Thread | Last Post | Replies |
|
| Locking in C# | 16 Nov 2007 05:03 GMT | 7 |
Does anyone know whether or not it is faster to lock a simple object, rather than a complex type? For example: Dictionary<string, SomeOtherClass> dict = new Dictionary<string,
|
| Pinvoke Signatures for FindText from comdlg32.dll | 16 Nov 2007 04:29 GMT | 3 |
does anybody have ready-to-go PInvoke Signatures and/or Prototypes for the FindText Function from comdlg32.dll? C# would be great, any other DotNet Code would also be very helpfull.
|
| How: multiple program instances sharing same data | 16 Nov 2007 03:38 GMT | 22 |
I want multiple instances of the same .exe to run and share the same data. I know they all can access the same file at the same time, no problem, but I'd like to have this data in RAM, which they can all access. It seems like a needless waste of memory to make them all
|
| Regex length | 16 Nov 2007 01:17 GMT | 1 |
we have a feature where the user can create a regular expression to do a mask edit (pattern) on a specific field. This field cannot have more than 5 characters. We want to validate the user regular expression so it cannot have more
|
| how to open one form from the other form and close the first form | 15 Nov 2007 23:37 GMT | 3 |
how to open one form from the other form and close the first form if there are only two forms in windows application(VB.net) i had tried this method dim f as new form2
|
| custom memory management | 15 Nov 2007 22:52 GMT | 2 |
suppose I implement a custom caching mechanism for my custom ORM implementation. suppose I'd like the client code to be able to define the maximum amount of memory the cache is allowed to occupy. however, I have no idea how from within the code I can even retrieve the
|
| equivalent to "Load" event for a textbox. | 15 Nov 2007 22:48 GMT | 2 |
I am creating a self-checking set of usercontrols. They tend to call their self-checking functionally in the "Load" event. I have run into a problem with my TextBox usercontrol, however, as the base component does NOT have a Load event as far as i can ascertain.
|
| Default value of any type. | 15 Nov 2007 22:45 GMT | 14 |
For any given type i want to know its default value. There is a neat keyword called default for doing this like object x = default(DateTime); but I have an instance of Type (called someType) and something like
|
| Alternate enum value | 15 Nov 2007 22:43 GMT | 3 |
I have an enum marked with the flags attribute. I would like to assign an alternate value to each enum member so that instead of being stuck with the value needed for the flag I could give each member it's position in the enum. This is just an example, what I really need is
|
| How to make Designer ignore code | 15 Nov 2007 22:04 GMT | 4 |
Is there a directive or a command to outline code that I want the Designer to ignore? I am creating a group of user controls with extended self-checking functionality. In each user control, I call a self-check function from a Load event handler, which checks ranges or
|
| Using Interop to open file | 15 Nov 2007 22:00 GMT | 3 |
I have a managed plugin to an unmanaged application. From the plugin I'd like to be able to open a file in the application without showing the file->Open dialog. Is this possible? I can get the applications Handle and have 'tested' opening a file using SendKeys but I'd like to
|
| Setup.exe localization | 15 Nov 2007 21:42 GMT | 6 |
I am facing a problem in localizing the setup file and .NET framework redistributable. I am trying to deploy c# winform application. I have created a setup project. I need to redistribute .NET framework 2.0 along with the
|
| AJAX UpdatePanels Challenge | 15 Nov 2007 19:55 GMT | 1 |
I have a parent updatepanel with a repeater in it that generates 10 child updatepanels. I have one button that will refresh all these 10 updatepanels. On the button click I go through the repeateritems, pull some values
|
| implement unmanaged interface | 15 Nov 2007 19:28 GMT | 5 |
Can somebody suggest me, how can I implement a vc++ interface in C#.net. This interface has method CallMe( ) which is used as a CallBack from my main application. Thanks,
|
| generic interface conversion question | 15 Nov 2007 19:16 GMT | 13 |
I'm having trouble with a project that I've distilled down to the following code. Unfortunately it won't compile and gives the following error (caused by the call to GetHorses() in HorseFarm's GetAnimals() method): Cannot implicitly convert type 'MyCollection<Horse>' to
|