| Thread | Last Post | Replies |
|
| Open with, file reading | 07 Sep 2007 13:12 GMT | 1 |
I have the following problem: My program saves data as .xml files. I want the following: When a user right-clicks on a .xml file (in Windows XP), and he chooses "Open with..." and then he chooses my program, the program should load itself
|
| DataGridView and comboboxes | 07 Sep 2007 12:58 GMT | 2 |
can anyone tell me if its possible to have mixed colum-types inside one colum in a Datagridview under Net 2.0? I need to have comboboxes (with different content), inputfields and DateTimePicker inside one column depending on some flag on the
|
| Generic recursiveness | 07 Sep 2007 12:47 GMT | 4 |
Lets say I want to have a sparse lookup by two int values to a string value... I can do it by: Dictionary<int, Dictionary<int, string>> d = new ... d[4953][1344] = "hello";
|
| How to read host header of a site | 07 Sep 2007 10:04 GMT | 2 |
I want to fetch host header of a site url but not getting idea how to do that. Can we do by using HttpRequest.ServerVariables. I have searched in net but not getting the member through which we can
|
| issue type casting derived object to base object | 07 Sep 2007 07:26 GMT | 2 |
I have the following objects and namespaces namespace MyNameSpace.Borrowers { public class Borrower()
|
| Style or design question | 07 Sep 2007 02:20 GMT | 1 |
If you have a *small* console application that perhaps opens and reads a file, is it better to handle exceptions or test the returns from the opens, etc up front? Or is it six of one and half a dozen of the other? Cheers,
|
| Mask input | 07 Sep 2007 01:27 GMT | 1 |
I’m trying to do a console application and would like to limit the number of characters entered, I’m using the Console.ReadLine(). Can’t you do something like this Console.ReadLine(“#####”)?
|
| Firing events from within a critical section | 07 Sep 2007 01:23 GMT | 5 |
I have a component where I need to have thread-safe access to a list. Operations on the list are done in critical sections (lock (lockObject) { ... } ) in the usual way, to make sure that no other thread will modify the list while operations are running.
|
| COM issues | 07 Sep 2007 00:23 GMT | 1 |
I have some code that works on top of COM. One is a library provided by Crystal Reports (Business Objects) and that other is for GroupWise (Novell). In the first case, I keep getting errors about COM objects being
|
| Network question | 06 Sep 2007 22:09 GMT | 2 |
In a network I have a W98 PC that I want to close down from another PC in the network. I have found out that the following command will close down the W98 PC: rundll32 krnl386.exe,exitkernel
|
| C# Console app with hidden window and user input | 06 Sep 2007 22:00 GMT | 12 |
I have a server based C# console application. This application must hide its console window when its launched out on the field. So I dutifully P/Invoke'd FindWindow/ShowWindow combination to hide the console window at launch time.
|
| adding array item at run time | 06 Sep 2007 21:39 GMT | 5 |
I will have a fixed number of columns in a tablecell array, but the number rows will be dynamic. Is there a way to add array items at run time?
 Signature (i''ll be asking a lot of these, but I find C# totally way cooler than vb
|
| out parameter question with datareader function | 06 Sep 2007 21:33 GMT | 5 |
i have this function which call an sp that has a return code public SqlDataReader fn_SpecData(Int32 iDate, Int32 iRange, out Int32 iRowCount) {
|
| Pocket PC Devlopment - Scaling controls at runtime | 06 Sep 2007 21:28 GMT | 1 |
When I add controls to a pocket PC form at design time, all the scaling works fine. I see in the initialize code the use of AutoScaleDeminsions and AutoScaleMode. However, when I add a control (say a button) dynamically at run time and I
|
| C# -> two buttons same code | 06 Sep 2007 21:11 GMT | 4 |
i forgot how to do this someone help how do i make this into one private void mnuTray_Click(object sender, System.EventArgs e) {
|