| Thread | Last Post | Replies |
|
| does reading op need semaphore in multi-thread coding? | 27 Jul 2007 01:19 GMT | 4 |
I am working in a multi thread project. is it necessary to use semaphore when doing reading operation. in my case I do loop to read share memory data. I remember it should be fine to read without protection.
|
| Access DB - Autonumbers? | 27 Jul 2007 00:39 GMT | 4 |
I have a question about autonumbers in Access db. How are they assigned when adding a new row to a table? I have table that has an autonumber column (replication ID/System.Guid) and a name column. When making a new row, I assign the name, then add the row to
|
| serial port DTR/DSR handshaking with system.io.ports | 26 Jul 2007 23:13 GMT | 3 |
i'm using serial port functionality provided by .net framework 2.0 using system.io.ports. Is there anyway that i can set DTR/DSR handshaking? Regards,
|
| Generic Dictionaries and Indexes | 26 Jul 2007 23:08 GMT | 2 |
I have been using a variety of generic collections and I really like them, but I have just noticed something weird ... If you have a generic Dictionary (or SortedList), you can retrieve elements from the list by index (I think).
|
| inconsistent ArrayList sort results | 26 Jul 2007 23:06 GMT | 3 |
I am trying to sort a collection using the sorting functionality offered by the ArrayList but seem to be getting inconsistent results. -------------------------------------------------------------------------------- the InvoiceLineItemCollection sort code looks like this -
|
| Sharing Common Classes | 26 Jul 2007 23:05 GMT | 1 |
Can anyone decribe a good method to share Common classes between projects while using source control? I used to just point everything to one directory... but started using SourceSafe lately, and that causes some issues, since when you update
|
| GDI+ : DoubleBuffer makes my animation slower... | 26 Jul 2007 21:48 GMT | 5 |
Im starting to code C# and I tried to make a simple animation of a ball moving in the screen(i will transform it later in a pong game). My program worked fine, but the ball was blinking while moving. So, I tried to put this lines of code into form constructor, cause I saw on
|
| Passing events between different classes | 26 Jul 2007 21:36 GMT | 9 |
This is probably a really basic question, but I know someone will be able to help me. I have a single object A that contains a hash of objects B. Each object B contains its own TCP client object containing a connection to a server somewhere.
|
| Why this simple generic code does not compile? | 26 Jul 2007 21:20 GMT | 5 |
public class TestGenericEnumerator<T> : System.Collections.Generic.IEnumerable<T> { public System.Collections.Generic.IEnumerator<T> GetEnumerator()
|
| delegate confusion | 26 Jul 2007 21:20 GMT | 12 |
hello world. i would like to implement a class with a timer, witch informs me every second about it's tick. the code works already, but i would like to change a thing (or more).
|
| Covariant Return on <blah>Command in DataAdapters | 26 Jul 2007 20:44 GMT | 1 |
Does anyone know how library implementors are writing Adapters so that the UpdateCommand, InsertCommand, SelectCommand and DeleteCommand properties are returning their library Specific command classes? I am currently writing my own library and would like to emulate. Help?
|
| form maximized event | 26 Jul 2007 20:32 GMT | 2 |
I am using form's ResizeEnd event to adjust some GUI staff on my form. But when user maximizes the form, this event is not fired. Theoretically, I could use Resize or SizeChanged events to catch when form is maximized (or normalized from maximized state) but then I loose all
|
| List objects which Implement a particular Interface | 26 Jul 2007 19:48 GMT | 1 |
How would I traverse through a namespace and determine all the object types that implement an interface. For instance in the namespace "Microsoft.SqlServer.Management.Smo" Namespace I want to determine all the Classes/Types which implement
|
| Sql server session state - Serializing the System.XML.XmlDocument | 26 Jul 2007 19:12 GMT | 6 |
I am implementing the Session state persistence to the Sql server in an application which all this while was using InProc session state. One of the pre-requisite of Sql server mode session state is that all the objects put into the session should be serializable. The problem is ...
|
| embedding CRLF | 26 Jul 2007 19:09 GMT | 2 |
I am not having success embedding carriage return and line feed characters into a string and displaying them with an ASP.NET label. Is anyone getting either of the following to work ? StringBuilder message = new StringBuilder();
|