| Thread | Last Post | Replies |
|
| Retrieve CustomAttributes of Child From Base Class | 12 Nov 2005 00:19 GMT | 6 |
Scenario: I have a base class that I want to enumerate the custom attributes of a field defined in the child of the class. Is this possible? I've tried various versions of BindingFlags on type.GetFields() but none of them retrun any fields.
|
| How to programmably move a GroupBox in C# | 11 Nov 2005 23:05 GMT | 5 |
There are no public events such as mouse down, mouse move and mouse up for GroupBox in C#. It is possible to move a GroupBox programmably inC#? Thanks Minfu
|
| Loading plugins in separate AppDomains | 11 Nov 2005 21:24 GMT | 6 |
I'm confused about what precisely the limitations are on loading plugins in separate app domains. In all my previous apps that supported plugins, I've loaded them into the same domain as the app, but I've just started playing around with separate AppDomains and I'm finding that ...
|
| Dataset doesn't return true when dataset datarow has been modified | 11 Nov 2005 21:16 GMT | 3 |
Hi, I have a window C# application. I update the dataset when user finished entering in a text box. But when I want to update the database when OK is pressed, the if(dsVehicle.HasChanges(DataRowState.Modified)) would return false and update of the dataset would take place. I ...
|
| VS 2003 to VS 2005 problems | 11 Nov 2005 21:13 GMT | 5 |
I just installed VS 2005 Express with SQL Server and when I try to run the code that was working with VS 2003 is no longer working. Is it not backward compatible. What has changed. Below is my code. TIA
|
| Crashes while exiting from c# application | 11 Nov 2005 20:35 GMT | 6 |
I am getting a crash while exiting from my application. Pl find the Stack Trace of the crash: System.Windows.Forms.Application.ThreadWindows.ThreadWindows(System.Windows.Forms.Control parent = <undefined value>, bool onlyWinForms = true) + 0x8c bytes
|
| passing address of a Managed float array to unamaged DLL | 11 Nov 2005 20:10 GMT | 3 |
I need to pass an address of a Managed float array to a DLL. The following doesn't seem to work [DllImportAttribute("xx32_.DLL", CharSet=CharSet.Auto)] extern static float GetXXX([MarshalAs(UnmanagedType.LPStr)]
|
| ListViewItem question | 11 Nov 2005 19:32 GMT | 2 |
I have a ListView on a form, that has columns added at design-time but will be populated run-time. So, I know what the columns will be, and I know that I will have an arbitrary number of 'rows' in the ListView, anywhere from 1 to 100 or even 1000.
|
| creating checkbox menus | 11 Nov 2005 19:29 GMT | 1 |
How can I create a checkbox menu. Ex: If I have 'auto' and 'manual' submenus under 'Trend' Menu I should be able to see a check mark before 'auto', if I click 'auto'. If I click 'Manual', the checkbox before 'auto' should disappear and there should be a check
|
| Deleting items from a ArrayList | 11 Nov 2005 19:26 GMT | 6 |
This is a little problem that has been driving me nuts. I have an ArrayList of objects, and I want to delete all the objects that satisfy some condition: foreach (MyObject myObject in ObjectList) {
|
| Bug VS2005 "open with" | 11 Nov 2005 19:10 GMT | 7 |
When VS2003 is installed : I can open Form1.cs w/ windows "open with" contextmenu, then it opens the file w/ notepad & it works fine but after installing VS2005, "open with" doesnt function correctly.
|
| How to print formatted text - (RTF) | 11 Nov 2005 19:06 GMT | 1 |
I have created a print routing that works great for plain text. I have some text in Rich Text format that I would like to print as it appears with its formatting. Does anyone know how to do this? Has someone invented a rich text parser?
|
| Saving a steam to disk | 11 Nov 2005 18:35 GMT | 3 |
I have put together a script in C# that takes a text file, then streams it into a SQLServer database. What I am trying to do now is create another script that does the exact opposite: selects a file in the database, extracts it then saves it to a
|
| Variable number of parameters | 11 Nov 2005 18:21 GMT | 3 |
I'd like to ask: How to create function with variable number of parameters? PK
|
| is FileStream necessary? | 11 Nov 2005 18:17 GMT | 4 |
In Murach's C#, it shows that StreamWriter and StreamReader both take a stream object as a parameter, and the book's examples of these two classes all first create a FileStream object. But I notice in the VS help files that they use the two classes directly, without creating a
|