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# > january 2005 > threads for sunday january 2

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

Visual C++ 6 to C#.Net
Posted by Ejaz ul Haq at 1/2/2005 9:17:01 PM
Hi In last one year i have seen a lot of professional switching from VC 6 to C#.Net. None of them seems attracted towards its predecessor VC.Net. Why it is so, or why C# is better or if there is some weakness in VC.Net, though a very heavy market of softwares was captured by VC 6. Need commen...more >>

Accessing parent with nested class?
Posted by Trey at 1/2/2005 9:08:16 PM
Is it possible to access the parent from an instance of a "child" class? For example in the code below I would like to be able to reference which exact army a troop belonged to by doing something like myTroop.Parent(). If not, is there a home grown solution I can implement short of creating ...more >>

Creating a GUID???
Posted by Steve at 1/2/2005 8:29:24 PM
I need to generate a unique number/string of some description and thought a guid would be ideal. Any ideas on how to generate a guid? I'm not using SQL server so SELECT NEWID() is out but something similar in code would be great. I've looked at the System.Guid class but can't figure how to ...more >>

Constructors in C#
Posted by Greg Horwood at 1/2/2005 7:01:02 PM
Dear All, I wish to populate various fields in an additional windows form which is triggered by the main app. Passing the information from the main app to the dialog is proving to be difficult. Obviously I don't want to alter the controls' modifiers and thus I would normally create an ad...more >>

Reorder ListView Columns
Posted by Scott Kay at 1/2/2005 6:52:29 PM
Hi, When I use the AllowColumnReorder in the ListView Control, this allows the user to reorder columns by dragging them around. Any items added to the control after the user has reordered them appear in the correct column (this is good). Is there any way to determine what the original o...more >>

Text orientation become vertical when drawing on JPEG image
Posted by Julia at 1/2/2005 2:22:47 PM
Hi, I am loading a JPEG image from a resource file,draw some text on it and the result is a vertical text instead of horizontal text. The same code work for a BITMAP format Thanks. ...more >>

Custom file DeSerialization and file access
Posted by Nadav at 1/2/2005 1:07:02 PM
Hi, I have to read files generated by 3rd party application, these files are in a propriotary format ( not generated using the .NET framework ), I want to implement a custom DeSerializer to read the data in the file, I wonder is it possible to read files in this manner ( e.g. custom impleme...more >>

bundle dll into program C#
Posted by chris at 1/2/2005 12:52:54 PM
hi, I have created dll in C# and added reference to it within my program also written in C# and very thing works fine... Now, I would like to build my app >>with<< this dll to get one single executable assembly, how can I do that? ...more >>



HttpWebRequest question
Posted by Tom Jones at 1/2/2005 12:40:21 PM
Hi, I am unsure as to what the proper usage model for HttpWebRequest is. Do I create a new request instance each time I interact with a specific server? For example, if I need to perform a GET, then a POST, and then another GET, do I use the same HttpWebRequest instance, or do I continu...more >>

unexpected authectication behavior in ASP.NET example app. Apress
Posted by ramonred at 1/2/2005 12:23:03 PM
Hi, I am following along an example from the book <b>Beginning Visual Web Programming in C#</b> My environment is this: IIS 5.1 on XP Pro, I have the checkbox 'use windows integrated authentication' unchecked, and I am allowing anonymous access. Prior to building the example that is g...more >>

Referencing Class Libraries
Posted by psduckie at 1/2/2005 11:45:04 AM
PRODUCT: C# 2005 Beta 1 I wrote a class library and want to include it in my Windows application. The namespace of the class library is TokenizerClasses. How do I do it? I already included it in my solution, but the rest I have no clue about....more >>

Binding Lost Datagrid Scrolling
Posted by Steve B. at 1/2/2005 11:43:03 AM
Why does my dGrid_CurrentCellChanged() event lose datagrid location settings (dGrid.CurrentRowIndex and totalRowsInGrid become 0) when the user scrolls the datagrid. (note: I perform this.bindcontext[].position = row in this event) Should I somehow use dGrid_Scroll() event? How can I pre...more >>

from string to datetime
Posted by jima80 NO[at]SPAM gmail.com at 1/2/2005 9:17:13 AM
Hello dear Cor or anyone around!:) This didn't help me(convert) : I have 3 strings in an array : str[0]='11/02/04' ,str[1]='11:23:00" and str[2]=AM. How do I convert str[0]+str[1]+str[2] to a proper datetime variable. Thanks a lot!...more >>

Can we override constructor
Posted by ad at 1/2/2005 9:01:39 AM
When a class (say class1) inherited form another class (Class0). The constructor in the class0 will be executing before the constructor of class1. Can we over the constructor? ...more >>

file upload sos:)!!!
Posted by jima80 NO[at]SPAM gmail.com at 1/2/2005 8:30:15 AM
I need to upload a file to a specific library ,how do I do it? I want it to be called as SaveFileDialog or something like that. Thank you very ,very much!!!...more >>

Saving ListView SubItems To A SortedList
Posted by enchantingdb at 1/2/2005 8:06:29 AM
I'm trying to add the contents of a ListView to a SortedList. The ListView contains two columns - "Title" and "URL". I need to add both columns to the SortedList with Title being the Value and URL being the Key. I can get the information into and out of the SortedList but when I add the URL into...more >>

how to make a ToString method for a property
Posted by Wilfried Mestdagh at 1/2/2005 7:29:02 AM
Hi, I have a class that holds data in array of byte. It has property to get the data like this (FBuffer is a byte[]): public byte[] Data { get { return FBuffer; } } But for display / debugging purposes I have a property that returns the data as a s...more >>

append couple of strings into to string []
Posted by jima80 NO[at]SPAM gmail.com at 1/2/2005 7:05:31 AM
How to append a couple of strings into a string[] in a loop? Thanks a lot && good evening:)...more >>

How to get Sub array?
Posted by Sharon at 1/2/2005 4:45:05 AM
I’m using a one dimensional array: byte[] bArray = new byte[100]; And I’m writing a function that return a subset of this array: void GetSubArray(int offset, int size, ref byte[] subArray); As you can see, the user asks for the bArray offset and size to put in the given subArray. How do ...more >>

datetime members
Posted by jima80 NO[at]SPAM gmail.com at 1/2/2005 3:44:49 AM
Hello dear ppl! Do someone know how can I assign a AM/PM value to a datetime object? Is there a member in this class such as day,hour... also for the am/pm? 10xs a lot!!!...more >>

datetime convertion
Posted by jima80 NO[at]SPAM gmail.com at 1/2/2005 2:35:41 AM
How can I convert string into a datetime? Thanks!...more >>


DevelopmentNow Blog