Archived Months
June 2003
July 2003
August 2003
September 2003
October 2003
November 2003
December 2003
January 2004
February 2004
March 2004
April 2004
May 2004
June 2004
July 2004
August 2004
September 2004
October 2004
November 2004
December 2004
January 2005
February 2005
March 2005
April 2005
May 2005
June 2005
July 2005
August 2005
September 2005
October 2005
November 2005
December 2005
January 2006
February 2006
March 2006
April 2006
May 2006
June 2006
July 2006
August 2006
September 2006
October 2006
November 2006
December 2006
January 2007
February 2007
March 2007
April 2007
May 2007
June 2007
July 2007
August 2007
September 2007
October 2007
November 2007
December 2007
January 2008
February 2008
March 2008
April 2008


all groups > c# > may 2004 > threads for sunday may 23

Filter by Day: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31

DragDrop question
Posted by Owe Armandt at 5/23/2004 9:17:36 PM
When I play with DragDrop of files to a form I get two DragEnter events before the DragDrop event, why is this?? Owe ...more >>

Defining a new standard - can this be done?
Posted by Chua Wen Ching at 5/23/2004 9:06:10 PM
I have a question to ask. Please give me your comments and see whether this concept is possible and feasible or not? I want to come out with a concept maybe a library that can be used by all programming language. At first i came out a c# .net dll and try to test nearly 8 languages. I notice prob...more >>

n-ary tree
Posted by William Stacey [MVP] at 5/23/2004 7:40:18 PM
Anyone done or seen a good n-ary tree in c#? -- William Stacey, MVP ...more >>

Adding multiple enum items
Posted by Mark Broadbent at 5/23/2004 6:57:39 PM
probably simple but need quick answer if possible. How do I add multiple enum values to a particular property e.g. in Vb you would have added them (bit like) myDataView.RowStateFilter = DataViewRowState.CurrentRows + DataViewRowState.ModifiedOriginal; Thanks in advance. -- Br, Mark ...more >>

SDK Compiler error
Posted by Tony Wilkinson at 5/23/2004 6:47:27 PM
Hi, As a complete novice to C# I have fallen at the first hurdle. Sad but true, I can't get 'Hello World' to work! I have downloaded the .net SDK etc and installed them on my workstation as per Microsoft instructions.. I have written the usual 'Hello World' .cs file and then tried to comp...more >>

Picture Problem
Posted by Bill English at 5/23/2004 5:41:01 PM
I am having problems showing an image on one of my forms. It shows up fine in the designer, but when run, it appears as a black square. The picture format is .ti Go here for a screenshot of my problem: http://68.34.190.119/picproblem.bm Please help me. Thanks...more >>

Incremental search
Posted by mp at 5/23/2004 5:33:54 PM
Hi, I need help in following... I have used: Visual Studio 2002 or 2003 - C# Access DataBase ADO connection I am looking for example or directions of incremental search. -------------------------------------------------- I would like to set a incremental search for example in dataGrid....more >>

Incremental search
Posted by mp at 5/23/2004 5:32:25 PM
Hi, I need help in following... I have used: Visual Studio 2002 or 2003 - C# Access DataBase ADO connection I am looking for example or directions of incremental search. -------------------------------------------------- I would like to set a incremental search for example in dataGrid....more >>



Distinct values in Dropdown LIST
Posted by Seelan at 5/23/2004 5:00:38 PM
Hey Guys, I have read a table from SQL Server to a Dataset called ds. Now I want to list the items of one column to a DropDown List...I can do this perfectly but i want ht e list to contain DISTINCT items without having to call the SQLCommand again! Please help thanks! Seelan- ...more >>

Crystal Reports - working with Date type in Selection Formula
Posted by £ukasz W. at 5/23/2004 4:46:34 PM
Hello everybody ! How is it in Selection Formula to work with Date type, for example to deduct 7 days, week, month, year from CurrentDate. I'm trying to use such a stetement (CurrentDate - Date (0000,00,07)) but it gives me an error that the year should be between year 1 and 9999. Anybody can...more >>

ASPX page does not receive any cookies in Request object when called using HttpWebRequest object.
Posted by Bhupesh Saini at 5/23/2004 4:11:01 PM
I am trying to call a ASPX page using HttpWebRequest class and pass cookie information to it. My ASPX pages gets called just fine, however none of the request cookies are available to the ASPX page. What do I need to do to have the cookies sent along with the request Below is the code snippet from...more >>

