Omer van Kloeten's Q&A profile
Visual Studio Team System Missing TfsReportDS and TfsOlapReportDS
Some time ago I noticed that the Reports folder in Team Explorer had a red x in the lower right hand corner and would not expand to show reports. Since I was not really using them yet I just ignored this error. Today I tried to create a new project and received this error. Error TF30004: The New Team Project Wizard encountered an unexpected error while initializing the Microsoft.ProjectCreationWizard.Reporting plug-in. ...Show All
Visual Studio Express Editions Huge performance hit when using ifstream vs fopen()?
I was using VC++ EE, and compiled my program, and found that using ifstream for reading in big files (over 700MB) compared to doing the same thing, but using fopen()/fread() calls instead of streams resulted in massive improvement. These are the #'s I am getting: Using ifstreams : 29secs , 26.27 MB/sec Using fopen()/fread() :19.37 , 36.11MB/sec In both cases, I am reading in 32K at a time. Is this normal Are streams ...Show All
.NET Development appSettings, where do they save?
I have a windows forms application. (Visual Studio 2005) A simple form with a button on it. Here is the code private void btnTestButton_Click(object sender, EventArgs e) { ConfigurationManager.AppSettings["TestSetting"] = "TestValue"; string res = ConfigurationManager.AppSettings["TestSetting"]; MessageBox.Show(res); } I step through the program in debugging mode. The MessageBox shows ...Show All
.NET Development How can I extract a string from a string?
I have the following string string ConnectionString= "data source="MyLocalSQLServer" ;Initial Catalog=aspnetdb; ;Integrated Security=SSPI ;persist sercuity info=false ;UID=sa; ;PWD=asdasd; ;ProviderName="System.Data.SqlClient" what I need to do is extract all th ...Show All
.NET Development How to implement transactions using tableadapters?
The old dataadapter had a transaction object which you could assign to a .NET SQLtransaction. This made transaction handling very simple. What is the equivalent (or similar) method for handling transactions using tableadapters I'm using the table adapters generated by the data designer. dataadapter has no transaction property which can be assigned to a sqltransaction. You could use System.Transactions. ...Show All
Visual Studio Team System MsTest publish results
Hi, I'm trying to publish test results using the command line but I am getting an odd error telling me that it can't find the results file. If I try to publish the current test or publish and existing test results file I get the same error. Essentially the PublishTestResultsBuildService.asmx seems to be inserting a guid into my results path: If I use the command to publish the current run: "C:\Program Files\Microsoft Visual Stu ...Show All
Visual Basic are there any examples i can follow?
I have created a form in vb.net, where the user supplies thier name, thier email address, and thier comments. I want to create an email message and send the information the user supplies to me when the user clicks the submit button on the VB form. How do I do this, making the process as automated for the user as possible Are there examples somewhere that I can study i have specified the username/password but i ...Show All
.NET Development Access to a smartcard private key
Hi all, I'm trying to access a private key (X509 certificate) stored in a smartcard (Gemplus GemSAFE Card CSP), but i always get the same error: System.Security.Cryptography.CryptographicException: Hay mas datos disponibles. (In english, "More info is available") at System.Security.Cryptography.CryptographicException.ThrowCryptogaphicException(Int32 hr) at System.Security.Cryptography.Utils._GetKeyParameter(SafeKeyHandle hKey, UInt3 ...Show All
Visual Studio Express Editions Using a Splash Screen??
Hi can anyone shed some light on how the splash screen works or the best way to use it.. I want the screen to appear for a set time, then disappear after somany seconds and then display my first form. I've tried adding a sub procedure attached to form1 to call the splashscreen and then the form1 after so many seconds( using a timer variable.) I don't seem t be getting anywhere. Am I going about it the wrong way Any help would ...Show All
Visual C# Multiprocessor builds
I'm looking into buying new machines for my developers and was looking at the new dual core processors from Intel as an option to get faster compiles as compared to a "normal" single core processor. So my question is, does the C# compiler in VisualStudio 2005 take advantage of the dual execution cores or would I just be better off with a faster clocked P4 Thanks in advance for any info. Tom. Hi! ...Show All
Visual Studio Tools for Office Namespace URI URN - what shall I use?
Hi, I have just developed my first .NET application for Word with an action pane and everything works well. I have also deployed my solution to a test environment and it works well. Previously I have worked a lot with VBA and COM Addins for Office in VB6. Now I want to make smart templates and publish them on a network share for a company to use or on lap tops to use off line. Coding in VS2005 is no problem. But I do not understand how ...Show All
Visual C# 'Exclude Files From Project' - Beta 2
How do I 'Exclude Files From Project' in VS 2005 I have a solution that requires files to exists in the directory structure but not be compiled. Where has this functionality moved to Also, what happened to the 'Show All Files' option Regards, I am having the same problem with the same tools. please let me know if you find a work around ...Show All
Visual Basic Web Service setup help needed
Hi all, I'm in the process of learning how to create and consume web services. I understand how to create the service and how to access the service from vb.net but what I don't know is how to set something up that my web service runs on. I don't have a website to publish the service on so I've briefly looked into ways to set up some kind of desktop emulation or host service that I can use. I've seen references to IIS running on the desktop ...Show All
Visual Studio Team System web projects, .net 1.1 and TFS?
we are looking to migrate to TFS. I have been tasked w/ getting this whole thing up and running. Our cash cow product is a (set of) web application(s). We are unable to migrate this product to 2.0 so I'm looking to see what there is in the way of custom integration for this piece. I can see using the TFS:SCM for normal .net 1.1 projects hosted inside TFS, but because someone thought it would be a great idea to totally change projects in 2. ...Show All
.NET Development Best way closing datareader
He there, I hope someone can help me. I am having problems with the data reader. When an error occurs the datareader does not close eventhough i have this code in my error handling. Catch(Exception err){ dr.Close(); } is there any way to close the reader even when an error occurs Mail me @ vangelier@duoflex.nl Thanks guys! When dealing with disposable objects you really need to have good c ...Show All
