Answer Questions
agentf1 Team Build Sources Directory
Is there any way to make a build type (team build) use a common directory for it's references rather than it get the latest source code on every referenced solution when building one solution It sounds like you have your workspace mappings set at the Team Project level. If you haven't updated your WorkspaceMappings.xml file fromthe default create by the Team Build Wizard, you will always be getting all of the source code in your Team Project on each build. Check out this blog posting to see how to cloak subfolders and cut down onthe files sync'd during each build. - Steve Thanks Steve. That was the issue, I was simply unaware of how that workspaces worked with TeamBuild. ...Show All
Zulbaric Browser waiting
I'm trying to put together a relatively simple script for a webbrowser game that provides a service in-game by interacting with the site and doing some stuff with the material within it. I have gotten around most of the problems of how to make it work, but there's one thing that I don't know how to do properly: making the script wait for the browser. In short: I'd need some way of making the script check that the browser has finished downloading the page before attempting to do anything else. Here's a snippet of what I currently have: Public Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) _ Handles MyBase .Load WebBrowser1.Navigate( "http://www.WEBSITE.com" ) End Sub ...Show All
say_2000 Roll back to a file version / Delete an unwanted checked in.
Hi After checked in some files to TFS, I am lookin at one file history and would like to roll back to one of them, I was looking for 2-3 options: 1. Delete the unwanted revision and in this method rooling back to previous revision. 2. Merge from history revision to top of trunk and getting back a version from history to top of trunk (with full tracking - the best way in my opinion) 3. Rool back to a revision - move the selected revision to the top of trunk or any other solution. What are TFS options to do that Thanks, G'day, From the options you have specified: 1. It is not possible to remove revision from history in TFS 2. I do not quite understand what you mean by merging within file history; history is not a subject to ...Show All
lwfoon Loop Sql, display data
I had the flowwing code, trying to dsiplay all the email to this format ( "Test@testing.com, Test2@testing.com,etc ) in a textbox How do i do that Using EmailConn As New SqlConnection Using EmailCmd As New SqlCommand( "SELECT Email FROM Participants WHERE (SchoolName = @Email)" ) Dim Email As String = EventCmb.SelectedItem.ToString() EmailConn.ConnectionString = "Data Source=.\SQLEXPRESS;AttachDbFilename='C:\Documents and Settings\HP\My Documents\Visual Studio 2005\WebSites\FYP2\App_Data\Event.mdf';Integrated Security=True;Connect Timeout=30;User Instance=True" Try EmailConn.Open() Using rdr As SqlDataReader = EmailCmd.ExecuteReader() While rdr.Read() EmailCm ...Show All
Andrew Mercer "TF53010: An unexpected condition has occurred in a Team Foundation component." during warehouse processing.
Hi all, Since last friday the warehouse will not longer process and as result of that most of the reports are frozen or show data that is out of date. In the eventlog there are always 2 error messages on the time the warehouse should be processed: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. ... Detailed Message: Create OLAP failed Exception Message: The following system error occurred: No mapping between account names and security IDs was done. . (type OperationException) followed by: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should ...Show All
Marcosm64 Why does Rollback require copying all source files locally?
Hello, I had to rollback a few incorrectly checked-in changesets, and I discovered that in order to do this I had to fetch the whole version control repository locally. I.e. all branches for all projects had to be copied on my machine before I could run a rollback. Is this necessary Why Think of a large source repository for a company with hundreds of developers. Second issue was that it was not possible to rollback several changesets at a time. And sometimes this is what is needed (several "wrong" check-ins in a row). Isn't it a good idea to support "composite" rollback, i.e. rollback that works on a multiple changesets Vagif Hello, I understand you are using PowerTool tfpt rollback. Tfpt rollback requires your workspa ...Show All
haha_ji Ugh....Driving Me nuts....
I am in the middle of writing a prog that takes a file within a directory on a HD renames it to the directories name and then places the newly named file on the root of that HD. Here is the code. and I am not getting it.....I would really appreciate your help. Thanks Imports System Imports System.io Imports System.IO.DirectoryInfo Public Class Form1 Private Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim dlg As New FolderBrowserDialog Dim FileNamesSelected() As String Dim SelectedFolder As String 'Dim FileFound As String SelectedFolder = Me .FolderBrowserDialog1.SelectedPath FileNamesSelected = System ...Show All
dgburton link problem
Hi I have just installed visual c++ .net 2003 and I am using the binaries of allegro (game programming library) and allegrofont (to use ttf fonts with allegro) this is a new instalation because my windows crashed and I had to everything again. Well, on my last instalation I had no problem at all when I compile and link those programs, but now I got the message below: Linking... LINK : fatal error LNK1173: unable to find entrypoint 'DllGetObjHandler' in C:\Arquivos de programas\Microsoft Visual Studio .NET 2003\Vc7\bin\c2.dll I have just found three links in the internet about this subject and I would like to know if there is something I can do before proceding a new instalation. Thank’s a lot Sergio Andrade ...Show All
Mark J. coding help
Public Class Form1 Dim ans As String Public Sub Form1_Load( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase .Load 'whatever is in here will be executed when you start the program' End Sub Public Sub Button1_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click 'whatever is in here will be executed when you press the button 1' test() 'this gives me "test is type and cannot be used as expression" ans = InputBox( " thats it" ) End Sub Public Sub Button2_Click( ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click End Sub End Cla ...Show All
Ryan G TFS for build team project which uses a solution in other team project
If I have two team projects. TP1 and TP2. TP1 has Solution a It is used in TP2. When i build TP2 as Team build, it fails. The problem is said to be the file xxx.csproj was not found. why how can i solve this problem Please help me!! thank you What is use of TFS Continouse Integration The reason is that solution A, being in TP1, is not mapped in the workspace that's used to build TP2. There's a workaround for spanning team projects, but it's not pretty. See http://blogs.msdn.com/manishagarwal/archive/2005/12/22/506635.aspx for details. Continuous integration is used to kick off builds whenever a change is checked in. Buck ...Show All
Paul Yau If lost my forms!
I have lost all of my forms in my program i can now only code, i need to be able to see them this all happened when i had to restart and load the pproject up agian now i cant find design veiwe again help any one sorry for spelling im in a rush they are totally gone i only have the code. Why you say you lost all your forms - forms are just a collection of files - do they still exist on the machine - if so then add and they are not in the project then add the files back to the project. If they are not on the machine - normally in the project folder then you probably out of luck - and should restore them from a backup. Also remember that the files in ...Show All
SR20 Adobe Reader ActiveX control question
I am using the Adobe ActiveX control on my form to display PDF files in my app. It is working just fine. However, if a PDF file has bookmarks in it, the bookmarks tab of the control opens up. Is there a way to set this so that it doesn't open by default or a way to programatically close it Thanks for any help... Yeah, I was afraid you were going to ask that. Argghh. Values are "just pages", "pages and thumbs" and "pages and bookmarks" according to the section titled "document" in "Apple event objects" chapter. Apple programmers don't use numbers apparently, try 1, 2 and 3... Do you happen to know what the parameters are for this method T ...Show All
PareshGheewala What is left out for Express Edition (C# Express vs. C# Professional)
Besides the Object Designer, what does C# Express lack that the Standard or Professional version has Thanx Here is the VS 2005 product features overview : http://msdn2.microsoft.com/en-us/vstudio/aa700921.aspx Hope it helps. ...Show All
Bravo2007 Unit Testing
We have set up a unit test against one of the procs in our project. We've done this by following the steps in this link: http://msdn.microsoft.com/vstudio/teamsystem/dbpro/ ( Creating a Test Project and a Database Unit Test.) We can get the test to fail by supplying invalid values to update a table. However when the proc is successful (returning 0) the test comes back with Assert.Inconclusive. I've listed our proc below. Do you know why we're not getting a pass -- db unit test for dbo.Procedure1 DECLARE @RC Int , @param1 Int , @param2 char (4), @param3 varchar (50) SET @RC = 0 SET @param1 = 1 SET @param2 = 'char' SET @param3 = 'Test key' BEGIN TRAN EXEC @RC = [dbo].[Proced ...Show All
project2n5e0o1 spellchecker?
I want to make a spellchecker for a program of mine. I did a search of the forums and found some code. I slightly edited it to match my individual use and apparently did something to it to make it not work. because it ended up throwing the exception and I KNOW I have MS Word. This is the code I used: Function spellcheck( ByVal text2check As System.Windows.Forms.RichTextBox) If text2check.Text.Length > 0 Then Try text2check.SelectAll() ' Copy everything from the richtextbox to clipboard text2check.Copy() ' Make a Word server object. Dim word_server As New Word.Application ' Hide the server. word_server.Visible = False ' Make a Word Document. ...Show All
