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# > november 2007 > threads for friday november 9

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

xml queston
Posted by Analizer1 at 11/9/2007 10:42:25 PM
hi all I have some pretty large XML Files was wondering does dot net XML do any buffering or does it just load the complete document into memory tks ...more >>

how to write into a big textfile ?
Posted by Nicopil@mi at 11/9/2007 9:24:34 PM
Hello everybody, i need your help : i have to write some lines coming from a database into a textfile; Everything goes right while the filesize is quite small or medium; But it's different when the file becomes a bit large, as it returns the following error : "The process cannot access t...more >>

writing to app.comfig file
Posted by Vinki at 11/9/2007 4:14:00 PM
Hello Everyone, I am trying to read and write another application app.config file. I am trying to follow this code that i got from internet xeConfigurationFileMap fileMap = new ExeConfigurationFileMap(); fileMap.ExeConfigFilename = @"C:/app1.exe.config"; // relative path ...more >>

difference c# 2.0 C# 3.0
Posted by Gigs_ at 11/9/2007 3:49:44 PM
hi all what are difference between C# 2.0 (.net 2.0) and C# 3.0 (.net 3.0 (3.5))? I have book programming C# 4rd edition from o'reilly on my country language. Is it alright that i learn C# from this book? I'm not completely newbie, i learned python as my first language (leaning py and pr...more >>

BindingSource: Change DataMember Assignment at Runtime?
Posted by randy1200 at 11/9/2007 2:08:00 PM
In the Visual Studio 2005 designer, I have a grid, a binding source, and a data set which contains two data tables. In the Designer, I make the settings below. If I set the DataMember for the binding source to Table1, I see the data in Table 1. If I set the DataMember for the binding source...more >>

Get Data
Posted by bobby at 11/9/2007 1:58:00 PM
Hi, I have a tab delimeted file. I want to read this file and want to put in data table. I have the following code. Tab delimeted has 3c columns and 43 lines of data. The following code just reads the columns after it crashes. How to fix it and How can I populate the data for each column...more >>

How to get HttpApplication from Windows Form
Posted by Zhangming Su at 11/9/2007 1:29:22 PM
Hi, Any one know "How to get HttpApplication from Windows Form" by using C# on Windows 2003 server? Thank for the help! ...more >>

Error Input string was not in a correct format
Posted by Jose Oliver at 11/9/2007 12:26:52 PM
I am a bit baffled on this error. A windows app written in C# is attempting to execute the following query: SELECT * FROM Employee WHERE (Name LIKE '%' + @PARAM1 + '%') AND (Name LIKE '%' + @PARAM2 + '%') AND (Company LIKE '%' + @PARAM3 + '%') I am getting the following err...more >>



adding settings in c# during runtime
Posted by joe.wilkes@heritagefunds.com at 11/9/2007 12:21:14 PM
does anyone know how to add settings during runtime? I would really like to incorporate this feature into a app that I am building. ...more >>

HttpContext.Current returns null
Posted by Gilgamesh at 11/9/2007 11:44:43 AM
We have a legacy ASP application which is calling a VB 6 DLL. This dll then calls a C# dll assembly written in .net 2.0. We need to access httpcontext in C# in order to get the request object associated with the ASP page which initiated the request. HttpContext.Current retunes null in C#, whic...more >>

Serial port in .NET
Posted by max_mont at 11/9/2007 11:43:02 AM
Hi all, I'm a newbie in .NET technology. I've already developed Serial communication applications in C++ (WIN32). And I wanted to migrate to .NET technology. There is a serial component in framework to read and write on serial port. I would like to make asynchronous reception. I saw that we c...more >>

MVC on .NET
Posted by -pb- at 11/9/2007 11:17:17 AM
We are developing a Windows client using .NET 2.0 and C#. We have decided to use MVC based architechture due to its obvious advantages. This application shows data from database in a Grid. We want to add a functionality of Printing grid and export grid to XL sheet. I would like to know where wil...more >>

zip files using C#
Posted by Mike at 11/9/2007 11:05:31 AM
Is it possible to read a directory and zip the files within that = directory using C#? What I'm trying to do is, create a process (windows service, console = app, etc) that will read a directory that stores log files. I want to = then take all the log files that are 6 months or older and zip the...more >>

