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# > july 2003 > threads for sunday july 20

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

Newbie having problems with an ArrayList
Posted by Abe Frohnman at 7/20/2003 7:18:25 PM
Hello all, I'm having problems using an ArrayList. The two lines of relevant code are here: roomsArray.Add(new Area(roomNumber)); labelRoomNumber.Text = "You're currently building room number " + (Area)(roomsArray[0]).RoomNum; When I try to compile this, I get this error message: 'ob...more >>

Rectangular arrays Vs. multidimensional arrays.
Posted by Nikhil Patel at 7/20/2003 5:45:21 PM
Hi all, I am readin an MSDN tutorial on C# arrays. It says, you can have a three-dimensional rectangular array: int[,,] buttons = new int[4,5,3]; What I don't understand is how can a three dimensional array be a rectangular array because a rectangle can have only two dimensions.Tha...more >>

Access question
Posted by Daisy at 7/20/2003 4:34:17 PM
If I connect to an MDB file in my C# app, would something other than the ..NET runtime require installing on the target clients? -- Daisy The Cow Now playing: Pascal ft Karen Parry - I Think We're Alone Now ...more >>

why enum members need conversion
Posted by Nikhil Patel at 7/20/2003 4:19:49 PM
Hi all, I am a VB6 programmer and learning C#. I am currently reading a chapter on types. I have question regarding enums. Why do we need to convert enum members to the value that they represent? Thanks in advance... -Nikhil ...more >>

validating datatype (newbie question)
Posted by Jack Fu at 7/20/2003 2:39:15 PM
I want to make sure the user enters a number (rather than a letter, for example). This is the way I am doing it. There must be a better, more efficient way. Can someone please tell me the better way? Thanks in advance! Jack Console.Write("\nEnter the ID number : "); t...more >>

SQLite / Mono trouble ?
Posted by Rick van Lieshout at 7/20/2003 1:39:12 PM
Hi all, I'm trying to use the sql engine SQLite within my Visual C# project. I downloaded the mono version of the .NET framework so I could use Mono.Data.SqliteClient.dll , however I can't seem to be able to use the IDataReader object. Any suggestions ? Complete work directory: http://home...more >>

copy dataset row
Posted by suzy at 7/20/2003 12:47:15 PM
hi im trying to copy a row from one dataset table to another dataset table. i tried the following but it says the row belongs to another table. any idea what im doing wrong, or if its possible? //both datasets have been initiablised earlier DataRow oNewRow = oDataSet.Tables["Orders"].Rows...more >>

scripting language
Posted by Michael Andersson at 7/20/2003 12:42:15 PM
Hi! I'm writing a small game engine in c# and I'm in great need of a scripting language. Does anyone know of such a language? Would it be possible to use the VSA in some way to do this? Best regards, /Michael...more >>



Compiling in GIFs etc.
Posted by Daisy at 7/20/2003 10:07:41 AM
Currently I'm using Image.FromFile() to load files at run-time, but I don't want to include editable gifs and such in a release. I've checked the manual, but all I can find under "resource files" and such are xml and text. Is there anyway I can bundle all of my external files (gifs, wavs, etc.) ...more >>

How to protect the execuate code?
Posted by weixiang at 7/20/2003 8:51:25 AM
Hi, After compiling with C#, the target exe file can still be reverse-compiled by ildasm. Is there someway to protect code from that method? I already used strong-name in my module. Thank you in advance, weixiang ...more >>

Adding a Control to a Form
Posted by Tom Bean at 7/20/2003 8:06:34 AM
When a control is created during program execution, how can the control add itself to the form's control collection? I'd like to do this without the control or the form having to know specific information about one another, like the newly control being able to obtain a reference to the contain...more >>

newbie queston on formatting console output
Posted by Jack Fu at 7/20/2003 5:58:06 AM
How do I format output of strings, numbers, etc. on a console? For example, the code below produces the console output shown below it. How do I specify the output format? For example, if I enter 45.7 for money, how do I specify that its output will look like $45.70? Thanks in advance! Consol...more >>

How to hide methods of interface!
Posted by Ron Liu at 7/20/2003 5:23:56 AM
Hi all, How to hide methods of interface? All the MSDN said it is not possible. I also did lots of tests, and got the same answer. However, I found there are some classes in .net framework did hide some properties of their interface. Look at the StringCollection for example. The StringColle...more >>

Firewall
Posted by Bohus at 7/20/2003 1:38:08 AM
would like to make firewall that checks all outgoing traffic from my computer. This firewall should ask me to allow or deny all outgoing traffic. Is it possible to make such firewall using C# ? If yes, can you give me some starting point where should I go in .NET Framework (namespaces, or...more >>

Application Blocks (XML File) Configuration Manager
Posted by Lee Connell at 7/20/2003 1:09:25 AM
Hello, I am trying to use the Application blocks configuration manager. I am reading the docs on how to setup the app.config file to use the proper reader/writer. I want to use xml file. I followed the directions and I am still getting an error in the app.config file, it's complaining about...more >>

C#' null.
Posted by ±èÀçȲ at 7/20/2003 12:06:26 AM
what's the mean this article..please null == ldnull(MSIL) /* Rationale: It might be thought that ldnull is redundant: why not use ldc.i4.0 or ldc.i8.0 instead? The answer is that ldnull provides a size-agnostic null -analogous to a ldc.i instruction, which does not exist. However, even if ...more >>


DevelopmentNow Blog