| Thread | Last Post | Replies |
|
| Propagation of events from custom control to Form | 19 Nov 2006 02:57 GMT | 9 |
When a custom control is used within a form, that control does not get events directly. I've run into this a couple times with both mouse and keyboard events. Ex: A custom control inherits from UserControl (or Panel, etc). If
|
| How can I get the specific file handle information from a System.Diagnostics.Process.Start call? | 19 Nov 2006 02:16 GMT | 3 |
for example, let's say I do something like, System.Diagnostics.Process.Start("notepad.exe","sample.txt"); if the user does a SaveAs (in notepad), how can i capture the path that the user selects?
|
| Dynamic Resource Naming | 18 Nov 2006 23:59 GMT | 2 |
Im a c# noob, How do I Change this: this.pictureBox[c].Image = global::WindowsApplication1.Properties.Resources._00;
|
| CreateInstance question | 18 Nov 2006 22:22 GMT | 5 |
Array.CreateInstance( typeof(Int32), 5 ); What is the advantage of creating an array this way? Adrian.
|
| Advanced use of delegates to automatically disconnect delegates from a set of events | 18 Nov 2006 21:56 GMT | 2 |
I currently work in a project written fully in C# where we make extensive use of delegates and events. We have a model where a "state", an object holding data but not much code but which fires events when the data changes, is often the central part. Connected to these states
|
| Formatting a bound textbox to show currency? | 18 Nov 2006 21:43 GMT | 3 |
I am seriously at my wits' end here with this. I've got a textbox bound to a money column in a database, but it shows up as a decimal value, meaning that $9.25 shows up as 9.250000. ARRRRG. Here's what I've tried:
|
| sqlServer - ODBC - WebServices | 18 Nov 2006 21:40 GMT | 3 |
I've created ODBC DSN for sql server. When i connect from win application works OK. When i make WebService (on same machine) that connects to that ODBC connection fails:
|
| Problem loading values from class library | 18 Nov 2006 21:34 GMT | 1 |
I have a user control on a Windows Form that, in its Load event handler, calls a method from a class library to initialize an array of objects that are then used to populate a ComboBox. When I run the app, the method runs just fine. The class library returns
|
| short[] to byte[] conversion | 18 Nov 2006 19:53 GMT | 9 |
Is there a direct way to convert a short array to a byte array? I dont to use a for and cast every short to a byte. I want something like the BitConverter class that accpets a short array as argument.
|
| using ! or == false? your preference? | 18 Nov 2006 19:15 GMT | 43 |
While in-between sessions at the Tech-ED in Barcelona, I overheard a discussion between some developers. The subject of the discussion was code layout (i.e. how each developer formats and writes code). What are your takes at the following two examples? Which one would you choose ...
|
| Has msdn2.microsoft.com become a bummer loading and mangling page display? | 18 Nov 2006 17:28 GMT | 4 |
Why won't pages at msdn2 load? If they do finally load they throw object not found errors like crazy when using IE7. When the page finallty loads like literally 2-3 minutes after a request the page display is all mangled up. FF2 and Opra the same thing.
|
| proper programming? (events) | 18 Nov 2006 11:46 GMT | 11 |
ok , i have a programming background but i'm new to C# . i'm also self taught so : i have a datagridview that should act differently depending on which user has signed in
|
| Can't read network path? | 18 Nov 2006 11:06 GMT | 5 |
I'm running the code below to get network paths. DirectoryInfo diSource = new DirectoryInfo( fullPath ); They usually look like this: \\cpx-270\SomeFolder
|
| resize | 18 Nov 2006 07:03 GMT | 7 |
How can I resize a list ? thanks
|
| C# Compiling Question | 18 Nov 2006 06:20 GMT | 5 |
I'm wondering if this is possible... Basically say I have a lot of .cs files but only 1 of them changes. Is there a way (with the csc.exe, or VS.NET 2005, or another C# Compiler), that I can compile everything before hand, keep the object files of the unchanged .cs files, and just
|