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# > october 2006 > threads for saturday october 28

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

How do I calculate business days
Posted by Sam at 10/28/2006 11:38:01 PM
Hi, I use C# in my ASP.NET projects. Here's what I need to do: I want to add x business days to a given date i.e. add 12 business days to today's date. What is the best, fastest and most efficient way for me to do this? -- Thanks, Sam...more >>


How to get all the contact information of an msn account?
Posted by Kai Zhu at 10/28/2006 10:25:45 PM
It's there any public API? ...more >>

Process question
Posted by DBC User at 10/28/2006 9:40:05 PM
In my c# program I need to call an old legacy program for doing data conversion. For that I have written a code like this follows Process proc = new Process(); proc.StartInfo.CreateNoWindow = false; proc.StartInfo.WindowStyle = ProcessWindowStyle...more >>

Hashtable of Hashtables being accessed from multiple threads.
Posted by PAzevedo NO[at]SPAM gmail.com at 10/28/2006 9:28:45 PM
I have this Hashtable of Hashtables, and I'm accessing this object from multiple threads, now the Hashtable object is thread safe for reading, but not for writing, so I lock the object every time I need to write to it, but now it occurred to me that maybe I could just lock one of the Hashtables ...more >>

hiding a rows in DataGridViewComboBoxColumn
Posted by Nik Edmiidz at 10/28/2006 9:23:20 PM
After a value from the combobox has been selected in a previous row of the DataGridView, I would like to hide that value from being selectable in the combobox in a new row of the DataGridView. Here is a visual sample of what I'm trying to do: http://oha.nu/accepted_creditcards.gif I've foun...more >>

When to use the tools...
Posted by xlar54 at 10/28/2006 9:01:47 PM
Microsoft isnt always the best at doing documentation for their tools and applications. They tend to document what it does, and not so much WHY you would want to use it. So, for anyone who is willing to... can you look at the list at this link: http://msdn.microsoft.com/library/default.asp?ur...more >>

is there kinda getOptions available?
Posted by Twig at 10/28/2006 9:01:20 PM
Really, can't find built-in lib for commandline argument handling. Maybe I'm just missing it? Is it so?!...more >>

Inner Class Extends Outer Class
Posted by Martijn Mulder at 10/28/2006 8:54:21 PM
A construction like this: class Outer { class Inner:Outer { } } compiles without problem but does it introduce infinity? ...more >>



radio button list question
Posted by Adrian at 10/28/2006 7:25:18 PM
How do I reset a radio buttion list so that no radio buttons are selected any longer? (Please give the code.) Many thanks. Adrian. ...more >>

Decoupling
Posted by Sharon at 10/28/2006 6:55:12 PM
Hi. I'm working on an application with a Data Access Layer, API and UI. There are some entity classes defined in the DAL which the UI uses through the API. This means that there is some coupling between the DAL and the UI. Is it possible or advisable to separate the DAL completely from the UI?...more >>

Where is the best place to store such data
Posted by Dave at 10/28/2006 6:40:01 PM
I have some data values that will will rarely change over the life of the program. I don't think it is wise to save it in a database. Is it ok to save them in Properties.Settings if I have many different values? Example I want to save information about the user of the software, eg, name, addre...more >>

"CS1513: } expected" ASP.NET compilation error while accessing base members
Posted by TJ at 10/28/2006 5:16:27 PM
Hello all, I'm having a weird error. I'm getting error CS1513 on Line 36. It appears when I comment out this line, it compiles just fine but doesn't do what I want, which is run the code in the base class method "Page_PreLoad(..., ...)". Anyone able to help me out? Alot of the stuff down th...more >>

how to add drag&drop to a panel ?
Posted by Taptu¶ at 10/28/2006 4:31:37 PM
Hi, Is there any way to use D&D functionality with panel ? Ex. I have 2 panels: panel 1 and panel2 I want to drag panel1 over panel2 and change parent value of panel1 after Drop panel1.parent = panel2; Best regards Taptu¶ ...more >>

C# and SQL-Server Stored Procedures
Posted by J. S. EDV at 10/28/2006 3:37:03 PM
Hello, I have got a little problem with stored procedures and C#. I have got a stored procedure which should only insert something in a table. For example: ALTER PROCEDURE DBO.PROC1 AS insert into dbo.Test values ('test') when I execute this procedure in my Visual Studio Envirm...more >>

System.ObjectDisposedException
Posted by Martin Pöpping at 10/28/2006 3:20:11 PM
Hello, I´ve a problem with a small line of code. For my Windows Application I designed a form for exporting data into xml files. I´m opening the dialog with: ExportDialog export = new ExportDialog(); export.Show(); and I´m getting the following exception: System.O...more >>

Struct vs Class
Posted by JohnGoogle NO[at]SPAM hotmail.co.uk at 10/28/2006 2:43:02 PM
Hi, Newbie question... After a recent article in VSJ I had a go at implementing a Fraction class to aid my understanding of operator overloading. After a previous message someone suggested that I implement it as a struct rather than a class which I did and all worked OK. The simplest dec...more >>

ASP.NET error
Posted by radiolandog at 10/28/2006 2:20:01 PM
Visual Studio 2005 New Project Project Type: Visual C# Project Template: ASP.NET Web Application Location: http://localhost/WebApplication1 OK The Web sever reported the following error when attempting to create or open the Web project located at the following URL: 'Location: http://loca...more >>

Raising events
Posted by CuriousGeorge at 10/28/2006 1:22:05 PM
Can someone explain why this code DOES NOT raise a null reference exception? //////////////////////////// Program.cs ///////////////////////////////////////////// using System; using System.Collections.Generic; using System.Text; using CSharpLib; namespace CSharpConsole { class P...more >>

Handling C pointers within .NET
Posted by Albertas at 10/28/2006 10:33:03 AM
Hello, I'm building a program where i want to use function which is written in C programming language. So I built .dll of it. Functions parameters list looks this: void function(char *input, char *output, int number_in, int number_out, int *good); In my C# project i have included...more >>

Learning C# (2)
Posted by vicmann at 10/28/2006 10:18:50 AM
1. When to derive a class from IDisposable? 2. Does the statement below indicate that "MyDisposable" is an abstract class that needs its children classes to implement methods and all objects of children classes will be "Disposable"? public abstract class MyDisposable : IDisposable 3. What...more >>

using HTTP to download files from a secure (or unsecure) directory
Posted by Gina_Marano at 10/28/2006 9:14:49 AM
Hey All, I need to download 1 or more files from a secure or unsecure website folder using HTTP. Here is what I have so far: public void GetHTTPImages() { WebClient HTTPClient = new WebClient(); HttpWebRequest webRequest; HttpWebResponse webResponse; Stream strResponse = null;...more >>

using Hotkeys in Asp.net 2.0 Web apps
Posted by kzmm at 10/28/2006 3:39:18 AM
Hi everyone. I want to develop an application in asp.net 2.0 in which i can access different functionalities with keyboard. e.g on pressing "S" on page it will save . "N" for new record etc. please suggest me what i can do to fullfill this , Thank you ...more >>

Simple Color Pallete control?
Posted by James Kenneth at 10/28/2006 12:19:20 AM
I need a simple color pallete control, similar to one that exists in appearance section in dialog properties. Here is a screenshot: http://tinyurl.com/y6m78k I tried using ColorDialog but there doesn't seem to be a way to have only a couple of colors displayed. Is there a way to customize Co...more >>


DevelopmentNow Blog