Prem_Thomas's Q&A profile
Visual Studio Team System Delete files from local folder
Hi, We have the following problem: When Developer A deleting files in his local folder (which mapped to Workspace), and Developer B makes changes in the same folder and checked in the changes, Developer A is trying to Get Latest Version but get no files at all. The solution is to create a new workspace and then Get Latest, but it's makes us a lot of problems. Thanks, Michael This is expected behavior- Team Foundation Version control keeps track of what files you got from the server, and operates against changes since that point. To force a get of the missing files, you can "Get specific version" and ch ...Show All
Visual Studio Can ISVs integrate with the exception assistant?
For 3rd party class libraries it would be nice to be able to integrate with the exception assistant mechanism. Is this possible and if so, how do you go about doing it You want to provide tips/help topics for your Exception Type/APIs, right You can find the exception content file under ExceptionAssistantContent\[LCID] directory (it is called DefaultContent.xml). You can create your own content file just like this file, and put it in the same directory. Visual Studio will cache the content, so you might have to restart it to read your content. You can use either a real helpID or a HTTP link in a ...Show All
Visual Basic RegularExpressionValidator in ASP.net
I want syntax for RegularExpressionValidator in ASP.net. I mean what i will write in ValidationExpression so i will get some validation List of Expression I will write this than this expression will work some like that I use the book: http://www.amazon.com/gp/product/059600415X/102-3673649-0980951 v=glance&n=283155&n=507846&s=books&v=glance ...Show All
Visual Basic AcceptButton does not work when other button has focus
Good day! im a having a problem on my application.. the AcceptButton of my Form1 is Button1.. but according to msdn, " when the control with focus is another button.. the button with the focus will be clicked ".. is there other way that i can "click" Button1 using the Enter Key even if Button2 has the Focus Use this code ( Handles Button2.KeyUp ) : Private Sub Button_KeyUp( ByVal sender As Object , ByVal e System.Windows.Forms.KeyEventArgs) AsHandles Button2.KeyUp If e.KeyCode = 13 Then Call Button1_Click(sender, e) Button1.Focus() Exit Sub End If 'Put Button2 code ...Show All
SQL Server SMO & DMO FAQ
I have posted common questions on my blog. Take a look at the FAQ before posting questions in this forum. I will continue to add on answers for common questions as I go. I hope this helps finding answers faster! http://blogs.msdn.com/mwories/articles/smoindex.aspx Comments, let me know! Thanks, Michiel I am trying to maintain some backward compatibility with SQL DMO 80. I've installed SQL 2005, but cannot find the DMO libraries and include files I can link to to recompile the c++ program....any ideas... ...Show All
.NET Development UPGRADING
HI! I HAVE VISUAL STUDIO.NET 2002 INSTALLED ND BECAUSE OF THT I CANT OPEN THE PROJETS CREATED IN VS.NET 2003. IS THERE ANY UPDATE PATCH AVAILABLE USING WHICH I CAN OPEN THE SOLUTIONS DEVELOVED IN 2003 OR HIGHER VERSION IN VS.NET 2002 PLEASE HELP Hi, Read the following article: Converting Solutions from Visual Studio.NET 2003 to 2002 http://www.eggheadcafe.com/articles/20030425.asp Regards, Vikram ...Show All
Visual Studio Tools for Office "Reload" listobject after UnList()
Hello, I'm trying to make an excel application where the user binds a dataset to a listObject. Then I'm doing a UnList() on the listObject so the data looks like an traditional spreadsheet. Then I whant the user to be able to bind another dataset to the listObject, but this can not be done after running UnList(). How can I instansiate a new listObject, or how can I solve this matter Best Regards Carl Hi Carl, When you call Unlist on a ListObject, the control does not exist anymore as it just got converted to a range. In this scenario, you need to use VSTO's ability to dyn ...Show All
Visual C++ "Create Event Handler" not working?
I have a dialog with several controls. I right click any of these controls and click "Create Event Handler". The dialog appears and there is a list of classes to choose for the function to be put, but the left side has no list of events to handle. Everything is basically blank. Why is this not working Have you got any manually-hacked resource header or script files in the project Perhaps the add event handler dialog will only display a list of messages if it knows the underlying type of the resource given by the IDC_buttonname resource identifier. A way to verify this might be to go to resourc ...Show All
.NET Development .Net 2.0 Breaks .Net 1.1 TcpClient ReadTimeouts
I need to find a way to make the 2.0 TcpClient behave like the one in 1.1 I am doing the following: client.ReceiveTimeout = 5000; NetworkStream netStream = client.GetStream(); int byte = netStream.Read(); If the call to Read() fails, with a timeout, then I catch the exception - checking that the reason it failed was a timeout, and try the read again. On 1.1 The system waits 5 seconds, before getting a timeout again On 2.0 It throws an exception, with the error code WSWOULDBLOCK Why the change and how to I make 2.0 behave like 1.1 Thanks Simon Hi Malar, Following is the ...Show All
Visual C# SSE/SSE2 usage
Is it possible to use SSE/SSE2 instructions in C# without creating wrapper functions in MC++ ...Show All
Visual C# Loading form in main form
I'm trying to create an application that has a main screen and when i push a button i would like to load a new form into the main screen, without opening a new screen. Every new screen i open would have to open in the main screen. I tried using a panel and adding this new form into the panel but i get ==> Top-level control cannot be added to a control. Is there anyone who knows a solution to my problem Greetz U have to use MDI(Multiple Document Interface) wherein make your MainScreen as the Parent and every other form that you want to open within the MainScreen as a child of the parent. U have MDI ...Show All
Visual Studio Creating a new wizard
Is there a class that implement a wizard framework something where I don't need to handle all the "Next/Back" buttons but simply deal with the content of each page Thanks, Sami. Visual Studio will install a file named Microsoft.WizardFramework.dll. This DLL implements the code necessary to handle creating wizards, you just implement a .NET user control and it takes care of the rest for you. You can download a starter kit from http://www.craigscontenthost.com/ named "Visual Studio Wizard Framework Templates" that will create projects that provide the basics of using the framew ...Show All
.NET Development Try...Finally and performance
Hi! Are there any negative performance issues and diferences with the two alternatives below: Alt 1- With Catch PersonHandler myPersHandler; //Implements IDisposable..... try { //Some errorpotentiall code } catch(Exception ex) { //Do some logging } finally { if(myPersHandler != null) myPersHandler.Dispose(); myPersHandler = null; } /************************************************************/ Alt 2. - No Catch PersonHandler myPersHandler; //Implements IDisposable..... try { //Some errorpotentiall code } finally { if(myPersHandler != null) myPersHandler.Dispose(); myPersHandler = null; } ...Show All
Visual Basic Compiler Problems even though code is sound.
Hi, I'm having a strange problem with Visual Studio 2003 and I'm hoping someone can help. The problem is I'm getting compiler errors even though the code is fine. Here's an example.... This is code from a form I have... Public Class frmGasDiagram Dim udtGasDiagram As clsGasDiagram In some methods of the form I get errors saying the type udtGasDiagram cannot be used as it hasn't been defined, but it is. If I change the access modifier to public/private or whatever then the problem goes away and the program runs fine. Then after the application is closed and I'm back in the IDE the error appears again even though no ...Show All
.NET Development How to make a grid / table control / list
How do I create a spreadsheet looking table for different values without using datagrid or a database. ---------------------------------------------- | 1 | 2 | 3 | 4 | 5 | ---------------------------------------------- | | | | | ...Show All
