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# > august 2005 > threads for sunday august 28

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

IComparable - Newbie qn
Posted by steve at 8/28/2005 7:53:01 PM
////////////////////// // What I want to do - Binary search a collection (ArrayList) consisting of objects that implement IComparable. - I want IComparable to respond differently depending on the class of object I'm searching for - eg. ArrayList ClusterChains = new ArrayList(); Cluster...more >>


Problem converting managed array (C++) to C# array
Posted by Dick Swager at 8/28/2005 6:51:03 PM
The following code is from a solution with a C++ project and a C# project. The C++ project creates a managed array and the C# project tries to use it. But I am having a 'System.ValueType[]' to 'System.Drawing.Point[]' conversion problem in the C# project. How is this supposed to be done? -...more >>

Error accessing my C# app from VBScript
Posted by AdamM at 8/28/2005 2:20:47 PM
Hi all, When I run my VbScript, I get the error: "ActiveX component can't create object: 'getobject'. Error 800A01AD". Any ideas what I did wrong? Here's my VBScript: dim o set o=getobject(,"ConsoleApplication2.Program") msgbox o.TestString And here's my C# application that's running w...more >>

Passing reference type as method parameter
Posted by Maxim at 8/28/2005 2:11:32 PM
Hi! A have a string variable (which is a reference type). Now I define my Method like that: void MakeFullName(string sNamePrivate) { sNamePrivate+="Gates" } The calling code: string sName="Bill"; MakeFullName(sName); My variable sName wasn't changed (the same "Bill"). String is a ...more >>

Save a file
Posted by Alvo von Cossel I at 8/28/2005 12:16:03 PM
hi, i have a textbox in a form. when you press a Save button, a savefiledialog appears. creating ther file works but everytime you click save, the dialog appears. how do i make the dialog appear once and then only save the file? thanx -- Alvo von Cossel I of Germany...more >>

Regular Expressions
Posted by Ken Kast at 8/28/2005 10:48:14 AM
I have 3 pattern sets (P1, P2, P3). I want to match the following (sort of): (P1|P2)(P1|P2|P3)+ The sort of is that if a matchee begins with a P2, then there has to be at least 1 P1 following it. Simple example (in this case P3 is void): I want to find all (longest) sequences of letters and...more >>

I'm at a loss... Printing and margins?
Posted by Tinus at 8/28/2005 9:43:39 AM
Hello all, Because you have been so helpfull the last couple of times, I thought after testing and wasting more than 20 pages (and google-ling for 3 days :-( ). I would ask you again for your help. The problem is this: If I print a rectangle which begins at (0,0) and the margins are also...more >>

Datatable position
Posted by tomi at 8/28/2005 6:26:02 AM
Hi I have following problem. I have a datatable filled with some data. Each row holds its ID (column named "Row_ID") DataTable dtTable; I have a datagrid to which I assign this datatable. I also apply some styling to this datagrid so I only see some columns from this table (let's say "N...more >>



Connect to VSS with C#
Posted by Hafa at 8/28/2005 2:16:02 AM
Hello, I'm trying to write an application in C# to download automatically files from my VSS server to a local directory. I want to use the login message box provided by VSS so the user will choose the correct VSS database and writes the user and password. Do you know if it is possible to ...more >>

Windows Forms and Partial Classes
Posted by Stuart Ferguson at 8/28/2005 1:48:29 AM
I am currently in the process of workin on Software in C# that has been converted to VS2005 from VS2003. My question is thet when i create a Windows Form it gets created as a partial class with 3 files per each form in the solution explorer, is this correct or is this an option that can be tur...more >>

Add string in a file
Posted by Yoavo at 8/28/2005 12:00:00 AM
I want to add a string to a file after a specific string for example "abcde", Which means I need to open the file find the string "abcde" and then add my string just after. How do I do it? Yoav. ...more >>

newbie: best book for DB programming
Posted by jimbo-black at 8/28/2005 12:00:00 AM
reqs are: relatively simple rich client to connect to sql server (2 tier). im new to C#, come from a java background and before that some VB. references for a good book that will bring me up to speed quickly on writing this app in c#? C# windows client --> SQL Server instance ...more >>

prohibit access to a database.
Posted by Loui Mercieca at 8/28/2005 12:00:00 AM
Hi, I am designing a Point Of Sale system, but facing a problem. By design, the database must be located locally. However, i don't want any user to just open the database and view all the records. Is there a way to prevent any user from opening the db, but still allow my program to access i...more >>

DataGrid Rows Color
Posted by aaaa at 8/28/2005 12:00:00 AM
I there!!! How can i change some backcolors or textcolor in some rows in a datagrid?? thanks in advance, Tiago Costa ...more >>

console redirect
Posted by Alucard at 8/28/2005 12:00:00 AM
hello all, how do i do a redirection of ouput from a console process to some textbox? For example, in Visual Studio, when you build a solution, the console output from the compiler (another process) is redirected to the Visual Studio's own window. ...more >>


DevelopmentNow Blog