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 2004 > threads for saturday january 17

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

monitoring hardware status... ?
Posted by Serdar C. at 1/17/2004 11:18:23 PM
hi everyone i need to write a program that monitors cpu temperature and fan speeds, etc... i looked everyone in the web but i couldnt find any information about this... how can i do that? ...more >>

System.IndexOutOfRangeException
Posted by Tylius at 1/17/2004 10:05:36 PM
This one line is causing the issue, I've searched all over the net, but I can't seem to figure out why public static void Main(string[] args) { Console.WriteLine("Dice Roller"); try { int num_dice = int.Parse(args[0]); // This is the problem this is the error I get: System.IndexOutOf...more >>

Project Icon\Release Version
Posted by Jim Heavey at 1/17/2004 8:38:07 PM
I set the Icon property for the project to a particular icon, but when I run the project in debug mode, the icon does not show up. Does the icon not show up? I compiled a "release version" of the application and then went to the bin folder to execute the program hoping the icon would show ...more >>

How to pass delegate as parameter
Posted by Gopal Prabhakaran at 1/17/2004 8:36:05 PM
Pls Help me - Asap public void start(delegate wm,string name) - is this possiable ? if so Pls tell me how to do? r - give some sample codes? r - tell me some sites to learn? Thanx Gopal Prabhakaran ...more >>

referencing variables PLEASE HELP ME!
Posted by name at 1/17/2004 8:21:11 PM
Tricky I'm trying to do the following string sString = "Here is a test string"; string sFieldRef = "sString"; MessageBox.Show(sFieldRef); //How do I get this line to display: Here is a test string instead of just sString??? // I am trying ...more >>

Can we pass delegate as parameter ?
Posted by Gopal Prabhakaran at 1/17/2004 6:35:18 PM
Hi Guys Pls help me asap - Can we pass delegate as parameter ? Thanx Gopal Prabhakaran ...more >>

New Application Installation - SQL DB
Posted by Jim Heavey at 1/17/2004 6:15:27 PM
I am getting ready to create my very first install of a C# application. I have never done this before, so pardon if my questions are somewhat basic. My install required a database to be - in place and I was wanting to test if the database was present, if if not present, install it. How do...more >>

How do I isolate event-generating code in a derived class?
Posted by Elder Hyde at 1/17/2004 4:49:26 PM
Hey all, A class of mine needs to tell the outside world when its buffer is not empty. The problem is that C# seems to force you to put the event-raising code in the base class. To illustrate, consider what I'll do in Java: public interface DataAvailabilityListener extends java.util.Even...more >>



How to interact a C# application with shell command?
Posted by Tommy Lu at 1/17/2004 3:59:16 PM
Hi, wondering if there is a way to interact the shell command with the C# program? For example, if I type c:\>ver it then suppose to return the version of the OS I am currently using... or c:\>systeminfo then it will return a list of information of my currently system, and what I wa...more >>

Getting either harddrive or motherboard serial number
Posted by Abubakar at 1/17/2004 3:40:22 PM
I have been trying to write a code that will give me the serial number of a harddrive or that of a motherboard, but i don't seem to get it right. Do anybody out there have any idea?...more >>

How to do multiple inheritances?
Posted by ligth_wt at 1/17/2004 2:31:10 PM
Hi, I think the derived class in C# can inherit from only one class. So, if I need multiple inheritances, I will need to have interfaces. However, interfaces doesn't have the implementation of methods. Suppose, if I want to have a derived class inherit the actual methods from 3 different base ...more >>

send utf-8 string http request
Posted by Mullin Yu at 1/17/2004 1:46:56 PM
I want to submit a utf-8 xml request to a servlet by the following coding. it seesm that the servlet can't recognize it correctly. can i just using string postData = "..... utf-8 data" and then save the files at utf-8 encoded at the vs.net ide? or if i use string, vs.net ide will conside it ...more >>

Best way to check IP address in a lot of pages
Posted by Andrew Banks at 1/17/2004 1:26:57 PM
I'm going to have an admin section to a site I'm developing using ASP.NET C# I want to restrict access to this directory based on username and password (I've got that bit done) but also upon the IP address of the user accessing it. I only want my IP to get access to this directory but my IP may...more >>

How to save a bitmap ?
Posted by Frank Trebus at 1/17/2004 12:46:35 PM
I´ve created a Bitmap in C# during runtime from a lbl-Field: Bitmap noise = new Bitmap(lblPaint.Width, lblPaint.Height, PixelFormat.Format16bppRgb555); System.Drawing.Bitmap flag = new System.Drawing.Bitmap(10, 10); for( int x = 0; x < flag.Height; ++x ) { for( int y = 0; y < fl...more >>

C++ to VB
Posted by Cantekin Guneser at 1/17/2004 12:39:32 PM
is there a way to convert Visual C++ proect convert to VB 6.0 project thank in advance ...more >>

Classwizard in C# like in VC++
Posted by gordingin NO[at]SPAM consiliumsoft.com at 1/17/2004 11:42:16 AM
Hello all, New to .NET and was wondering if there is a classwizard to create code for message like VC++ has now, ie. automatically create code for KeyDown or MouseMove. Thanks Ralph...more >>

How to detect the existance of a private member from inside the class itself
Posted by Bob at 1/17/2004 11:13:54 AM
I want to find a way to detect the existance of the private member of a particular type in the derived class from inside the base class itself and call its Dispose() method. Reflection GetFields() only returns public members and I would like to avoid using reflection due to its performance impa...more >>

c# search and return values
Posted by Eric the half a Bee at 1/17/2004 9:50:01 AM
Hello I am trying to implement a search function within a collection of Employees. I am searching for a specific EmpID number in the collection, and if it is found, I want to return the Employee. This I can do. The problem comes if the EmpID is not found in the collection. The only way...more >>

pop3
Posted by Rui at 1/17/2004 7:31:16 AM
I need to write a proxy between pop3 client and pop3+ssl server. This proxy will receive pop3 commands from the client and will translate those commands for a pop3+ssl server, then it will receive returns from pop3+ssl server and it will send them to the primary client. How can I write this service ...more >>

Dibsection in C#
Posted by _E5_ at 1/17/2004 6:35:36 AM
I had been using Dibsection with MFC (as an alternative to DirectX). Looks like C# has no support for this, or even for bitblt. What is the alternative? Are there good classes available that wrap these for C#? Seems like a logical thing to do. ...more >>

C# background job
Posted by Arcadius A. at 1/17/2004 2:48:57 AM
Hello! I have a little a C# GUI that connects to a remote host .... the whole app hangs during the connection. How can I do the connection in background so that I can kill it whenever needed? Any article/URL or code would be appreciated. Thanks. Arcadius....more >>

Advice / Ideas / Comments
Posted by Ann Marinas at 1/17/2004 2:02:57 AM
Hello all! I really need your advice/ suggestions/ comments regarding a particular program of mine that I am currently developing. What the program does is that 1. the user imports data 2. the application calculates the estimated rates using a base rate as a basis against a data that hold...more >>

Better way to get osversion?
Posted by William Stacey at 1/17/2004 12:57:46 AM
Is there a better way to get a double (or other) for os version then this? I want to get os version early in program, then do checks like: if ( osVersion < 5.2 ) //do something. TIA int major = Environment.OSVersion.Version.Major; int minor = Environment.OSVersion.Version.Minor; try { dou...more >>

Anti-Query
Posted by Aaron at 1/17/2004 12:25:23 AM
I'm writing a program that has an auto spelling correction feature. it is kind of like google and ebay's spelling suggestion features (did you mean?: correctly spelled word) I need to write a sql query that does partial match, which is the exact opposite as how you would do a wild card searc...more >>


DevelopmentNow Blog