| Thread | Last Post | Replies |
|
| Problem passing in reference of calling class into DLL | 14 Dec 2005 18:51 GMT | 12 |
I am having a little problem passing in reference of my calling class (in my .exe)into a DLL. Both programs are C# and what I am trying to do is pass a reference to my one class into a DLL function. When I try and compile the DLL I get "The type or namespace name "MyForm" could ...
|
| Optional parameters in a procedure. | 14 Dec 2005 18:39 GMT | 3 |
How do you make parameters optional in a procedure. I know I can have multiple definitions but it would be nice if there was a way I could have the single declaration. I thought there was a way to do that. TIA - Jeff.
|
| when text is longer than its textbox | 14 Dec 2005 18:38 GMT | 2 |
Is there an easy way to say, on textboxHover, if the text inside the box isn't completely visible, have a popup tool come up showing the complete contents of the box? I'm guessing I need to know if there's a way to determine the number of pixels that some generic text takes up. ...
|
| DoubleClick on DataGrid | 14 Dec 2005 18:34 GMT | 3 |
I would like one DoubleClick event handler to handle all double clicks throughout a DataGrid. I've assigned a DoubleClick event handler to the DataGrid and it works nifty-spiffy so long as I click outside the data. The trouble is, the underlying cells or columns or whatever ...
|
| Obtaining hWnd from a form - how ? | 14 Dec 2005 18:29 GMT | 2 |
I need to pass the handle of my window (WinForm in C#) to a C library. The WinForm does not apear to expose this property - how may I access it ? MTIA
|
| Event framework | 14 Dec 2005 18:01 GMT | 2 |
Dear colleagues, we have encountered some problems. there are some types of events in our system: business objects events, events that fire on time, on some conditions, and on user input. so we need some framework or library which includes persistent events
|
| OpenFileDialog Problem | 14 Dec 2005 17:36 GMT | 5 |
this is my first post to this newsgroup. I have a problem with OpenFileDialog. I programmed a windows form that has a button that opens a OpenFileDialog. If a user chooses a file and presses the OpenFileDialogs "Open" button, the chosen file will be added to a list box.
|
| Sorting objects, that are in an ArrayList? | 14 Dec 2005 16:31 GMT | 16 |
So I have an ArrayList that gets populated with objects like: myAL.Add(new CustomObject(parm1,parm2)); I'm consuming this ArrayList from an ObjectDataSource and would like to have this support sorting (because it's ultimately being consumed in a GridView).
|
| XmlTextWriter Probelm to create a new document | 14 Dec 2005 16:04 GMT | 1 |
Here is my code, but the problem is I want to recreate a new file but at the and I find that the program add the new element the old ones!! **************************************** System.IO.File.Delete( mXmlFile);
|
| How to get the "Windows" directory? | 14 Dec 2005 16:02 GMT | 4 |
I'm wondering how you can use the standard C# library to get the "windows" directory? (e.g. "c:/windows"). I need to specify the location of a config file in a service, and I don't want to hard-code anything.
|
| C#/VS 2005 availability in Europe | 14 Dec 2005 15:38 GMT | 5 |
Can somebody explain to me why VS 2005 has been available in the US for a few weeks now, but seems to be nowhere available in Europe yet (based on amazon.co.uk / amazon.de listings) ? Is it to give the US developers a jump-start on us Olde Worlde
|
| virtual properties? | 14 Dec 2005 15:13 GMT | 5 |
Is it good pratice to make base class properties virtual? For example: public abstract class Person { protected string name;
|
| Selecting all the items in a ListView | 14 Dec 2005 15:04 GMT | 4 |
I have a bog-standard ListView control in a v1.1 C# WinForms project, with three colums, Details View. There is "Select All" button under the ListView control with the following code:
|
| abstract, virtual and interfaces | 14 Dec 2005 14:43 GMT | 6 |
I am designing a new class hierarchy and I've already run into a bit of a bump in the road. I have this structure so far; class CodeGen class CodeGenHeader : CodeGen
|
| Equivilent of VB InStr(Lcase()) | 14 Dec 2005 14:33 GMT | 4 |
String.IndexOf is case sensitive so I need to covert to lower before testing the string contains a given string. In VB this is: Instr(Lcase(StringToTest, "StringToCheckFor")) What is the C# equivilent? The closest I've comeup with is:
|