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# > march 2004 > threads for sunday march 7

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

node iterator question (simple)
Posted by suzy at 3/7/2004 10:25:05 PM
i have some xml like this: <departments> <department name="finance"> <employee name="tom hanks" age="23"/> <employee name="tom selleck" age="43"/> </department> <department name="admin"> <employee name="nicole kidman" age="33"/> <employee name="t...more >>


Anchor/dock property
Posted by james_morris1232000 NO[at]SPAM yahoo.com.au at 3/7/2004 9:52:26 PM
I have a form which has a number of labels and a Rich text box control. They are layed out in this manner. First I have a menu at the top and then a tool bar. The tool bar is docked to the top. Then I have a pane which is filled through the entire form. inside the pane I have a group box...more >>

Scope/Visibility question
Posted by Du Dang at 3/7/2004 9:42:14 PM
Hello everyone! How do I make an enum and a struct visible in all the classes within my name space? currently this is how put it ... // one file namespace { struct { } enum{ ... } class { // this one can access the struct } } // another file with the same namespace namespace...more >>

C# casting issues.
Posted by djedwardsjr NO[at]SPAM msn.com at 3/7/2004 7:22:54 PM
Anyone know how to cast an object to the value of a System.Type variable. I have a list of WebServices that have identical methods and I want to create a wrapper class for them with the same methods. But, if I store the web service as an object and the type as a System.Type I can't seem to cas...more >>

Array Question - Help
Posted by Ash at 3/7/2004 4:04:39 PM
Hi, I've created a class named Customers, and proved accessor and mutator methods for it to manipulate two private member variables named firstname, lastname. After doing that, I created an Array of Customers with the following line: Customers [] CustomerList = new Customer[5]; How do ...more >>

how to convert VBA #date# format to C# code?
Posted by Rock at 3/7/2004 2:49:21 PM
Hi,all: how to convert VBA #date# format (ex: #2004/3/6#) to C# code ? here are vba code : Dim objUserPerm As Office.UserPermission Set objUserPerm = ActiveWorkbook.Permission.Add("user@domain.com", msoPermissionRead + msoPermissionEdit, #12/31/...more >>

the server can send an event to client?
Posted by Kiosmy Almenares at 3/7/2004 2:36:07 PM
Hello I'm doing web site to play chess online, when a player play, I need to send a notify to another client for it can refresh, in windows applications I can do that throw observer pattern, but in web, how I can doit?...more >>

case > 1?
Posted by Donald Smith at 3/7/2004 2:22:55 PM
Hey, does anyone know how to put this into a switch() statement? switch(lvLogs.Items.Count) { case < 1: Bitmap myBitmap_Error = new Bitmap(imageList1.Images[0]); Icon myIcon_Error = Icon.FromHandle(myBitmap_Error.GetHicon()); } What I want it to do is if lvLogs.Items.Count is les...more >>



assigning method to toolbar buttons ?
Posted by genc ymeri at 3/7/2004 1:54:33 PM
Hi, I have a "Save" menu item and a "Save" toolbar button. How can I assign the "Save" menu item's method to the "Save" toolbar button ???? Thanks a lot. ...more >>

combobox string is changing.
Posted by Maor Mishkin at 3/7/2004 1:14:10 PM
Hello All, I have a problem with a ComboBox, when the combobox is selected and a key is pressed, the string in the combobox is changed to the pressed keys, How can I make che combobox not to change it's string? Thanks Maor. ...more >>

How the GC reclaim the memory of the objects with circled reference
Posted by foolmelon NO[at]SPAM hotmail.com at 3/7/2004 12:38:05 PM
Let's simplify using public data member. Say I have (the code should look same in C# and Java): Class A { public B m_b; } Class B { public A m_a; } A a = new A(); B b = new B(); a.m_b = b; b.m_a = a; When a and b are not referenced by any other objects, a and b still refe...more >>

