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# > october 2007 > threads for friday october 5

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

dll paths
Posted by DaveP at 10/5/2007 11:03:05 PM
in the app config...how can i tell my app where dll's are without registering them Thanks DaveP ...more >>

PictureBox Scrolling
Posted by bwilde NO[at]SPAM gmail.com at 10/5/2007 7:49:07 PM
Hello, Here's what I'd like to have in a form that I'm creating: A picture box that contains an image that is significantly larger than the box. I'd like for there to be scroll bars, but also to enable the user to click and drag the image directly, with the scroll bars updating to reflect whi...more >>

How to access app.config in a library
Posted by bz at 10/5/2007 7:35:25 PM
Hi, I have a library project that implements a Business Layer for a web and a desktop application All my business classes are in this lib, so I have here the connection string to database as app setting (in app.config The section in app.config looks like this <applicationSettings> ...more >>

C# and javascript? Or C# and Javascript + IE?! I really dont know...
Posted by porter at 10/5/2007 6:54:02 PM
While my question might be simple, the environment around it is terribly messy and so I will try to keep this clear and simple by only including the relevant code - however, as I will soon suggest, I worry that the problem isnt in what would seem to be the relevant code but instead is lost somew...more >>

ftp recursively class
Posted by zion at 10/5/2007 6:29:45 PM
Hello, For my program I need to download with ftp protocol a folder with all subfolders and files. Do you know any ftp class to do this job? Thanks ...more >>

Retrieve tag A from html
Posted by Matteo Migliore at 10/5/2007 5:43:33 PM
Hi. I need a regular expression to extract all tag A from HTML code. I need the href and text as two disting objects. Suggestions? Thx! ;-) Matteo Migliore....more >>

TCP Listen port with multiple connections
Posted by Vinki at 10/5/2007 4:34:01 PM
Hello everyone, I have this code for TCPListenPort. The code works fine, but my manager is asking me to establish multiple connections to the same port. How can i acheive that below is my code Int32 port = Int32.Parse(ConfigurationManager.AppSettings["port"]); ...more >>

dataGridView setting a row
Posted by Soulless at 10/5/2007 12:30:07 PM
I have a scenario where I am coding in the cellvaluechanged in case the user enters some bad data into a cell in a datagridview. The problem is it crashed during run because I think that there is no current row selected. How do i force the system to have the currentrow = 1 for the datagrid? ...more >>



Stop SQL execution by disconnecting Database Connection ???
Posted by Rinu Gopalakrishna Pillai at 10/5/2007 12:24:04 PM
Hi All, I have a ASP/C# application that connect to Oracle database . After issuing my SQL query if I close the browser or move into another page ( ie whle executing in the databse serevr) will the SQL execution in server continue or immediately stop.If it still continue how I can stop t...more >>

Generic delegate implementation question
Posted by Dave at 10/5/2007 11:59:34 AM
I've got these declarations: public delegate void FormDisplayResultsDelegate<Type>(Type displayResultsValue); public FormDisplayResultsDelegate<string> displayMsgDelegate; instantiation: displayMsgDelegate = DisplayStatusMessage; implementation: public void DisplayStatusMessage(string sta...more >>

Get Line Count from a File
Posted by Brian Simmons at 10/5/2007 11:06:36 AM
Hi All, I'm hoping there's a quick and easy to accomplish this: I've got a CSV file (each row represents a record, and is followed by a NewLine). Is there any way (short of counting the NewLine's) to get a Line Count of the file. I've got a quick & dirty utility that I wrote for a client...more >>

Double-click a folder browser dialog?
Posted by David Veeneman at 10/5/2007 10:21:48 AM
I'm trying to implement some fairly standard behavior (or so I thought) on a FolderBrowserDialog component. double-clicking a folder in the dialog should have the same effect as selecting the folder and clicking the dialog's OK button. But the FolderBrowserDialog component doesn't implement th...more >>

System OutofMemory Exception!!
Posted by Vai2000 at 10/5/2007 8:50:14 AM
Unbelievable! I have a webservice which tries to write a file to temp directory ,yes the svc have write access, and I get >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> The following error occurred while processing file: foo.dat Exception of type 'System.OutOfMemoryException' was thrown. StackTr...more >>

