| Thread | Last Post | Replies |
|
| ReadOnlyCollection and Multiple Threads | 28 Mar 2007 00:29 GMT | 4 |
I've been really leveraging the ReadOnlyCollection class the last few weeks, figuring that it works exactly as it's name describes. Yesterday I was rudely reminded that reading the documentation for a class is very important, and that making silly assumptions is also bad.
|
| c# structs and boxing | 28 Mar 2007 00:12 GMT | 1 |
I've read in the MCTS examn 70-368 book (page 58) that you must implement an override for the ToString() method for each struct you create. If you do that, there won't be any boxing. Boxing occurs when you call virtual method that a structure inhirits from system.object (for ...
|
| Problem with (string, string) constructor when extending the Uri class | 27 Mar 2007 22:07 GMT | 1 |
I have the following rather simple code, where I want to extend the Uri class in order to add a couple of handy methods. public class Uri2 : Uri {
|
| Windows Workflow Visual Designer | 27 Mar 2007 22:06 GMT | 1 |
Is possible to use the Visual Designer of WWF to replace my Flowchart Editor/Container application? what i mean is that i just need to use the Visual Designer to replace my MFC-based Flowchart Editor since i already have a Container to contain the flowchart-object(s) in my
|
| RegEx and Vb.net /// "Unrecognized escape sequence" | 27 Mar 2007 19:14 GMT | 4 |
I have a fairly simple RegEx code below. I am given a file name, (which I don't control) , and need to change a folder name in it. The code below is choking on the filename not being escaped.
|
| .NET Runtime error | 27 Mar 2007 08:56 GMT | 3 |
I'm facing an unidentified problem related to .NET framework. On event viewer, the following message is logged: Source: .NET Runtime 2.0 Error Reporting Category: None
|
| Rich test box in DataGridView Control | 27 Mar 2007 01:35 GMT | 1 |
I am trying to implement RichText box control into DataGridView Control. Would be greatful if anyone guides me how to implement it. Thanks, Kapil
|
| Convert.ToInt32("0") throws an exception, some systems | 26 Mar 2007 17:10 GMT | 7 |
I have an odd problem affecting some of my customer's systems. I've reduced it down to a simple, but bedeviling issue: Int32.Parse is failing to convert the string "0", on some systems. On those systems, the Framework throws a FormatException ("Input string
|
| Reflection and Inheritance question. | 26 Mar 2007 14:30 GMT | 1 |
I'm new to reflection and would like to know if what I want to do is possible. So far I haven't seem much value to reflection (for my needs) but that could be the result of not using it properly, or perhaps my architecture is inherently flawed.
|
| System.Convert.ToInt64(String) method exception | 26 Mar 2007 00:43 GMT | 2 |
This statement (txtNewOdometer is a variable for an edit box): lSN = System.Convert.ToInt64(txtNewOdometer.Text); is causing an exception iff a zero ('0') is entered into the textbox. But only on one user's computer; works fine on everyone elses.
|
| IO.Filestream: write single byte (.Net 1.1) | 26 Mar 2007 00:17 GMT | 3 |
I use an IO.Filestream to write a single byte close to the end of a huge file (120 GB) by setting the Position property and calling the WriteByte method. This takes 40 minutes because all the bytes before the byte to be written seems to be written. But I only want to write a ...
|
| UDPClient Broadcast Receive Error with PPPOE | 24 Mar 2007 21:02 GMT | 3 |
My Computer is Win2K3 R2, Code is: using System; using System.Net; using System.Net.Sockets;
|
| Another Thread Safety Question | 24 Mar 2007 09:01 GMT | 8 |
Hypothetical question: A multi-threaded app has an object with a privately scoped collection (like ArrayList) that is shared between threads. The model is one thread creates/reads/writes/updates the collection, and all other threads read the
|
| Use C# assembly in MFC - help | 24 Mar 2007 02:06 GMT | 1 |
I want to retrofit a C# class library assembly into legacy MFC C++ applications. The application projects are VS2005 or VS2003 projects but are unmanaged MFC C++ apps. I believe one approach is to enable COM interoperability in the C# assembly and use it as a COM library in the
|
| AsyncResult, Calback and WaitHandles | 23 Mar 2007 22:54 GMT | 6 |
I have a web service that reads data from the database in a number of asynchronous calls. I have a callback for each call so that I can call EndInvoke so that I can trap any errors.
|