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
May 2008
June 2008
all groups > dotnet framework > november 2007 > threads for november 15 - 21, 2007

Filter by week: 1 2 3 4 5

Wpf/net 3.5 /VS2008 - Binding to Ado.net dataTable problem
Posted by Rolf Welskes at 11/21/2007 10:59:39 PM
Hello, because there are no managed news group for window presentation foundation and one has told me I can use this, here my problem: Here a litte code with a sample program - simple program which binds to an ado.net table: <Window x:Class="Test03.Window1" xmlns="http://schemas.micr...more >>


.NET Framework 2.0 Configuration utility crash
Posted by Magnus Flysjö at 11/21/2007 8:55:37 PM
I cant start the .NET 2.0 Configuration utility, it carshes before I even get a chance to do anything. I'm running Windows Vista x64. When debugging the crash, I see that it crashes due to the following error: --- An unhandled exception of type 'System.IO.FileNotFoundException' occurred in ...more >>

Process dump for later debugging
Posted by Laurents C. R. Meyer at 11/21/2007 5:30:02 PM
Hi everybody. We are currently discussing the possibilities in our company, how to optimize the customer support for lots of our business customers. Since our new software products are based aproximatly by 80% on the dotNet-Framework, this seems to be the starting point. I was thinking abo...more >>

file information in ftp site
Posted by Ken at 11/21/2007 3:21:43 PM
hi, I'm working on Script Task among the tools of SSIS Package. I need to write codes to verify creation date of certain files in ftp site. I tried to use the "System.Net.FtpWebRequest". and then How about the information of the files in ftp sites??? ...more >>

official MS style guide?
Posted by SpaceMarine at 11/21/2007 1:13:03 PM
hello, i thought i remember seeing at one point a "recommended" style guide written for C#. this .NET/csharp guide was written by microsoft and covered things like case, formatting, naming conventions, etc. has anyone seen something like this? i am googling & searching MSDN2, but havent fou...more >>

New async socket behavior?
Posted by Darren at 11/21/2007 7:37:43 AM
Hi all, My company has recently migrated an application from .Net 1.1 to .Net 2.0. It uses the Socket class to perform some network communications. When Calling the BeginConnect() method, I have noticed that sometimes the specified AsyncCallback method will actually get called from the same...more >>

Logging method values
Posted by ssg31415926 at 11/21/2007 7:33:32 AM
I want to log all of the values passed into each method to help diagnosing problems that can't be reproduced in test (yet). Is there an easy way to do this or do I have to write logging code specific to each method?...more >>

Dispose and Singleton Pattern
Posted by JT at 11/21/2007 2:27:01 AM
Hi, I have a singleton object which contains a ref to a object with a dispose method on it. I realise that ideally I should call dispose on this object but since the singleton could be referenced by many clients when should I do this? I can only think I need to implement some sort of ref c...more >>



NET CLR Networking?
Posted by doom at 11/20/2007 4:52:37 PM
Hi All, Am dealing with some .net socket applications. My 1st query is when should we see this "NET CLR Networking" performance object available on a system, i mean after installing which component of .net., for both 32x and 64x systems. If I ran one c# socket application(server client),...more >>

IIS7 and .NET 3.5
Posted by Dylan Parry at 11/20/2007 4:34:44 PM
Hi, I installed Visual Studio 2008 Express earlier today, but I am not sure that IIS7 has been correctly configured to be able to use the 3.5 Framework. When I look at the AppPools listed in IIS7, I see two AppPools that are both set to use v2.0, and when attempting to create a new one, v3.5...more >>

VS2008 / Wpf - Designer does not show ListView correctly
Posted by Rolf Welskes at 11/20/2007 3:28:03 PM
Hello, because there are no managed news group for window presentation foundation and one has told me I can use this, here my problem: I am now working with VS 2008 final Try the following code in VS2008 final (not beta 2 !!!) <Window x:Class="TestApp01.Window1" xmlns="http://schema...more >>

.net Framework 2.0 SP1 question
Posted by Trebor at 11/20/2007 12:18:29 PM
When installing .net framework 2.0 on a machine without .net framework, do I need to install: .net framework 2.0 + .net framework 2.0 SP1 or ..net framework 2.0 SP1 only? Thanks ...more >>

Drive/FS change detection
Posted by Matthew Hughes at 11/20/2007 12:00:06 PM
Hey. I'm recently developing an application which has to deal with SD cards. My problem boils down to SD detection, basically I've two use cases: 1) somebody inserts a new SD card into an existing Drive in the system 2) Insertion of a new drive/cardreader with a SD card already in....more >>

