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 > dotnet general > september 2006 > threads for wednesday september 27

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

Hybrid Windows Service + Console App
Posted by Chris Mullins at 9/27/2006 10:03:25 PM
For some reason the question, "Can I make an EXE that is both a Windows Service and a Console Application?" has come up quite a bit for me over the last few weeks. I've been doing this for years, but for some reason I've never seen it documented anywhere. C# (or VB.Net) is perfectly happy to c...more >>


IoC Container
Posted by Derek Smith at 9/27/2006 9:21:28 PM
I am looking for a lightweight Inversion of Control container besides the Spring Framework. Is there a .NET implementation of Pico Container? What other IoC containers are people using for .NET? Derek ...more >>

Play Sound Clip Once
Posted by illmagination at 9/27/2006 4:23:42 PM
Hi, I recently received a task to have a .wav file play only once when home page is 1st loaded and only play again when the user re-visits the page by opening a new browser. I am using asp.net 2.0 framework. Could someone please guide me? Thank you. ...more >>

string variables in C#
Posted by C#leaner at 9/27/2006 1:15:31 PM
In the following code, I am getting a compile error saying that use of unassigned local variable d. Can anyone help? ---------------------------------------------------------------------------------------------- string d; int i=1; while (i<13) { i++; if (i==1) d="first"; if (i==2) ...more >>

string variables in C#
Posted by C#leaner at 9/27/2006 1:15:29 PM
In the following code, I am getting a compile error saying that use of unassigned local variable d. Can anyone help? ---------------------------------------------------------------------------------------------- string d; int i=1; while (i<13) { i++; if (i==1) d="first"; if (i==2) ...more >>

Clock differences on servers
Posted by Josh at 9/27/2006 1:07:25 PM
I posted this in the distributed apps section but there wasn't a single answer. It seems that this forum is a little busier and just as applicable so I'll try again. Imagine I have a distributed app on a number of servers, say a web farm and a couple of app servers. Can you think of any t...more >>

is there syntax error in my code
Posted by C#leaner at 9/27/2006 12:12:41 PM
I am getting squggly blue on (i==1) as well as on d. class Program { static void Main(string[] args) { string d; int i; for (i = 0; i < 12; ) { i++; if (i == 1) d = "first"; if (i == 2) d = "seco...more >>

Managed DirectX 2.0 ? (MDX2)
Posted by Robert Hooker at 9/27/2006 7:56:38 AM
Does anyone have any information on when MDX2.0 will come out of Beta? It seems like its been in Beta for a looong time... Rob ...more >>



Rename Project?
Posted by Herb at 9/27/2006 7:38:02 AM
I have a VS 2005 Website project named ABC. The project leader has changed the name to XYZ. Is there a bulit-in way to change the project name? Is this simpler than I think? If I just create anohter project named XYZ, can I copy the files to that folder? Can I just rename the ABC folder to...more >>

ASP.NET 1.1 password recovery
Posted by jeffg at 9/27/2006 6:18:02 AM
I have a web site that I use forms authentication on. I am trying to implement a password recovery tool, but am unable to get beyond the login screen to get to my PasswordRecovery page. My forms authentication is set up in the web config file as follows: <authentication mode="Forms"...more >>

Retrieving child data in DAL or BLL
Posted by Nemisis at 9/27/2006 5:04:02 AM
hi all, If i have a table in my database, and that table contains foreign keys to other tables, should i extract the data from the other tables at the same time, or should my business layer call the separate DAL retrieve methods for each child object? if i take the example of a company and ...more >>

Runtime information
Posted by tasiekk NO[at]SPAM tlen.pl at 9/27/2006 4:16:54 AM
How can i get information in code if exec was execute in cd-rom or in hard drive ?? My prog should only work from cd-rom so i need to know i code if it was executed from cd or not. Ty for any help. ...more >>

Regular Expression
Posted by Tedmond at 9/27/2006 4:15:01 AM
Dear all, I want to read a file data block by block using regular expression. The file contents is like MWH ........ ................. ..................... MWH ................. ........................... ........................... ..................... MWH .... Each block star...more >>

comparing two VARIANTS
Posted by Vasuki at 9/27/2006 2:16:02 AM
hi when I try to compare two VARIANTS, i get a compilation error. when i tried the same in version visual studio 7.0 it works fine but with 7.1 it gives me the following compilation error: binary '!=' : no operator found which takes a left-hand operand of type 'VARIANT' (or there is no ac...more >>

Web services or something else?
Posted by Mateo at 9/27/2006 2:10:34 AM
HI! Situation: I have database on desktop computer (lets' call it DB1) which is connected to the internet (permanent ADSL or cable). I have second database (let's call it DB2) on web server (rented hosting). I need to synchronise those 2 databases. Syncronisation must be bidirect...more >>

Retrieving child objects, and when
Posted by Nemisis at 9/27/2006 2:00:12 AM
Hi everyone, sorry if this post gets really long, i just wanna make sure i fully explain what i am trying to do. I am new to OOP and .net 2.0, so if this is obvious, i am sorry. I have wrote a data access layer, which contists of separate servicebases for each object within my database. Co...more >>

help on Windows Service startup
Posted by serge calderara at 9/27/2006 12:37:01 AM
Dear all, I have build a windows service whcih read soime remote configuration in an application file. That file path is pass as argument in the satrt parameter of the service. If I start the service without any config file related, it start fine but as long as I ask for reading a config...more >>


DevelopmentNow Blog