inaccessible due to protection level HELP?!
Posted by scully NO[at]SPAM serv-dot-net.no-spam.invalid at 3/7/2004 11:41:04 AM
Hello I can't get around the error "inaccessible due to its protection level" - it points at a line that I am using .Sort() and BinarySearch() - but the real problem lies in another part of the code below(because the error says College.Persons_ThePersons....): /// <summary> /// Summary desc...more >>

inaccessible due to protection level HELP?!
Posted by scully NO[at]SPAM serv-dot-net.no-spam.invalid at 3/7/2004 11:41:02 AM
Hello I can't get around the error "inaccessible due to its protection level" - it points at a line that I am using .Sort() and BinarySearch() - but the real problem lies in another part of the code below(because the error says College.Persons_ThePersons....): /// /// Summary description fo...more >>

Response.Redirect to a new window
Posted by Daniel Cayouette at 3/7/2004 11:01:08 AM
Hi From c#, I'm trying to redirect to an url within a new window. How do I do that? I've been using: Response.Redirect(url); however, that redirects to the new url within the same page Thanks Daniel...more >>

Need Help
Posted by Dinesh Upare at 3/7/2004 10:09:57 AM
Friends, Please provide suggestions to improve the performance of webservices? The current architecture and problems : - The webservices are installed on Server1, the database server is also on Server1, But the database for authentication is on Server2 and authorization webservice is on serv...more >>

SPY in C#
Posted by Mike Peretz at 3/7/2004 9:59:13 AM
Is it possible to code a program like Spy in C# so I can get messages of other windows. After my research it seems that setting up a hook to another process requires a win32 DLL, so I am not sure how to do it with C#.... Any ideas? ...more >>

Feeling stupid!. What to do with source code?
Posted by Tony! at 3/7/2004 7:48:46 AM
Ok.. I'm retarded.. I admit it.. Can someone push me in the right direction? In VB, (6), To help me learn how stuff was done, I got source code from various places and tried them out. This was pretty easy.. Click the vbp file and it's all there (usually). But it seems to be nothing th...more >>

XML Comment tags don't work in my program
Posted by faktujaa at 3/7/2004 7:46:06 AM
XML Comment tags (except summary, remarks, param and returns) don't work in my small trial program. The comment tags i want to work are see, seealso, exception, etc. But none of them work. I tried some code from net but no help. Do i have to do some extra settings in the project to make them work. p...more >>

Accessibility Domains???
Posted by agro_rachmatullah NO[at]SPAM yahoo-dot-com.no-spam.invalid at 3/7/2004 7:41:36 AM
The ECMA C# standard states this: Suppose M is a member nested on type T within program P. Then the accessibility domain of M is: If the declared accessibility of M is protected, let D be the union of the program text of T [the part between { and } of T's definition - added by me] and the...more >>

beginning date of a week
Posted by Fabrizio at 3/7/2004 6:46:05 AM
HI I would like to know if there is any method to find the beginning date of a week starting from a week number For the week number 13 i would like to know which date (short) is on his first day....more >>

Good tutorials on File Handling and C#
Posted by skrishnan NO[at]SPAM snet.net at 3/7/2004 6:43:10 AM
i am trying to read a zipped file in C#. I would appreciate if you could point me to some sites where you have good tutorials on file handling/read/write etc. A good practice approach etc....more >>

.cs expansion in solution explorer for WindowsForms?
Posted by n3crius at 3/7/2004 2:24:26 AM
I've noticed that when I'm programming Windows applications in the .net sutdio I can't see an expansion option in the Solution Explorer to get the .cs behind the WindowsForm. In contrast, I can get the code behind an aspx in the Explorer pretty easily. I know I can select 'View Code' etc b...more >>

A real newbie question
Posted by Danny Ni at 3/7/2004 2:05:09 AM
Hi, The following statement in C#: FileInfo f = new FileInfo(@"C:\Test.txt"); What does @ mean? Thanks in Advance ...more >>


DevelopmentNow Blog