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 2008 > threads for tuesday april 15

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

Regular Expression Frustration
Posted by Shawn B. at 4/15/2008 9:12:47 PM
Greetings, I'm using a custom WebBrowser control: http://www.codeproject.com/KB/miscctrl/csEXWB.aspx When I get the DocumentSource of a web page I browsed, and run a regular expression against it, the Expression never matches anything, nothing, nadda. Never. I know it is a correct Reg...more >>

.NET Cookie Parsing
Posted by Mike C# at 4/15/2008 9:12:00 PM
Is there a decent cookie parser out there somewhere? I keep running into cookies that .NET can't handle. I've also found a couple of other parsers but they're choking as well. ...more >>

String Comparison
Posted by Qu at 4/15/2008 8:20:10 PM
Hi everyone. I'm trying to make an application in which people can type in their own selection filter for an external application. For this, I need to be able to compare a string to a value in much the same way a search box does: "*" for a wildcard, AND and OR as their respective comparisons,...more >>

protecting objects from being changed
Posted by Andy B at 4/15/2008 5:37:49 PM
Is there a way that is already built into .net 3.5 that will let me protect an object from being modified when the object is public? ...more >>

aspect oriented programming
Posted by Vicente_GarcĂ­a at 4/15/2008 5:04:51 PM
Hello all, I am searching for a language to work with aspect oriented programming on the .NET platform with Csharp. Also, I would like that the language can be integrated on Visual Studio 2008. I've tried ASPECT.NET but it only works on Windows XP and I prefer Windows Vista. May anyone p...more >>

WebBrowser control and downlaod dialog
Posted by Shawn B. at 4/15/2008 2:54:06 PM
Greetings, I'm hosting IE in my application and when it directs to a pdf file or a zip file, for instance, wants to pop up a dialog asking me to save. I would like to automate that save to a particular location. I can't use webclient because I need to execute javascript in order to do this p...more >>

Stretch, Rotate, Rellocate ellipse in C# windows forms
Posted by Dan at 4/15/2008 2:26:00 PM
I would like to draw an ellipse on a windows form and through mouse drags stretch, rotate and relocate the ellipse. Thanks in advance - Dan ...more >>

