Groups | Blog | Home


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# > october 2003 > threads for sunday october 12

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

Updating Access DB with changes from a DataSet results in error.
Posted by Bryan Masephol at 10/12/2003 11:53:45 PM
Hi All I have a OleDbConnection as the "connection" below. I'm retriving a = dataset from an access 2002 db and displaying it in a DataGrid. I'm = making the connection to my access db file with this connection string "Provider=3DMicrosoft.Jet.OLEDB.4.0;Data Source=3D" + filename and ev...more >>


how to run a window on a seperate thread
Posted by Serge at 10/12/2003 11:50:07 PM
Hi, I have some intensive code that is running on my main thread. I try to show a status update on a 'status form'. The problem that i have is that because it is running in the same thread the window is not responding to the user. The user is now able to minimize, move the window because th...more >>

Building Timeout in C#
Posted by woutervu NO[at]SPAM hotmail.com at 10/12/2003 11:09:16 PM
Hello all, I am trying to build a class that does something, and may timeout while doing so. Ofcouse I want to be a bit elegant, so I came up with the code found below. Problem is, I can't catch the exception thrown on timeout. Anybody knows how to correctly implement timeout behaviour? B...more >>

C++ vs. C# vs. Assembly Language
Posted by nospam at 10/12/2003 11:08:10 PM
Just wondering, What do you think the difference in performance would be between (1.) Compiled C# (2.) Compiled C++ (3.) and Assembly Language And how would the mix be if some if any of these languages had to hit against a SQL Server database And would the differences be more or less ...more >>

float array to byte array
Posted by Cory Autry at 10/12/2003 10:22:16 PM
What is the best way to convert a array of floats to a byte array, or at least have the ADO dataset assignment operator see the array as a byte array. Thanks, Jim ...more >>

Numbers Question!
Posted by Vai2000 at 10/12/2003 9:56:01 PM
what's the best way of getting unique numbers when requested other than creating GUIDs? Right now this is what I am doing but I am not very happy with it. Random rnd=new Random((int)System.DateTime.Now.Ticks); int unique=rnd.Next(); TIA -- ======== Regards Vai ======== ...more >>

Text Box Question
Posted by Patrick De Ridder at 10/12/2003 9:17:21 PM
Re displaying text in a multi-line text box: Is it possible to have a margin on the left hand side, or on both sides, so the text doesn't come right up to the border(s)? Many thanks. -- Regards, Patrick....more >>

mysql problem
Posted by Dirk Reske at 10/12/2003 8:43:26 PM
Hello, I'm using the bytefx.data library to connect to a mysql server: string ConnectionString = "Server=localhost;Database=test;User Id=Freak;password=freak;"; IDbConnection dbConn; dbConn = new ByteFX.Data.MySqlClient.MySqlConnection(ConnectionString); dbConn.Open(); I get an NullRefe...more >>



Thread.sleep(10000) is using 100% cpu
Posted by grant_currey NO[at]SPAM hotmail.com at 10/12/2003 4:31:21 PM
Hi, I have an interesting threading issue in c#. I put a thread to sleep for an arbitary period of time, during this period the cpu jumps straight to 100% utilization. As one could guess this is very anoying. any suggestions on why? Regards grant...more >>

Concurrent Connections
Posted by Steven Blair at 10/12/2003 4:14:12 PM
Hi, I have Server application which handles a single conenction froma client. I want this program to accept concurrent connections. Anyone help me out ? I am using a TcpListener object. I thought that this would accept concurrent connections, but apparently not, sicne I have my server run...more >>

Transparent colour on ImageList doesn't work on button?
Posted by A Ratcliffe at 10/12/2003 4:04:53 PM
Should be simple, but... Wanted to put some nice bitmaps on my First/Previous/Next/Last buttons, so I created four 16-colour bitmaps (as a test), used the traditional magenta colour for the transparent, and added an ImageList to the Form. I added the images to the ImageList, set the Transparen...more >>

VB.NET to C# converter: where ???
Posted by Stefano at 10/12/2003 3:57:50 PM
dear Friends, i need a VB.NET to C# converter. Can someone help me ?? TIA Stefano ...more >>

windows servcie?
Posted by ll at 10/12/2003 3:43:42 PM
Hi, How to communicate with windows service? For example, how to pass in parameters and get the return values like calling a COM object? Thanks... ...more >>

Constructor
Posted by Zoltan Hernyak at 10/12/2003 12:06:38 PM
Hi, see my classes: public class One { public One(string s) { .... } } public class Two:One { public class Two(int x) { ... } } what if I have to make some preparation before call the "base" constructor from Two? for example: public class Two(int x) { ...more >>

Overriding ToString() in an enumeration
Posted by Neil at 10/12/2003 11:57:15 AM
Is it possible to override the ToString() method when creating a simple enumeration? public enum myEnum { Undefined = 0, Unassigned = 1, Assigned = 2, Reallocated = 3 } I would like to be abl...more >>

Custom Action during Setup!
Posted by Vai2000 at 10/12/2003 8:36:29 AM
Hi All, I need to execute custom action during installation of my program (through MSI). Creating the MSI was pretty straight fwd. After that I went into the Custom Action Editor and added the custom action (EXE) at the install condition. Unfortunately when I roll out my MSI I don't see the cust...more >>

Reference type?
Posted by Jesper Denmark at 10/12/2003 3:36:23 AM
Hi, I'm using a very nice implementation of complex numbers (by Ben Houston). There is a thing that is a bit unclear though, why does the code in the main section below work without creating the object with 'new'. Who is allocating foo on the heap. What is hidded?, does it have anything ...more >>


DevelopmentNow Blog