| Thread | Last Post | Replies |
|
| Attributes and interfaces | 15 Jun 2007 04:28 GMT | 3 |
I have an interface which has a bunch of methods defined that all the inheriting classes will have to implement. How can I force the inheriting classes to have a class attribute? Something like this (except it does not compile)
|
| About Asynchronous method invocation | 15 Jun 2007 04:02 GMT | 1 |
Asynchronous method model generally has a callback delegate as argument. The delegate will be called when some WaitHandle is set or time out. And, one more argument is used as state object to transfer any customized data into callback delegate. I believe that is un-
|
| Displaying a text directly on graphics card. | 15 Jun 2007 04:01 GMT | 5 |
We're trying to diplay a message on the screen, and we want it to be always there, regardless of whether a new application is run, which may occupy that portion of the screen. Put another way, I want a text (or other types of graphics) to be always
|
| FileSystemWatcher invalid directory name | 15 Jun 2007 04:00 GMT | 5 |
I have written a windows service to watch a folder for newly created documents. Works fine when watching directories on my local machine, but always get a "directory invalid" error when I either try to watch a UNC path or mapped drive.
|
| Picture box and deleting file | 15 Jun 2007 03:45 GMT | 6 |
after setting another image to the picture box it is not possible to delete the last shown file via File.Delete ( sFilename). Path of image file is correct. Error message box says: file is being used by other process.
|
| Tread Problem | 15 Jun 2007 02:58 GMT | 4 |
I hvae three thread and a thread that is used to show a winform. The code: Thread ThreadDialog= new Thread (new ThreadStart (ShowDialog)); //Show a winform Dialog
|
| RemoveAll for a SortedList | 15 Jun 2007 02:22 GMT | 4 |
i am looking for an easy way to do a "RemoveAll(Predicate<T> match)" for a SortedList like it is possible for a List. My first question is: Why is the Method not available for the SortedList.
|
| Planning on going with dynamic SQL, but... | 15 Jun 2007 02:15 GMT | 11 |
I've read a few posts on the stored procedure vs dynamic sql debate. I ran a few performance test for myself and it appears to be a wash. Given that, I'm leaning toward dynamic sql mostly because it would mean one fewer place to have things.
|
| Number of combinations | 15 Jun 2007 02:12 GMT | 10 |
I have arrays below: arr1 = { a, b, c} arr2 = {1, 2, 3} arr3 = {x, y, z}
|
| Calling generic method with a T parameter determined at runtime | 15 Jun 2007 02:06 GMT | 7 |
I'm trying to call a generic method by providing the T parameter at runtime, as opposed to compile time (i.e. by specifying the T parameter in the method call). I was under the impression that the CLR was able to infer the T type dynamically - perhaps I was wrong or simply ...
|
| Question Regarding Framework 3.0 | 15 Jun 2007 01:51 GMT | 2 |
I want to know if the Framework 3.0 has support for Tibco or can I just reference the Tibco library and use it as if I was writing the code in C#. Also I have a FIX object, can I use this within Framework 3.0 as well. Finally how does Framework 3.0 run the workflow task. For ...
|
| Property Block Accessibility | 14 Jun 2007 23:19 GMT | 3 |
In C# 2003, is there a way to phrase a property block so that the getter is public and the setter is internal? How about in 2005?
|
| Reverse Changes | 14 Jun 2007 20:39 GMT | 2 |
I want to place a button on a form so the user can reverse data entry changes to an existing record. Does anyone have any ideas on how to code this. The form has 2 datagridviews on it as well. Thanks in advance,
|
| Issue with Equals on List | 14 Jun 2007 20:32 GMT | 1 |
I have to find an object of Employee (Say 'Empl') in a list of objects of Employees (EmployeeList). The object Empl inturn has a list of objects (say List of Children objects ) in it. I have used Find method with predicate as follows,
|
| Interop, PInvoke data coming from an umanaged source | 14 Jun 2007 20:31 GMT | 2 |
I've got the following umanaged code that I need to handle in C# code. The data I read comes from an external device, by Read(ID, &data, REGLEN); How should the code look for the structs in C# to handle "PULONG Value" in the function call and the "PktArray[0].pbyBuf = ...
|