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# > april 2004 > threads for saturday april 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

simple switch statement question
Posted by suzy at 4/24/2004 11:13:31 PM
in vb6 you can do this: select case value case 1, 2 'do something end case how do you do this in c#? thanks. ...more >>


System.IntPtr question
Posted by ScOe at 4/24/2004 10:55:58 PM
I have directx namespace which contains few class-es (dx wrapper) Direct3d.Device expect System.IntPtr in passed parameters. When using it in main class i pass "this" as parameter .. how do i pass IntPtr from main class to my custom class? i tried with form.Handle but that doesnt work ... ...more >>

How do I convert an XML document to a string??
Posted by Aaron Ackerman at 4/24/2004 8:55:50 PM
I have tried (in vain) to convert an XML document to s tring mostly using StringReader but I am unable to get it done. I am either getting errors or gobbldy gook. Can anyone help me with this? ...more >>

Data type
Posted by MAY at 4/24/2004 7:39:07 PM
hi, how to convert a negative int (e.g -10) to positive (ie.10). THX. MAY ...more >>

Problems about user interface layout
Posted by authorking at 4/24/2004 7:30:22 PM
I'm a beginer with c#. I want to make a perfect user interface for my program project. but I can't design the user interface properly, so I want to know where to fine some tips about program's user interface design, who can tell me? Thanks! ...more >>

Getting a reference to the base class of a base class from an inherited class
Posted by Edward Forgacs at 4/24/2004 7:13:12 PM
Is there any way to get a reference to the base class of a base class from an inherited class? I need to call an overriden method. Any help would be much appreciated. ...more >>

DrawLine in a PictureBox
Posted by Jon Cosby at 4/24/2004 6:39:53 PM
I'm using this to draw rectangles in a PictureBox image. Not all of the rectangles are complete, and after drawing several, some of them start disapearing. What's the reason for this? Pen selPen = new Pen(Color.White); Graphics graphic = this.PicBox.CreateGraphics(); ............more >>

Re: Finding my type
Posted by Mike Spertus at 4/24/2004 5:18:55 PM
Charlie Williams wrote: > You can use typeof to get a reference to a type object. > > Type t = typeof(Form) This doesn't help because I don't have the class object (e.g. Form). To rephrase my question: How can a method find out what class it is a method of? This needs to work for both sta...more >>



Retrieving web content
Posted by metabahn at 4/24/2004 5:11:05 PM
I need to retrieve/modify the content of a file located on a webserver. Also is there a way to retrieve data from a remote database with C#?...more >>

WMI C# How to check programatically that CD was inserted
Posted by Maciej Brzeziñski at 4/24/2004 3:31:04 PM
I'm writing a simple CD-player and i would like my aplication to be aware that cd was removed or inserted. I've managed to do sth similar using WMI but it's not satifactory. I'm using ManagementObjectWatcher witch a query for logical disks of type cdrom but it keeps scaning all posible drive...more >>

Window Sizing
Posted by Curt Emich at 4/24/2004 3:17:56 PM
How do I make my window appear maximized when it first opens? This is a C# program and it's the main window. I want to use the full screen, if possible. Also, in the development environment itself, I can't seem to get the form to be as big as I want it to be. In other words, it won't stretc...more >>

C#
Posted by Fayyaz at 4/24/2004 2:51:02 PM
Hello! I am a beginner If I have saved my code "Hello C#" in C:\test directory, how I am going to execute this. I have the .netframework installed Thanks Fayyaz...more >>

C# compiler
Posted by fayyaz at 4/24/2004 1:31:03 PM
Hello I want to learn C#. Now I need to install compiler ( I suppose ). Could you please help to get started. Or let me know the URL where I can get the info. Thanks. I got the .net Framework installed, and I can work on ASP.net using the browser Fayyaz...more >>

Multiple undo/redo implementation in C#?
Posted by Teis Draiby at 4/24/2004 1:18:21 PM
I'm looking for some information (books, articles, tutorials) on how to implement a multiple undo/redo framework. I'm a beginner in this so I prefer information specifically targeting C# with code samples. Is seems that the 'Command Pattern' is the way to achieve it (?). If you know any good res...more >>

I need to install C# compiler?
Posted by fayyaz at 4/24/2004 12:17:10 PM
I need to install C# compiler, could you please help me the steps? I got .net framework installed, because I have been learing ASP.NET on my own.What else needed to be installed, could you send me the link? Thanks Fayyaz...more >>

C Api interface
Posted by Bart V at 4/24/2004 11:33:49 AM
Hi, got this c api interface: #ifndef _USBCDDLL_HPP #define _USBCDDLL_HPP #define DEVICE_COMMANDOK 0 #define DEVICE_IDERROR 1 #define DEVICE_BUSY 2 #define DEVICE_UNKNOWERROR 3 extern "C" { typedef void (CALLBACK* CDDeviceChangePROC )(int); WINUSERAPI VOID WIN...more >>

create Word cdocuments w/ C#
Posted by Sérgio_Almeida at 4/24/2004 11:29:36 AM
Greetings it is possible to create Word documents using C#? If so, where can I find examples/help for this? Thank you very much Sérgio...more >>

snap in extension
Posted by Bob & Martha Vera at 4/24/2004 11:25:08 AM
Hello, Where can I find documentation on creating a snap in extension. I need to write one for the Active Directory Users and Computers snapin. This is for AD Server 2003. I can write the code in C# or Visual Basic. Thanks, Bob ...more >>

Threads and Callback Delegates
Posted by Steve Lutz at 4/24/2004 6:59:03 AM
Hi, I have a simple question that I cannot seem to find the answer to. Let's say my application has 2 threads, a Main thread and a Worker thread. As the worker thread progresses, it send results back to the main thread via a delegate. What thread does the delegate run in? ...more >>

Tapi
Posted by poonam sood at 4/24/2004 4:01:46 AM
How to develop an IVRS application using Tapi-Sapi in C#. is anyone have any sample code for this. pls help.i need it immidiately. *** Sent via Developersdex http://www.developersdex.com *** Don't just participate in USENET...get rewarded for it!...more >>

Mouse
Posted by Wapr at 4/24/2004 12:56:21 AM
Hi, How can I limit to movement of the cursor on my form to a specified rectangle? thanks ...more >>


DevelopmentNow Blog