Timeout in HttpWebRequest.GetResponse() for large uploads
Posted by Ravi at 11/20/2007 9:19:38 AM
I'm using HttpWebRequest in .NET 1.1 to post data files to a web server. The data files can potentially be 20mb or more. The relevant code for this looks essentially like: Stream reqStream = request.GetRequestStream(); reqStream.Write(data, 0, data.Length); reqStream.Close(); WebResponse res...more >>

Version.Build
Posted by Herb at 11/20/2007 6:31:07 AM
Why do My.Application.Info.Version.Build & My.Application.Info.Version.Revision always return zeros? I ahve numbers in the Publish tab of the windows application, but I can't seem to report them on my spalsh screen. Thanks...more >>

Deployment question
Posted by Herb at 11/20/2007 6:29:00 AM
When I build and deploy my windows app, it goes into "Start...Programs...MyCorporationName...MyProgramName". How do I change the folder name from MyCorporationName to something unique to the application? Thanks...more >>

I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there a
Posted by DR at 11/19/2007 7:40:59 PM
I have a CLR function thet returns IEnumberable (a table) and it has a FillRow function. I am returning 10,000 integers from this function. Is there any way that I can preallocate the resulting table or give SQL server hint as to how many rows my function will return? It makes me cringe to t...more >>

VS 2005 and Terminal Services Detection
Posted by GAZ at 11/19/2007 5:22:48 PM
Is it possible to detect whether an application is started on a regular computer (xp, vista, etc.) or through terminal services? Basically, we would like to prevent users from starting our application through terminal services. Thanks for any answers and/or ideas. BR, GAZ ...more >>

Custom Configuration Section Help
Posted by Yan Yi Huang at 11/19/2007 4:01:53 PM
Hi everyone, I have created a custom configuration section which contains an optional configuration element. When I retrieve the custom configuration section, I also get an instance of the nested configuration element even when I don't have it inside the custom configuration section. Need...more >>

