| Thread | Last Post | Replies |
|
| Importing form GUI from another project | 14 Jul 2008 05:53 GMT | 5 |
I need to import the Winform GUI from one project to another(with all the controls). Is there a simple way to copy&paste it or must I create every control by hand
|
| Does calling MemoryStream.Dispose() do anything ? | 14 Jul 2008 04:21 GMT | 6 |
Using dotnet 2.0, Just wondering if anyone knows if calling Dispose() on System.IO.MemoryStream does anything useful.
|
| Possible Compiler Bug (C# 3.0) | 14 Jul 2008 04:14 GMT | 11 |
The attached program does not compile. The error message says: "A local variable named 'i' cannot be declared in this scope because it would give a different meaning to 'i', which is already used in a 'child' scope to denote something else"
|
| MarshalAs Problems with Arrays | 14 Jul 2008 03:22 GMT | 3 |
Below is a program that shows a test for marshaling data from a byte array to a class structure. Unfortunately, there are two annoying problems (bugs?) that I can't seem to get around. The first is that if I set the Articulation array to an offset of 22
|
| Property assignment causes strange designer-generated code | 14 Jul 2008 01:27 GMT | 7 |
Yesterday Visual Studio gave me a strange error both at compiletime and at designtime that had no obvious connection to anything I had changed recently. After some effort tracking down the problem I discovered first a workaround, then the real cause of the problem. I would like ...
|
| How do I add methods and properties? | 13 Jul 2008 23:43 GMT | 12 |
Using Microsoft Visual C# 2005 Express Edition, I'm trying to create a class library (.dll) to include in a Delphi project. Since I'm new to building .dlls, I've searched the internet and am now following an example I've found at
|
| delegate usage? | 13 Jul 2008 23:23 GMT | 7 |
I have a number of static helper methods to read in data from an IDataReader; one of the services provided by this helper class is the ability to return a nullable type as needed, for instance: public static DateTime? GetNullableDateTime(object value) {...}
|
| sort list | 13 Jul 2008 21:54 GMT | 5 |
What's a good way to sort a List<string> by the length of the strings from longest to shortest. in c# 3 "aaaaaa" "aaaaaaaaaa"
|
| calculating peak and normalize wav files | 13 Jul 2008 20:43 GMT | 1 |
I have to write a program which will calculate the PEAK and Normalize the audio files. I already have a class which returns an array of in for a given wave file.
|
| How is parallel stuff going | 13 Jul 2008 20:43 GMT | 3 |
there are some concurrency frameworks available for .net from microsoft, which takes advantage of the cpu. But recently GPUs have broken the 1 tera flop barrier and are really ideal for parallel computing. For example Nvidia's CUDA allows us to program the GPU. My question: is ...
|
| How do I return the working directory used on my application from a shortcut | 13 Jul 2008 14:50 GMT | 2 |
Hi Gang, One of the properties of a shortcut is the working directory. I would like to be able to detect and use whatever working directory the shortcut specified. Can someone tell me how to find that out?
|
| wrong element in transformed xml | 13 Jul 2008 12:06 GMT | 5 |
xml data <?xml version="1.0" ?> <statement> <accounts>
|
| Unable to find embedded resource | 13 Jul 2008 11:49 GMT | 2 |
I have the following routine for retrieving error message strigs from a resource file which is embedded in the project. But when it is called I get the error messsage "Could not find any resources.." shown underneath the code. The error message indicates that it is looking for ...
|
| How to add a path inside of a border using c# and wpf | 13 Jul 2008 11:32 GMT | 8 |
I'm posting code for a user control ( FunctionConnectorSelector) below which has 3 content controls in it. each content control uses a style from a resource dictionary merged into the app.xaml file. each control has a border with another style, and each border has a unique path ...
|
| real life examples on C# | 13 Jul 2008 01:05 GMT | 2 |
Where can i get sample real life examples on C#? for example... on topics like exception handling, reflection, delegates, functions, iterators etc etc.
|