Answer Questions
Jonas Røineslien Is XP SP2 mandatory to run a .NET Framework 2.0 app?
Hello, I noticed that when I tried to install .NET Framework 2.0 Beta , Win XP SP2 should be installed in order to continue! Will it be also required on the final release of the .NET Framework 2.0 Thanks. No. .NET 2.0 does NOT require SP2 to be installed on Windows XP. Only Visual Studio 2005 has this requirement. Thanks but I am talking about the apps developped under .NET Framework, not VS.NET 2005! ...Show All
Dave Auld SSL/TLS exception when using HttpWebRequest with client certificate
Hi, I wrote following code to call a aspx page in code (from another aspx page): HttpWebRequest httprq = ( HttpWebRequest ) HttpWebRequest .Create(uri); string certificateName = "SoapProxy2" ; X509Store store = new X509Store ( StoreName .My, StoreLocation .CurrentUser); store.Open( OpenFlags .ReadOnly); X509Certificate2Collection certificates = store.Certificates.Find( X509FindType .FindBySubjectName, certi ...Show All
Jianfeng Yin GDI+ Exif problem
am having a problem with saving exif data in the code below only some of the exif data is saved in the new file created from bitmap b. After the foreach if I set a breakpoint and inspect the bitmap b all looks well but after the save most of the exif info is missing from the file date time and camera model are all present and correct but focal length apature etc are missing. An example image with all the exif data present can be fo ...Show All
Sergei Labur Language Packs for .Net Framework 2.0?
Is there a timeframe for the language packs for .Net Framework 2.0 Especially the German one. Thanks. Yes, it will be available at least in February 2006. However I read elsewhere that some language packs will be released in December 2005 (I forgot the source for that info). Is there an official statement from Microsoft The German version of Visual Studio is scheduled fo ...Show All
Michael Chan Can I build a chat server/client app with .NET remoting?
Hi, I want to build a chat application where clients with windows app clients can chat. Nothing very fancy like MS Messenger, just plain simple chat. Can I do this with remoting or I have to go to sockets (notvery familiar) The part that I have trouble understanding is how the server informs the clients when someone sends a message to A, B and C cilents. Is the clients have an open connection with the server or is polling Thanks in advanc ...Show All
DerekM SqlBulkCopy and Deleted Rows
I think I've found a bug in SqlBulkCopy. the help for SqlBulkCopy.WriteToServer say: All rows in the DataTable are copied to the destination table except those that have been deleted. but using it with a DataTable with deleted rows throw this exception: System.Data.DeletedRowInaccessibleException occurred Message="Deleted row information cannot be accessed through the row." Source="System.Data" StackTrace: &nbs ...Show All
LANewman Possible to pass System.Type and then cast an Object?
Im trying to do something like this: public class isthispossible() { Inventory someClass = new Inventory; Type someClassType = someClass.GetType(); someMethod(someClassType); } public someMethod(Type ClassType) { Object someObject = new Object(); someObject = (ClassType)someObject; } I want to pass a System.Type and then cast an object to that type, using that System.Type I passed. Is t ...Show All
Vapor System.IO.Compression not as good as compressed folder
I'm getting much better compression when I make a compressed folder (Windows XP) than I am using DeflateStream or GZipStream. I thought these were the same algorithms used in PKZIP and for compressing folders. Why such bad compression DeflateStream: 3544Kb -> 1261Kb GZipStream: 3544Kb -> 1261Kb Windows XP: 3544Kb -> 804Kb So how can I get the same compression ratio as Windows XP Thanks, Jeremy ...Show All
Alberto Bietti WSE question
Hi, I was using test certificate with WSE 3.0. Since test certificate was signed with Root Agency so I get warning dialog when I try to access web service from IE. My web service is hosted under IIS and I am using SSL( Using test certificate). Through code I can by pass this warning by using a class ServicePointManager. But if I have to use client certificate how can I tell the server to ignore this warning. (Client certificate for client aut ...Show All
raj2007 Why doesn't this work?
Create a console app, add an App.Config, add this element: <connectionStrings> <add name="test" connectionString="string in config" providerName="" /> </connectionStrings> // console app using System; using System.Configuration; // add reference namespace ConsoleApplication1 { class Program { static void Main( string[] args ) { ConnectionStringSettings css = ConfigurationManager.Connectio ...Show All
Yang. scripting in applications (c# .net2.0 vbs etc)
I am looking to include scripting support in my program. I have read alot on msdn and outside. There appear to be two (2) opttions: 1. Use the CodeDom namespace to compile a language vb c# etc to an assembly then run it. 2. Use the VSA namespace. This is for either JScript or VB. I'm not too worried about the script language. Would prefer c#, as thats what the prog is in. But VB is fine too. VSA looked like it might be dropped from ...Show All
Jeffrey Odell new to Web App - problem w/ IIS
Hi out there - - This is the message that comes up when I attempt to Open a new Project as a ASP. NET Web Application rather than a Windows Application: Visual Studio .NET has detected that the specified Web server is not running ASP.NET version 1.1. You will be unable to run ASP.NET Web applications or services. Looking in the 'About' area of Visual.NET I read that I have the: Microsoft Development Environment 2003 versio ...Show All
gajanand access permission probelms. HELP ME!!!
I have two computers, a desktop and a laptop, both running win xp home. Both are wirlessly enabled and connect wirelessly to the internet through a belkin router. The desktop will happily see the laptop and share files, and everything seems to work just fine. The laptop, however, refuses to see the desktop. I have shared all folders properly, both are part of the same workgroup, and I have run the network set up wizard, and tried to connec ...Show All
Landj68 Download a file from http
Hi, I have a question about how to download a file on the background from http using C# 2005 I tried the follwing code for example: using System; using System.Collections.Generic; using System.Text; using System.Net; namespace Web_Client_test { class Program { static void Main( string [] args) { string file = "tutorial.rar" ; Console .WriteLine( "Downloading file: {0}" , file); WebClient myClient = new WebC ...Show All
Dimitry The Undo operation encountered a context that is different...
This is not specific enough information for me to know what I did wrong and where. Does anyone have any insight to this It appears to have something to do with asynchronous socket I/O completion. System.Transactions Critical: 0 : <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Critical"> <TraceIdentifier>http://msdn.microsoft.com/TraceCodes/System/ActivityTracing/2004/07/Re ...Show All
