| Thread | Last Post | Replies |
|
| Prevent code execution in form design view | 20 Nov 2005 19:33 GMT | 1 |
I made a control that in its onload sets the dockstyle to Fill, I only want this in runmode not in the IDE forms designer. Is there some attribute or define i can rely or use to prevent some code parts to execute in the designer view ?
|
| datareader return with one result instead of two | 20 Nov 2005 17:49 GMT | 2 |
I am using Datareader and stored procedure in C# ADO.NET. When I am running the stored procedure in the SQL Query Analyzer and recieve two rows (as I hace expected) col1 col2
|
| Linking objects together | 20 Nov 2005 17:47 GMT | 1 |
Let's say I have two classes, DNA, SocialSecurityNumber, and Fingerprint. There is a one-to-one-to-one relationship between the classes but no "wired" link between them.
|
| initialization of array from sub function | 20 Nov 2005 17:43 GMT | 1 |
I'm not sure if I understeand the garbage collector. Is this code legal, or will days well destroyed when this function exits: private int[] GetDays() int[] days = new int[2];
|
| about inheritance and array | 20 Nov 2005 17:24 GMT | 4 |
Assume we have the following classes and interfaces. We have a class called Inventory that is associated to a class called Product. We have some classes that is derived from this Product class and from two
|
| Serializing a Generics Dictionary? | 20 Nov 2005 16:43 GMT | 1 |
I could serialize a class until I added this member to it: private Dictionary<string><TableMapper> = new Dictionary<string><TableMapper>(); The class has the [Serializable()] attribute, but now it won't serialize.
|
| How to go about removing lines of text at the top of a RichTextBox | 20 Nov 2005 16:35 GMT | 1 |
I have lines of data coming from a server being written to a RichTextBox... The problem is that if I let this program run for a long period of time there are hundreds of lines of text showing up in the RichTextBox..
|
| How to determine when a page is done loading in .NET 2.0 WebBrowse | 20 Nov 2005 16:33 GMT | 1 |
Ok, I know there's an answer out there somewhere, but it's getting very frustrating..... The DocumentCompleted fires for each frame... how do you tell when the entire document is done?
|
| Read Base64 string to write a .gif (or other content type) | 20 Nov 2005 16:26 GMT | 5 |
Any pointers on how to (1) read a Base64 encoded string from a text file and (2) write it to a binary file? I have a ton of files that are being generated from a legacy system. Each file contains a (1) content type one one line, a (2) filename, and (3) the
|
| Switch in CSharp very slow? | 20 Nov 2005 15:49 GMT | 6 |
I have started programming with .NET 2.0 using Microsoft Visual Studio 2005 Version 8.0.50727.42 (RTM.050727-4200) Microsoft .NET Framework
|
| MD5 Large Files | 20 Nov 2005 15:39 GMT | 3 |
I need help figuring out how to get the MD5 hash of large files. I cannot go about the traditional way of reading the entire file into a byte array, because then the huge file is placed in memory, and bye bye system resources! I know there might be way using streams, but I am unsure ...
|
| Any books/samples/articles about multi-threaded socket communication... | 20 Nov 2005 15:37 GMT | 2 |
with a C# client (and/or server, but server not important)? I've got a scalable high speed (uses completion ports) C++ TCP/IP communication server but I'd like to write a C# client that other C# devs at our company can just drop in and use (it's an event and message passing
|
| How to show Please Waiting.. message on a Win form | 20 Nov 2005 15:15 GMT | 1 |
I have a time-consuming job in button's click event; I wnat to show a "Please waiting.. " message on the form. I put a Label (named labResult ) on the form , and write the codes below, but the message did not appear.
|
| Everything has to be complicated?! | 20 Nov 2005 14:48 GMT | 5 |
Why is something as simple as #region diffrent in vb and c#?! I know they are two totally dif languages, but come on! vb: #Region "Title"
|
| Verbatim string literals | 20 Nov 2005 14:41 GMT | 1 |
Apologies - am having a bit of a "senior moment"... Is there a way to convert a string containing escaped characters into a verbatim string literal? I.e. converting something like
|