Parsing Command-Line Arguments with InstallContext
Posted by mriedel at 5/23/2004 3:36:04 PM
I'm using the InstallContext class to parse the command-line arguments of a console application. The arguments are in the form of "-file=myFile.txt -flag", and the InstallContext object gives me what I need through the Parameters and IsParameterTrue properties. However, I can't find any documentat...more >>

Serialize form
Posted by MAY at 5/23/2004 1:59:38 PM
Hi, I have a problem about serialize the form controls. I wrote a test program to test serialize a from but fail (->An unhandled exception of type 'System.Runtime.Serialization.SerializationException' occurred in mscorlib.dll) . Thx in advance. Here is the part of the code: Regards MAY ...more >>

Process CPU usage jumps to 100% without any reason?
Posted by Kevin Chabot at 5/23/2004 1:36:03 PM
I am working on an application in c# that runs in the background. All it does is monitor a value from a performance counter using a timer. It then draws these values in a chart Now, this application works for a long time, sometimes even days. But sometimes it just freezes and the CPU usag spikes...more >>

Sorry for asking again, but i'm having problems with datagird...
Posted by Gidi at 5/23/2004 1:26:02 PM
i want the enter key press wll be an event this is my eventhandler header this.dataGrid1.KeyPress+=new System.Windows.Forms.KeyPressEventHandler(this.dataGrid1_KeyPress) is it ok and how do i write the method, the datagrid doesn't react when i press any key (i tried to debug and i saw that nothi...more >>

Code reuse
Posted by Simon at 5/23/2004 11:40:18 AM
Hi all, I'm hoping that some of you clever chaps could offer me some advice on code reuse. You see, whenever I make applications, I typically only find very limited scope for code reuse. I also only find limited use for inheritance. For example, the various types of users that my sy...more >>

High speed string processing
Posted by Alexander Muylaert at 5/23/2004 9:46:10 AM
Hi Does anyone know a good starting point about high speed string processing in C#? What I need is a very fast routine for a case insensitive "contains". e == E == é == ë == ... Kind regards Alexander ...more >>

Stop Service on Error
Posted by Mike001 at 5/23/2004 8:56:02 AM
Hi I have developed a Windows service in C# (inherited from System.ServiceProcess.ServiceBase) and, after the service has successfully started, when I catch an exception I'd like to write the code for the service to stop itself. Right now, when an exception occurs the service seems to halt but it ...more >>

base.OnStart() in Service Application
Posted by Mike001 at 5/23/2004 8:51:04 AM
Hi, I've created a Windows service application and I would like to know if I should be calling base.OnStart(args) and base.OnStop inside my overridden OnStart and OnStop methods? If yes, I have a little bit of code in my OnStart method so should I call it at the beginning of my method or at the e...more >>

BinarySearch on DataView
Posted by Jeff at 5/23/2004 8:46:03 AM
I'm looking for a way to do a BinarySearch on a DataView. The method is in Array and ArrayList but not in the DataTable, DataView classes. I know there is a Find method but that only returns a value if there is a perfect match and I want to be able to find the row that's closest. I want to do t...more >>

Redraw the hole Desktop
Posted by Marion at 5/23/2004 8:01:02 AM
Is there a helping hand? I was able to get the DC of the desktop to draw on it, but now i need the functionality to refresh the desktop and delete the drawing i made. At this time i "solve" the problem by showing and closing a generated form with desktop dimensions, but it's not really a solving, ...more >>

DataGrid - Moving between columns
Posted by Gidi at 5/23/2004 2:31:05 AM
Hello i'm writing a C# Window appliction and i'm using DataGrid as a table i want the user to enter data in each column and by pressing the enter key to move to the next column how can i write it how do i write the event (pressing the enter key) and how can i move to the next column thank you...more >>

how to get the source file reference data from the clipboard in .Net
Posted by TC at 5/23/2004 1:04:33 AM
Hello, I am familiar with obtaining source file reference material from the system clipboard using the old Win32 API. For example, copy an Excel chart onto the clipboard and goto Word. Under, Edit & PasteSpecial, there is a label called "Source:" which will contain the file path, etc. H...more >>

combobox bindings
Posted by Grant at 5/23/2004 12:23:02 AM
Ive set my combobox properties as follows: comboBox1.DataSource = dataset1.ScheduleType; comboBox1.DisplayMember = "name"; comboBox1.ValueMember = "id"; comboBox1.DataBindings.Add("Selectedvalue", this.dataset1, "Agency.ScheduleType"); I have two tables here. Combo...more >>


DevelopmentNow Blog