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# > december 2007 > threads for saturday december 8

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

Can a class be enumerated or can it be made enumerable?
Posted by Blip at 12/8/2007 11:37:05 PM
public class IP_ADAPTER_INFO //: IEnumerable<object> <-maybe { public IntPtr Next; public uint ComboIndex; public string AdapterName; ...etc... public IP_ADAPTER_INFO(IntPtr baseAddress) { this.Next = CustomMarshal.GetIntPtr(baseAddress, 0); this.ComboIndex = ...more >>


Parsing longer strings
Posted by Advait Mohan Raut at 12/8/2007 10:06:23 PM
Hello friends, I want to parse a string which has many tokens. Some tokens may be present or absent. eg. A --> B,C,D,E ; B --> b,M,N | null ; C --> O,c, (P|Q) ; .... ... .. E --> T, CR-LF, space; .... .... .... end such type of grammar, I want to parse and to read necessor...more >>

Does anyone here use SQLite?
Posted by Rob Stevens at 12/8/2007 9:51:42 PM
I have been trying to find some working examples of working with this DB, but I can't seem to find anything at all. If I do find examples, its all referring to the command line program that comes with sqlite. I am trying to figure out the following using sqlite from phxsoftware.com or Sys...more >>

unhandled exception: OutOfMemoryException
Posted by Starwort at 12/8/2007 7:32:02 PM
I write a program handle a large amount of data, it run smooth on develop computer, but not on other client/test computer, even the test computer has much more resource, any setting i should concern? develop pc: athlon 2800+, 1G physical memory, 2G Virtual memory, install visual studio t...more >>

The exception that is thrown when one of the arguments provided to a method is not valid.
Posted by Rinaldo at 12/8/2007 6:15:06 PM
Hi, My code: kleur = binFavorietReader.ReadInt32(); Color kl = Color.FromArgb(kleur); BackColor = kl; but get an exeption: The exception that is thrown when one of the arguments provided to a method is not valid....more >>

Delegate
Posted by Tony Johansson at 12/8/2007 6:07:58 PM
Hello!! Below is a program copied from a book. The program is easy but there is one thing about the program that I would like to have some more info about. Assume that you have for example 10 cars in the array gameCars. Assume also that you want to subscribe to an event for some cars locate...more >>

member references
Posted by colin at 12/8/2007 2:50:47 PM
Hi, I have a lot of places where I need to read and write to members of a class given an index as a reference, and have a display title, this would be used in places like datagridview etc. the members may be nested, eg Line contains 2 Point(s) a and b, wich both contain x,y,z, they would b...more >>

C# Wrapper into unmanged code
Posted by Jason at 12/8/2007 2:49:13 PM
Hello I've got a DLL that is written in C++ and I want to create a C# wrapper for it, instead of using Pinvoke. I know this can be done, but I'm not sure how to go about this. I've got VS 2005 and I've been looking on the net, but not alot of clear definitions out there. For now, until I ...more >>



After setting "Console.TreatControlCAsInput = true" while loop needs twice return to read Input,...
Posted by Kerem Gümrükcü at 12/8/2007 7:42:12 AM
Hi All, i am too tired now to find this out by my own, but why does my while loop "while(readline==Console.ReadLine())" needs twice return hit to read the line, after setting "Console.TreatControlCAsInput = true". How can i make it work like it would be set to "false", so that i only must hit...more >>

RegEx, attempting to select some markup
Posted by R. K. Wijayaratne at 12/8/2007 2:41:12 AM
Hello everyone, I have something similar to the below and I am trying to select just the Block 1 markup/text <li><ul>...</ul></li> with the following RegEx @"<li>(.|\n)*<ul>(.|\n)*</ul>\n*</li>", however it selects all 3 blocks. Any ideas how to get around this? [C#] string section = Regex...more >>


DevelopmentNow Blog