| Thread | Last Post | Replies |
|
| Singleton Question | 14 Jul 2008 22:22 GMT | 15 |
I am trying to implement a singleton pattern in my application. I need to make sure that this class is both thread safe and ensure that only 1 instance can created at any given time. As you can see below I create a two instances of the singleton class, s1 and
|
| How do I combine enumerated constants? | 14 Jul 2008 21:59 GMT | 8 |
Hi Gang, I'm a long time VB programmer and in that language I now how to combine constants. Can somebody give me the correct syntax for combining constants in C# for the following dialog:
|
| Forcing Generic Types.... | 14 Jul 2008 21:56 GMT | 2 |
Hey Everyone I know that I can do something like this in C# MyClass<WHATEVER> {
|
| WPF: ObjectDataProvider and the System.Windows.TextAlignment Enum | 14 Jul 2008 20:03 GMT | 1 |
I need to use an ObjectDataProvider in a resource file to pull in the System.Window.TextAlignment enum which is part of the PresentationCore.DLL. I was able to do this with the HorizontalAlignment enum which uses the PresentationCore.DLL like this:
|
| C# Retrieve COUNT from SQL Query - What am I doing wrong? | 14 Jul 2008 18:53 GMT | 4 |
Here is what I have: private int NationalCount() { Int32 numRecords = 0;
|
| Calling a DLL that has its own window | 14 Jul 2008 18:44 GMT | 1 |
Hi Gang, I have a program that I'm upgrading from VS 2002. There's a main .exe, (still written in 2002) that calls a program registration DLL that has its own window, on that window there's a print button
|
| Embedded HTTP Server? | 14 Jul 2008 18:25 GMT | 3 |
Does the .NET framework provide any type of HTTP server class that I can embed in my application? Thanks!
|
| Datetimepicker in the Toolbar | 14 Jul 2008 18:15 GMT | 3 |
Does someone know a nice way to add a datetimepicker-control to a toolbar. I dont find a solution with google. (wrong keywords?) Regards Alex
|
| Distionary in Webpage help | 14 Jul 2008 18:09 GMT | 6 |
I am trying to use a stringDictionary on a web page that gets populated by clicking buttons on a page. Each time a button is clicked the Dictionary is cleared and the previous enteries entered into the dictionary are gone.
|
| design mapping question | 14 Jul 2008 18:01 GMT | 1 |
I would like to know what is the best solution for the following situation : I have a class which contains these boolean members: HasSort1Property
|
| namespace not found | 14 Jul 2008 17:45 GMT | 3 |
I am setting a string collection as: Specialized.StringCollection s1 But I get an error saying namespace name 'Specialized' not found.
|
| How do I get the row interation of a foreach statement? | 14 Jul 2008 17:28 GMT | 3 |
I have this: foreach (DataRow row in myDS.Tables["myTable"].Rows) { int ctr=0; //counter for child node
|
| Listing files in a directory | 14 Jul 2008 16:55 GMT | 2 |
Is it possible to write some code to print to the screen a listing of all files within a directory? I want to show the path of each file on screen and enable the user to download any of the files.
|
| Faces for buttons | 14 Jul 2008 16:23 GMT | 2 |
Where can I find graphics "faces" for buttons ? Arrows, hands, minoculers (? spelling ?) aso. Best regards KSor, Denmark
|
| simple Regex does not match | 14 Jul 2008 15:37 GMT | 2 |
I am not very good with regular expressions, so can somebody please tell me why this simple Regex pattern "<!DOCTYPE ONIXmessage*>" does not match the string
|