Debug vs. Release Build
Posted by Bob Johnson at 10/5/2007 7:53:52 AM
It is my understanding - and please correct me if I'm wrong - that when building a project in debug mode, I can deploy the .pdb file along with the ..exe and thereby have access to the specific line number of code that throws an exception. Specifically, I can have an error logging routine that...more >>

regexes with balancing group definitions
Posted by Arnshea at 10/5/2007 7:49:28 AM
There's an article (well, an editor's update to an article - at http://msdn.microsoft.com/msdnmag/issues/04/06/NETMatters/#edupdate ) that presents the following regular expression for detecting balanced brackets. string pattern = @"^((?<openBracket>\{) | [^\{\}] |" + @"(?<closeBrack...more >>

Datagrid.columns
Posted by Soulless at 10/5/2007 7:32:16 AM
Hi, I am seeking out information on working with 'columns' in code. for instance I have a column on a datatable that is of type boolean. In code I wish to test to see if that column is true or false. I think typing the code: if ( datagridname.columns[columnname] = true) do something would...more >>

help designing my classes
Posted by rodchar at 10/5/2007 6:51:02 AM
hey all, i have a very simple asp.net application and i'm trying to decide where my methods should reside in an n-tier context. i have 2 classes: BusinessLayer.cs DataAccess.cs all the application does is it goes to a database to populate my datatable and then i dynamically populate an ...more >>

convert type 'byte[]' to 'string'
Posted by Eitan at 10/5/2007 6:51:01 AM
What would be the "right" way to convert type 'byte[]' to 'string'? Thanks EitanB...more >>

Database Sync Question
Posted by wackyphill NO[at]SPAM yahoo.com at 10/5/2007 5:20:07 AM
I'd like to pull down a decent sized table into memory from a DB. I want to store the table in a DataTable. This could take some time so I'd like to do the full table only once. And then when I wish to refresh my memory copy perform some type of query that will only return the changes that hav...more >>

problem writing xml
Posted by Aahz at 10/5/2007 5:07:56 AM
Hello, I need to write xml file ( using c#) with some elements inside that actually contains html code, like this: 'Moscow &lt;p&gt;&lt;/p&gt;&lt;a href="www.google.com"&gt;&lt;img src="gallery/t20.jpg" border="0" /&gt;&lt;br /&gt; Red Sqare &lt;/ a&gt; Instead of that every time I got...more >>

can Custom Serialization be used to move class instance data from one program to another?
Posted by camarkco NO[at]SPAM hotmail.com at 10/5/2007 12:00:00 AM
Why does C# go out of it's way to prevent this? Mark...more >>

Try to hack my web site!
Posted by Ivo at 10/5/2007 12:00:00 AM
I am programming forum. Tech is ASP.NET, C# and SQL Server 2005. I want to see is my site safe, have I made some security problems. Can you try to hack my site untill 10-september-2007.: http://www.search4affiliate.com/Forum.aspx Thanx ...more >>

Mailing lists
Posted by Muhammed Soyer at 10/5/2007 12:00:00 AM
Hi, I wonder whether any good mailing lists for C# and dotnet technologies exist or not. Do you follow any mailing lists for dotnet ? Thanks...more >>

Enum Enumeration issue
Posted by Daniel Jeffrey at 10/5/2007 12:00:00 AM
Hello. Can anyone help me please. I have created an Enumeration, and I loop through it, it all works ok, except the first item returns 2 times. Code is below. When called I Get "Text Edit" 2 times public enum CustomFieldTypes { [Description("Text Edit")] TextEdit, [Description(...more >>

Dock a page from a chm helpfile
Posted by Torben Laursen at 10/5/2007 12:00:00 AM
I want to show a page from a chm helpfile in a memo component on a form, or in some other way dock a page from a helpfile on a winform. Is there a simple way to do this? Torben...more >>

GetNodeAt problem
Posted by Alistair George at 10/5/2007 12:00:00 AM
tvNodes is a treeview. In one program using exactly the same code, it provides a selectednode object correctly, however in another using same code it cannot detect which item is under the cursor. Any idea why this should not work - I have checked out properties/events side-by side between bot...more >>


DevelopmentNow Blog