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
May 2008
June 2008
all groups > dotnet framework > december 2003 > threads for tuesday december 16

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

line control in VStudio.NET
Posted by Paul at 12/16/2003 11:44:48 PM
Looking for the good ol' Line Control in Visual Studio.NET that earlier used to be part of the standard toolbox in VB6. Any suggestions. If there is no such control in VS.NET can anyone recommend a good way to draw lines on WinForms. thanks, -paul ...more >>


HttpWebResponse can't handle duplicate header
Posted by cablechat NO[at]SPAM hotmail.com at 12/16/2003 9:32:58 PM
Hi, HttpWebResponse will just display the last value of those same name http header. Ex. Aheader: a value Bheader: b value Cheader: c value 1 Cheader: c value 2 Cheader: c value 3 Dheader: d value Retrieving the Cheader value by the headers property...more >>

asynchron serversocket
Posted by Peter Schumacher at 12/16/2003 8:49:51 PM
Hello, first, I'm sorry, my english is terrible! But in german newsgroups I didn't found an answer. I found a sourcecode in VStudio-Help. "example for asynchronious serversocket" (ms-help://MS.VSCC/MS.MSDNVS.1031/cpguide/html/cpconnon-blockingserversocketexample.htm) This is a link in ...more >>

Is there an upward limit to the System.Timers.Timer.Interval value?
Posted by Carlo Razzeto at 12/16/2003 6:28:16 PM
I am using a timer in my Windows service previously discussed in my previous post to send warning e-mails to users who's account activity idle for a given number of days. Currently I have it set for 30 days, which I multiply by a base value for one day in milliseconds. The value that is currently...more >>

System.Array.Rank (MS BUG?)
Posted by Schneider at 12/16/2003 5:54:29 PM
The docs say System.Array.Rank will provide the number of dimensions in the array. But does not seem to work. I get 2 back for both 2 and 3 levels of dimensions in the array. I am forced to use Com interop, could that be breaking this? I am also using VB.NET. Strange output. See my c...more >>

Autosize + Datagrid
Posted by aaa NO[at]SPAM aa.pt at 12/16/2003 5:34:02 PM
How I can autosize a DataGrid after then associate a Datasource=Dataset in Smart Devices applications or Windows forms application?? That same?? -- Cumprimentos, David de Passos -------------------------------------------------------------- RCSOFT, Lda. E-Mail: passos@rcsoft.pt Móve...more >>

Process.Exited doesn't throw?
Posted by Marc Lewandowski at 12/16/2003 5:27:30 PM
I am writing a Windows Service that monitors a running instance of another (third-party) application by using the Process component. I set it up to listen for the Process.Exited event, but that event never seems to be raised. I tested further, using a .dll that runs in NUnit (just a handy pla...more >>

FileSystemWatcher
Posted by Ken at 12/16/2003 5:08:38 PM
I set up a FileSystemWatcher to watch one specific file, code sample below. I have set the NotifyFilter to NotifyFilters.LastWrite. When the file is saved Class1.WeChanged is fired 2 times. Does anyone know why this would be? I understand that a rename or a move causes multiple events to be fi...more >>



Initializing ADO.Net SQL connection in Windows Service.
Posted by Carlo Razzeto at 12/16/2003 4:25:06 PM
I am trying to initialize an ADO.Net SQL connection to an sql server in my Windows service and I'm getting the following exception while trying to initialize the SqlConnection Object. The language is C#. System.ArgumentException: Unknown connection option in connection string: user. at System...more >>

Select client channel for a remote call.
Posted by Bill Davidson at 12/16/2003 4:15:34 PM
All: I have registered several client-side channels, each with a different set of credentials. When I want to make a remote call, how can I specify which client-side channel I want to use to make the call? Thanks, Bill ...more >>

ShowHelp() and weird window behaviour
Posted by James Hancock at 12/16/2003 3:49:28 PM
Why is it that ShowHelp causes the Help file to show up as some sort of child to the main application? (I've tried this with MS help files and it does the same, it isn't my help file per-say) You can't click on the application without bring the help file to the front, you can't alt+Tab between ...more >>

Performance of StringBuilder
Posted by Franz at 12/16/2003 3:42:29 PM
string strContent = String.Empty; foreach (string strLine in Content) // Content is a ArrayList which contains a large amount of strings strContent += strLine; StringBuilder aStrBuilder = new StringBuilder(); foreach (string strLine in aStrBuilder) aStrBuilder.Append(strLine); strCo...more >>

OleDbCommand parameter datatype marshalling issue with MS Access
Posted by discussion NO[at]SPAM discussion.microsoft.com at 12/16/2003 3:04:46 PM
Hi, When I create a table in MS access 2000 with SR3 using a standard SQL Create command The BOOL (YesNo) columns are NOT checkboxes, they are ints. When I create a table using the designer the BOOL YESNO fields are checkboxes. Smells like a BUG. When I call OleDbCommand w...more >>

ArrayList sorting
Posted by Mark at 12/16/2003 2:18:27 PM
Does anyone know of a way to do multicolumn sorting with the ArrayList object? Basically I have a collection of objects and I want to sort on multiple properties of the objects in the collection. Any guidance here would be great. Thanks. ...more >>

Generating Html Pages
Posted by anonymus at 12/16/2003 1:38:05 PM
Hi all, I need some help, I need to generate Html Files taking data from the database (SQLServer) to the specified network path on Button click of the windows form. I need to use only windows forms not web forms. Please can somebody tell me what to do Thanks in advance ...more >>

sql connection in windows service doesn't work!
Posted by I appreciate your help.... anony at 12/16/2003 1:06:10 PM
Hi all, Ive made a Windows Service that basically makes connections to a Sql database, when it connects it runs a stored procedure. Below is the static procedure. This procedure is in the Windows Service and the procedure runs and an Eventlog is successfully written with no exceptions. If I ...more >>

Include Visual Basic.NET
Posted by Curt Emich at 12/16/2003 12:57:11 PM
I just bought a copy of the Visual C#.NET deluxe learning addition. It included the .NET framework and the capacity to develop in C#. It looks like I can't do anything in Visual Basic.NET until I install it. Is there anywhere I can download this part of the Visual Studio.NET environment? Al...more >>

QueryString and Web Forms
Posted by Arsen Vladimirskiy at 12/16/2003 11:04:39 AM
Hello, I have a few web forms: 1) Shows a list of items with item ids 2) Shows details specific to an item and the sub-items of this item. What is the best way to pass the item id of the selected item from the 1st page to the 2nd? If I pass the value in the query string from the first ...more >>

