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 >>
Don't see what you're looking for? Search DevelopmentNow.com.
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 >>
|