Does each return makes copy of data?
Posted by huohaodian@gmail.com at 4/15/2008 12:52:32 PM
Hi I have some code something like. public class Info { public static IList GetUser() { return User.GetUser();} } internal class User { IList static GetUser() { return db.GetUser(); } } internal class db { IList static GetUser() { //some code to return an arraylist } } ...more >>



C# newbie on Wifi Programming
Posted by Nighthawk at 4/15/2008 11:39:23 AM
Hi, I do have some experience in programming in C# but mainly with database. Now I am trying to learn some systems programming. I am trying to do some project on WiFi radar to begin with. I found the APIs at http://msdn2.microsoft.com/en-us/library/ms706783.aspx But I am not sure how to us...more >>

Enterprise library connection when dll app created.
Posted by Metehanma@hotmail.com at 4/15/2008 11:19:03 AM
I am creating Library (dll) with visual studio. Not windows, console, or aspnet application, just a library(dll). Later i will use this dll with my application. When windows app or aspnet app, Use app.config or web.config to put connection config files. When i do dll app where would i put my co...more >>

Where are the WPF/XAML groups?
Posted by Martin Robins at 4/15/2008 10:18:38 AM
I recently posted a question to this newgroup along with the = microsoft.public.windows.developer.winfx.avalon newsgroup which remains = unanswered. I assume that this is because (a) this newsgroup is not = really the right place to post WPF/XAML questions and (b) the ...avalon = newsgroup is ba...more >>

Custom event handlers in .NET Winforms
Posted by Phil Townsend at 4/15/2008 10:07:23 AM
I have an application that needs to respond to events that occur outside of the application itself. My project, called "ShowDetection" declares the event. I have a console app called "TestEvent" that I would like to use to test the event handler. Any action in the console app would be acceptable...more >>

Strange memory leak in windows service (pool nonpaged bytes)
Posted by Adam Clauss at 4/15/2008 9:52:06 AM
We have a Windows Service written in C# that seems to be the center of a periodic system failure. The following error gets logged to the system event log: EVENT_SRV_NO_NONPAGED_POOL (event ID: 2019). I turned on performance monitor and started keeping an eye on our process (monitored poo...more >>

Version of running exe
Posted by AA2e72E at 4/15/2008 9:51:00 AM
How do I get the version of a running exe using managed code? I can using API calls. Objective: display the version in the exe's about message i.e the code will be inside the exe itself. Thanks....more >>

Bug or by design
Posted by John B at 4/15/2008 9:20:22 AM
Considering the below code, is it a bug that I can return IEnumerable<AnyType> instead of only IEnumerable<IFu> as constrained in the base class? It is not possible to add a constraint to the concrete class implementation of GetStuff as it errors saying that it inherits the superclass con...more >>

How add row to grid bound to IEnumerable(Of Employee)?
Posted by Ronald S. Cook at 4/15/2008 8:40:54 AM
Hi, I have a grid (Infragistics UltraGrid but I don't think that matters) that is bound to data source IEnumerable(Of Employee). How do I add a row to the grid (i.e. to the underlying data source, I suppose? I';m used to my data sources being DataTable so easy. Not sure what to do he...more >>

Create Program Without DB
Posted by Christian at 4/15/2008 8:29:20 AM
Hi, i must create a program to save my list of DVD but i don't have a DB like SQL or Access o file... it's possible??...more >>

Create Program Without DB
Posted by Christian at 4/15/2008 8:29:16 AM
Hi, i must create a program to save my list of DVD but i don't have a DB like SQL or Access o file... it's possible??...more >>

How to embed HTML into a C# component
Posted by 2X4Man at 4/15/2008 7:18:15 AM
I am creating a webmail solution and need to be able to display HTML e- mails in a placeholder without screwing up the styling of the rest of the page. I know that I could use an iframe to do this, but the problem that I am running into is that iframe's require a src which points to a file, I d...more >>

Error: Does not exist in the current context
Posted by C#novice at 4/15/2008 7:10:01 AM
Like my name says I am a total novice at C#. I am trying to following examples in a book that I have but unfortunately they do not provide you with code for the whole project. Up till now I could figure out what is causing my problems but now I am stuck. I added in the books code into a Win...more >>

ORM: from object to SQL
Posted by dariosalvi78@gmail.com at 4/15/2008 6:32:43 AM
Hi, I am exploring the object-relational mapping tools (the free ones) for the .net CF 2. As far as I have seen all the tools start from the tables of a database and generate code to build persistent classes. I would like to know if there is some tool that does the opposite: starting from an...more >>

How to extract all exceptions for any method
Posted by paul at 4/15/2008 6:12:26 AM
Hi I would like to extract all possible exceptions for a particular method. Ideally this would be a Visual Studio 2005 Add-In and would allow a developer to highlight a any method, pressing a shortcut key which would result in a try/catch with all exception(s) handled. Would someone nice o...more >>

Save Row in DataGridView
Posted by Christian at 4/15/2008 6:00:41 AM
Hi, how i can save the rows in a DataGridView in c# 2008? i haven't a DB but only datagridview......more >>

Overloading binary + operator
Posted by Sapo19875 at 4/15/2008 3:58:57 AM
Hi all, I need to sum two classes in this way MyClass CT = myCollectionOfMyClass[0]; MyClass C1 = myCollectionOfMyClass[1]; CT = CT + C1; In myClass exists the method to overload + operator and the method looks like this: public override operator +(MyClass class1, MyClass class2) { ...more >>

omit blank lines in file using StreamReader
Posted by Manjree Garg at 4/15/2008 3:14:01 AM
Hi, I am using StreamReader to read an ASCII file that contains blank lines. How can I omit reading blank lines? I tried somting like... FileStream inFile = new FileStream("c:\HTAC10A.PRN",FileMode.Open); StreamReader inreader = new StreamReader(inFile); string line = inreader.Rea...more >>

convert (list)
Posted by csharpula csharp at 4/15/2008 2:34:22 AM
Hello, I am looking for a way to convert list<string> to string (one string conainig all list members). How can I do it in an elegant way ? (I mean without foreach and appendind strings) Thank u! *** Sent via Developersdex http://www.developersdex.com ***...more >>

regex question
Posted by csharpula csharp at 4/15/2008 1:30:21 AM
Hello, I would like to use regex for the following matter: I have a string and I want to find given substring inside which can be Caps Lock or not and I need to check the both cases. How can I do it? Thank u! *** Sent via Developersdex http://www.developersdex.com ***...more >>


DevelopmentNow Blog