WebService c# what library should I use for concatenating mp3 and merging pictures
Posted by hogcia at 11/9/2007 10:55:15 AM
I have an assignment to do - I have to build a web service for: - Analyzing text (done), - Merging 2 images, - Concatenating 2 mp3s (even with different bitrates). What library should I use? How should I do this? Thank You for Your suggestions. P.S. We have to use DirectX ...more >>

Row Index in RowCommand event handler
Posted by James Lennon at 11/9/2007 10:50:01 AM
I have a gridview that has a button column and a template column with another button in it. When I click on the button column button I can get the row index in the event handler for the CommandArgument parameter. However when I click on the template column button the CommandArgument paramete...more >>

Delegates vs. MethodInfo When Calling Code Dynamically
Posted by Tom Corcoran at 11/9/2007 10:48:01 AM
I've been led to believe by several articles, particularly Eric Gunnerson's C# Calling Code Dynamically, that calling a method dynamically through Reflection was much slower than through a Delegate. My testing showed that actually it was six times faster: 0.5 seconds for 100,000 iterations ve...more >>

Split function
Posted by bobby at 11/9/2007 10:30:01 AM
I have the following code. bit it gives me error that The best overload method for string.Split(params char[]) has some invalid arguments. I am using stringbuilder which doesn't have split method so how can I do that. public static string[] ReadFileLines(string path) { ...more >>

C# EXE and website integration?
Posted by Sparticus at 11/9/2007 8:55:29 AM
hey all, I have developed a flash game. I am trying to prevent cheaters from submitting fake high scores. To do this, I record ever action they make in the game, and when the game is over I send all these actions and their high score to the server. On the server side I have made a C# applic...more >>

String errors
Posted by bobby at 11/9/2007 8:52:02 AM
I have the following code and I am trying to read tab dilemited file. But it gives me the following error The best overload method match for String.Split(params char[]) has some Invalid arguments. Even in intelligence I can't see split method. string[] myContents = ReadFileLines(path); ...more >>

Closing a C# socket does not release port
Posted by at 11/9/2007 8:50:54 AM
I have a socket configured as TCP and running as a listener. When I close socket, it doesn't always free up the port immediately. Even when no connections have been made to it. So when I open the socket again, the bind fails because the port is still in use. When I execute the code in "debug...more >>

Parse SQL query in C#
Posted by Jimmy V at 11/9/2007 8:41:41 AM
Hey all, I am writing a query builder in C# 2005 and I want to parse the query before I send it to the database. I remember being able to call a Parse or TryParse method on a DMO object or something similar. It has been a while since I have had to do this and forgot what object to use. Anyone...more >>

Regex in c#
Posted by Nightcrawler at 11/9/2007 8:28:52 AM
I am building a web page where people can link in a youtube video by copying and pasting the link that is provided by youtube. How can I use a regular expression to capture the URL only from the link below: <object width="425" height="355"><param name="movie" value="http:// www.youtube.com/v/x...more >>

Can't get value from app.config
Posted by spurvia at 11/9/2007 8:19:02 AM
I have a simple C# VS 2005 console application that contains a class and an app.config file. My app.config <?xml version="1.0" encoding="utf-8" ?> <configuration> <appSettings> <add key = "KW_Geometry_CheckIn_Path" value="\\kwcyarm006 Batchplot\Input\Iput" /> <add key = "KW_...more >>

Can the type of a variable be determined by another variable?
Posted by pinkfloydfan at 11/9/2007 6:36:41 AM
Hi there I have the following situation...I want to perform an operation on an Enum parameter but I don't know which one of a number of Enums it will be on. The function would include something like the following: public static object (string EnumName) { .... EnumName NewEnum = new...more >>

Thread Synchronization and method parameters
Posted by DaTurk at 11/9/2007 5:57:35 AM
This is probably a very simple question but I just want to make sure. If I have three threads, all of which use their own class scope copy of an object. Now, say I reuse this object for each iteration in each thread, so I have to clean it. I have one method that takes in as an argument one of ...more >>

.NET without VisualStudio
Posted by SePp at 11/9/2007 5:11:20 AM
Hello, I want to develop a DotNet C# Windows Application. Is it possible to do that only with open source software? Are there disadvantages if I use other software? Thank you very much for all information. Kind regards Sepp ...more >>


DevelopmentNow Blog