| Thread | Last Post | Replies |
|
| How do I wait until all threads have completed | 22 Jun 2006 19:09 GMT | 16 |
I would like to create a test harness that simulates multiple concurrent users executing an individual thread. I would like this to be determined at runtime when the user specifies the number of desired threads. When this is kicked off, I would like to wait in the primary thread ...
|
| Overcoming C# limitations | 22 Jun 2006 18:26 GMT | 28 |
I've recently encountered some design problems due to the language limitations of C#. Here are the scenarios: 1. Suppose I have a numerous number of functions that I would like to
|
| EXCLUDE nunit from production release | 22 Jun 2006 18:13 GMT | 9 |
It is great to have an automated testing during development. BUT, How can I build the production release without nunit being included? THX.
|
| Why is DataTable.Clear() so slow? | 22 Jun 2006 18:06 GMT | 4 |
I fill a DataTable with search results, which take a very long time if I first clear it. The values come from an object and I map them into the corresponding table columns. I may have 65000 results. I iterate through them, create a new row, fill it, and add it to the DataTable
|
| Wanted: C# code review | 22 Jun 2006 17:46 GMT | 7 |
I've been writing C# applications and web sites for some time, but I'm now planning to share my latest code with the world at www.codeproject.com. The code works fine, but I'd like someone with a bit more experience and some spare time to take a look at how it's organised. Being ...
|
| How to save html page using C# | 22 Jun 2006 17:21 GMT | 2 |
I am trying to save html page using C# because i want to save the page on the server not on the client side. I can do that using Javascript the problem that i am having i want to save the page on the server.
|
| Best way to handle datetimes for any culture? | 22 Jun 2006 16:58 GMT | 5 |
My app runs perfectly when run in Canada or the U.S. But others are experiencing problems. So I switched my computer to the UK culture and immediately saw a problem. This line was failing: Convert.ChangeType(newdate, propType, null);
|
| Convert VB to C#, Operator "Or" | 22 Jun 2006 16:41 GMT | 5 |
I have converted this VB code to C# but I got this error: "Operator '||' cannot be applied to operands of type 'int' and 'short'" Is VB allow to use Operator "Or" with 'int'? If yes, how to do this in c#?
|
| multiple elements conditional on if | 22 Jun 2006 16:31 GMT | 1 |
I am trying to set some elements to values depending on the selection in a test box. The first possible value that can be selected should set fmttest1= "", fmttest2=" to " and fmttest3="". The second value that can be selected from the test box should set the fmttest1 ="From ", ...
|
| STDole image to bitmap | 22 Jun 2006 16:27 GMT | 1 |
I am using the msvidctl to capture display input on my pc from a tv card. I would like to press a button to capture an image, so use the "capture" method of the msvidctl object but am unable to assing this to a bitmap. I get the following error.
|
| Difference between try{}catch{} and try{}catch(Exception e){} ? | 22 Jun 2006 16:25 GMT | 7 |
|
| WebMethod returning an XmlDocument generating a compile error in the client. | 22 Jun 2006 16:06 GMT | 8 |
I have a WebMethod as follows: [WebMethod] public XmlDocument OrderContract(XmlDocument doc) {
|
| Looking for a C# VS 2005 Documentation/Help tool | 22 Jun 2006 15:58 GMT | 6 |
I have tried NDoc 1.3.1 - dues not support .net 2.0 assemblies (have also tried the hack involving a config file using the <supportedruntime version="v2.0.50727"> to no avail - crashes) as well as a beta NDoc 2005 (can initiate conversion from 2005 solution but also crashes -
|
| XML Serialization of a list of objects | 22 Jun 2006 15:56 GMT | 2 |
I'm building an app which allows a user to create an ordered list containing sometimes many thousands of objects, each of which he chooses from a set of objects pre-defined within the app. The user can save his list, and internally the program will serialize
|
| Thread Collections | 22 Jun 2006 15:37 GMT | 3 |
I may be missing something simple, but I cannot find any way to get a collection of managed threads in a process. What am I missing? Steve (P.S. When I say managed, I mean System.Threading.Thread, not
|