| Thread | Last Post | Replies |
|
| Thread | 18 Feb 2007 10:06 GMT | 7 |
Consider a class (MyClass) in which one of its methods (named Run) is supposed to run in another thread, rather than the Main thread. This class uses the System.Threading.Thread class to get the job done. Here's the pseudo code:
|
| how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to recenter the form on the screen at some point other then startup. | 18 Feb 2007 08:58 GMT | 1 |
how to get the System.Drawing.Point of FormStartPosition, e.g. if i want to recenter the form on the screen at some point other then startup.
|
| Is there a class like java.util.Properties? | 18 Feb 2007 07:54 GMT | 4 |
Is there a generic Properties class in C# like java.util.properties? I'd like some class that I can easily write and read from a a file and that constains <unique_string,string> pairs to be used as a configuration or parameters or properties file.
|
| minor reflection loadfrom/loadfile quirk | 18 Feb 2007 07:14 GMT | 2 |
can anyone help me with the following bellow is a routine i use that works, that will load an assembly from a dll class from the HDD, and instantiate a form to be used to control a device.
|
| iterating through radio button collection as an array | 18 Feb 2007 06:06 GMT | 5 |
I know you can iterate through a collection of radio buttons in a panel, using a "for each in control" type iteration that c# supports, but is it possible to iterate through the radio buttons collection, as if they were an array of radio buttons ?
|
| C Sharp and cgi | 18 Feb 2007 02:32 GMT | 2 |
I have a cgi script that is on a unix server. The cgi script runs some code then it prints two lines of data that I need. The c# program needs to be able to run the cgi program and get the two lines of data that it printed.
|
| Updated Serialized Class | 18 Feb 2007 02:31 GMT | 3 |
Originally, I had a class like the following that I would serialize to persist values from an options dialog: [Serializable()] public class MyClass
|
| TimesTen with C# or .NET Framework | 18 Feb 2007 02:05 GMT | 4 |
I like to use C# within 2.0 .NET Framework to connect application to TimesTen DB. But it looks like there's no such support for this. Questions
|
| Convert Null to DBNull | 18 Feb 2007 00:06 GMT | 6 |
I have a function that expects the following parms. How can I handle null values. For example, if FirstName comes through as null, how can i propogate that null value to the stored procedure. public long InsertPerson(string FirstName, string LastName, string
|
| Execution Time | 17 Feb 2007 23:42 GMT | 1 |
I have an application, and some methods are taking longer to execute then we would like. My task is to make the application faster. I was wondering if there is any way if I can find out which method calls take longer then others. If there is a way to see how long each
|
| can you use delegates to pass a copy of an object when an event happens? | 17 Feb 2007 21:07 GMT | 2 |
I am creating a listener class that listens for incoming connections. When I get an incoming connection, I want to signal an event to happen and pass that connected socket to a different thread for the real work. I want to continue to listen for more connections. So is
|
| .net cf 2 c# measure string height with maximum width | 17 Feb 2007 21:02 GMT | 3 |
I can not find a way to measure the height of a string by setting a maximum width! I need the strings maximum width to be the width of the screen and want to use that to calculate the height. Is this possible?
|
| message queue | 17 Feb 2007 20:30 GMT | 2 |
I am having a problem with my try and catch found in the code bellow. It never works when there is no msg in the queue. The code bellow is to read and process one message at a time. Upon completing the process, only then will the next and so on msg will be processed.
|
| Generics collection class that supports foreach .. | 17 Feb 2007 17:57 GMT | 11 |
I am writing a generic container class which I want to support the 'foreach' statement. My class looks something like this: class MyClass<T> : CollectionBase
|
| Emailed error reports | 17 Feb 2007 17:51 GMT | 4 |
I don't want to put email code in my app itself for security reasons as i don't want a password in my code client side. My app runs with a website in any case so i'd like to do this and this is my requirement:
|