Source Debugging with VS2008
Posted by Chris Mullins [MVP - C#] at 11/19/2007 3:25:02 PM
Anyone gotten this working yet? I'm really looking forward to stepping right into the Framework code.... I have it set to download symbols from: http://source.msdn.microsoft.com/symbols I got his link from Scott's blog at: http://weblogs.asp.net/scottgu/archive/2007/10/03/releasing-the-sou...more >>

Visual Studio 2008 released
Posted by Cowboy (Gregory A. Beamer) at 11/19/2007 2:34:19 PM
http://weblogs.asp.net/scottgu/archive/2007/11/19/visual-studio-2008-and-net-3-5-released.aspx If you have an MSDN subscription, you can download now. -- Gregory A. Beamer MVP, MCP: +I, SE, SD, DBA ************************************************* | Think outside the box! | *********...more >>

AsyncOperation not working as I expected
Posted by Lee Alexander at 11/19/2007 1:50:27 PM
Hi, I'm trying to use AsyncOperation to execute a method in a main thread context from a worker thread. If I run the program from a console application then it doesn't work. If however I run it from a WindowsForms application it does. Basically I set the name of the main thread to "Main ...more >>

Q: displaying image in WPF
Posted by G. Ralph Kuntz, MD, MS at 11/19/2007 11:58:29 AM
I am probably doing something really stupid, but I cannot get an image to display in a window using WPF. I copied the image into my main project directory in Visual Studio 2005. I added the appropriate lines to my XAML file: <Image DockPanel.Dock="Top" Margin="5" Source="myimage.png" ...more >>

New Install
Posted by Herb at 11/19/2007 4:27:00 AM
I am moving my development from one machine to another. On the first machine, on the Start Page, I have options for Open: Project | Website Create: Project | Website but the new machine does not have the Website option. I thought I installed EVERYTHING from the DVD. When I reinsert the ...more >>

Need help with .NET Reflection
Posted by Sanat at 11/19/2007 4:03:22 AM
I was working with loading .Net Assemblies through reflection to get the list of all the classes along with their Methods and Properties from any given module. I am using native .Net method Assembly.LoadFrom(assemblyPathName) to open msvcm80.dll (Managed VC runtime library file) and I am getting...more >>

.NET 1.1 and 2.0 interface binary compatibility
Posted by hatch at 11/19/2007 1:23:25 AM
Hi, i have an issue with .NET 2.0 compiler, that generates different interface assemblies than .NET 1.1 compiler. And this causes applications (compiled against 1.1 interfaces) to throw System.MissingMethodException. Recompiling application (no changes made) with 2.0 interfaces solves the pro...more >>

Very slow debugging and breakpoints.
Posted by Michael Jackson at 11/18/2007 9:35:35 PM
I've come over to .NET 2.0 recently from 1.1 and I now find that setting a breakpoint in code and running in debug mode is extremely slow. So slow it's unusable as a debugging tool. Any suggestions? Settings? Michael ...more >>

SMTP Connection failure....
Posted by WAFDOF at 11/18/2007 9:16:00 PM
I was wondering if someone could point me to the correct Forum for an issue I am having with Windows Server 2003 SMTP connection failure. I have a small application written in ASP.net that takes user input and then sends the input via Email using system.net.mail. When the user clicks the s...more >>

Detect if app was started from VS
Posted by bz at 11/17/2007 12:55:45 PM
Hi, I need to detect if the winform application was started from within VS 2005 Is it possible? Thanks...more >>

Outlook Express Profile is Corrupted
Posted by stuart at 11/17/2007 7:12:00 AM
My outlook express was working fine until last week. Now it receives messages, but will not send anything. There are 6 messages in my outbox, and when I click on outbox, the computer freezes. I am told I by Embarq help desk that my outlook express profile is corrupted. How do I fix this?...more >>

How to find the dimensions of .jpg image?
Posted by Andrew at 11/16/2007 12:46:01 PM
How to find the dimensions (width & height) of a .jpg file in c#.net? Thanks....more >>

Troubles with configuration files for application with several several dll
Posted by bz at 11/16/2007 7:10:43 AM
Hi, I have an application that consists in one main exe and several dll's (BL, DAL, Util, etc) Each dll project has its own settings (in Properties\Settings.settings file). When I build the solution, in the bin folder of each project it VS generates the mylib.dll and mylib.dll.config files ...more >>

Trying to separate "base classes" into a separate "baseclasses.cs" from "baseclass.xsd"
Posted by Marc Scheuner at 11/16/2007 7:07:16 AM
Folks, I have three WCF services that I need to implement - they're all nicely defined using WSDL and XSD. Common helper and utility classes that all services use have been extracted into a "baseclass.xsd" file, which gets imported into each serviceA.xsd, serviceB.xsd etc. - these classes are...more >>

Determine the closest numbers to a specified number
Posted by Mike at 11/15/2007 8:28:01 PM
Hi. I have a datatable containing a column named 'Price'. The datatable is populated with records of varying prices ($1 - $50,000). How can I select one record from this datatable, and then determine the 5 rows that are closest to this record's 'Price' value? For example - Let's say the ...more >>

which .NET to install with VS 2005 pro
Posted by Daniel Brower at 11/15/2007 8:18:21 PM
I am planning on installing Visual Studio 2005 Professional on Windows XP SP2. The XP machine has all the updates and it has .NET framework 2.0 installed. It does not have the other .NET framework versions. Do I need to install .NET framework 1.0 or 3.0? Daniel ...more >>

A wish: Execute under Lock method in sync objects
Posted by valentin tihomirov at 11/15/2007 2:49:49 PM
It is quite convenient to use the basic primitive: lock(object) { method(); } On the other hand, rwLock.AcquireReaderLock(-1); try { // unlock finally method(); } finally { rwLock.ReleaseReaderLock(); } is much less cosy but is typical scenario, I belei...more >>

WCF / MSMQ - Multiple Client Queues
Posted by Demetri at 11/15/2007 2:12:19 PM
So, how would one define multiple client queues? In other words, this is how you declare a single client queue.... <client> <endpoint name="ClientResponseEndpoint" address="msmq.formatname:DIRECT=OS:.\private$\demoClient" binding="msmqIntegrationBi...more >>

.net 2.0 listview last column width
Posted by Sid Price at 11/15/2007 10:30:27 AM
I have searched the web and have not been able to find a simple solution to maintaining the last column of a listview so that it fills the remaining form/panel width. Anyone have any pointers? Thanks, Sid. ...more >>

OleDbCommandBuilder - Data type mismatch in criteria expression
Posted by mik at 11/15/2007 10:01:31 AM
Hi, i'm using an OleDbCommandBuilder to update data from a dataset to a access database. It work fine, but if i use a table with a decimal column data type, i get this error, when performing the update Data type mismatch in criteria expression i've understood that the error is due to the co...more >>


DevelopmentNow Blog