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 2003 > threads for sunday august 24

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

Selecting fields & Total numbe of records value
Posted by Ramesh at 8/24/2003 11:50:57 PM
hi, I am selecting fields from three table for manupulating data and i want to display total number of records selected. But i am always getting -1 value, eventhough 1000 of records are selected. Below is my code. here strSelectSQL value is strSelectSQL = "Select emp.Empno, emp.FirstNa...more >>


Toolbar ImageList
Posted by Jim P. at 8/24/2003 10:57:28 PM
I added a ToolBar, and configuredit. Then added an ImageList, and added images needed for the tool bar. But when I go back to the Button collection from the ToolBar, the ImageIndex is empty. How do I access the images I placed in my ImageList? ...more >>

How to use the Serial port in C# without using win32api or mscomm.ocx
Posted by Sagaert Johan at 8/24/2003 10:13:54 PM
Is there a c# solution for this ? It may work like the MSCOMM control. Applications that use the MSCOMM ocx should distribute this component too, so i want to avoid this. How can serial port access with overlapped io be done in c# ? Or should i fall back to the win32 api (createfile) with overl...more >>

.NET equivelent of WinExec or ShellExec APIs?
Posted by Chris LaJoie at 8/24/2003 9:04:10 PM
I'm looking for the framework equivilent of either the ShellExec or WinExec API. Preferably ShellExec because I can use it to launch the default browser as well as launch executables. thanks. ...more >>

Constructor invokation
Posted by Alex at 8/24/2003 8:16:56 PM
Given this base class: class Base { Base(){} } Are these the same: class Test : Base { Test(){} } class test: Base { Test():base(){} } ...more >>

ListView 0th column
Posted by VR at 8/24/2003 5:35:42 PM
Is there any to right-justify the 0th (main/item's) column in ListView? I have a ListView control, which I send a LVM_SETCOLUMNORDERARRAY message to change the order of columns. Neither before or after I send this message, I can right-justify the 0th column. Any ideas? Thanks, VR...more >>

Calculating CheckSum for Raw UDP packet
Posted by Terry at 8/24/2003 3:57:40 PM
I'm trying to calculate the checksum for UDP packet. The algorithm itself is not difficult (lots of examples out there), but what I'm having the most trouble with is determining the byte order that multibyte values need to be in. The RFC's for the IP header and UDP protocol do not specify wheth...more >>

GetType(string) issue
Posted by VR at 8/24/2003 2:12:22 PM
Hello, Type oType1 = Type.GetType("System.Int32"); Type oType2 = Type.GetType("System.Windows.Forms.Label"); After executing the code above, oType1 is set to System.Int32 (valid type), while oType2 is set to null. I do have at the top of the file: using System.Windows.Forms; and ...more >>



Getting auto-number with DataSet
Posted by shahar NO[at]SPAM log-on.com at 8/24/2003 12:15:34 PM
Hi I need to get a field name 'ID'(that is an auto-number field) right after I add a new row to table, it's work like that: myCommand.ExecuteNonQuery(); myCommand.CommandText = "SELECT @@Identity"; // the auto-number fiels int iId = (int)myCommand.ExecuteScalar(); Can I do it with Dat...more >>

Query for ancestor
Posted by Jesper at 8/24/2003 9:49:35 AM
Hi, Is it possible to query an object for an ancestor. I.e. determine if an object is derived from a certain type of class. thanx. Jespr....more >>

c# & matlab
Posted by Fabian Ruranski at 8/24/2003 9:04:27 AM
hi, i'm searching for a way to connect matlab from c#. im vb it is very easy: Set MatLab = CreateObject("Matlab.Application") result = MatLab.execute("a=5") but im c# ???? ...more >>

GDI (I Think...)
Posted by Asaf Dan at 8/24/2003 7:45:16 AM
Hi, After Drawing a line or a polygon on an image (in a panel / pictureBox control) i would like to catch it with mouseDown and drag it to a new location. How can i do something like that? Thanks in advance, Asaf Dan. ...more >>

increment build number
Posted by fragget at 8/24/2003 6:15:07 AM
where can i find a plugin that will automatically update the build number in vs.net? thx fg...more >>

Operating System
Posted by Setsuna at 8/24/2003 5:40:04 AM
Can I create a basic operating system using C#....more >>

Most efficient way to process thousands of files using multiple threads (dealing with thread handling)
Posted by m at 8/24/2003 1:14:08 AM
Hello, I have an application that processes thousands of files each day. The filenames and various related file information is retrieved, related filenames are associate and placed in a linked list within a single object, which is then placed on a stack(This cuts down thread creation and dele...more >>

xp search combobox
Posted by Saso Zagoranski at 8/24/2003 1:01:31 AM
Hi! I've just used the search function in windows xp and I've noticed the comboboxes there. It say e.g. "What size is it?" and you can click there... Has anyone made such a combobox, because they look quite nice... wouldn't mind having them in my app :) thanks, saso ...more >>


DevelopmentNow Blog