getting computer and domain name of pc
Posted by Jeff Hamilton at 12/16/2003 9:04:22 AM
Is there a way to retrieve the full computer name (ComputerName.DomainName.com) using the .Net Framework? System.Environment.MachineName will return the computer name but not the domain name. ...more >>

console unload event?
Posted by tanalbit NO[at]SPAM aol.com at 12/16/2003 7:56:06 AM
Is there some event that gets fired when a console window is closed? I have cleanup code which needs to abort several threads. Keith...more >>

all .NEt applications cause to "System.Security.Policy.PolicyException
Posted by David at 12/16/2003 6:18:41 AM
I was testing some configuration options with Framework Configuration tool and eventually something went wrong in .NET security. Now cannot do anything in .NET with out having "System.Security.Policy.PolicyException: Execution permission cannot be acquired." error and CLR debugger popup...more >>

Getting Cokkies values using FORMS authentication
Posted by l-touched at 12/16/2003 5:26:08 AM
Hello, I’m developing in ASP.NET using “Forms” authentification: I’m asking “LOGIN”, “PASSWORD” and “KEY” Web.config: <authentication mode="Forms"><forms name=".SOMETHING" loginUrl="login.aspx" protection="All" timeout="5" path="/"><!--requireSSL="true...more >>

Directory.GetFiles throw an exception
Posted by John at 12/16/2003 4:13:15 AM
Hi, The following statement throws an exception when the search pattern returns no files: string[] files = Directory.GetFiles(directory,"*pl*.txt"); Is there any way to find out whether there isn't a match so that I don't have to wrap the above code up in a try- catch block? John...more >>

SSL Server Certificates - TrustFailure
Posted by Pete Reay at 12/16/2003 1:52:27 AM
Hi I am trying to connect to a remote server using the System.Net.HttpWebRequest class and an https: address, but I am getting a WebException with a 'TrustFailure' status. I think the problem occurs because the server name doesn't match that on the server certificate (it is a test se...more >>


DevelopmentNow Blog