Answer Questions
joey001 Now that we've made a total mess of things... How to put it back again
It all started when we added three new assemblies and files to the solution. Not noticing the "Add Solution to Source Control" in the massive solution explorer context menu, we added the assemblies manually using Source Control Explorer Add Files / Add Folder. To our surprise it was as if these files were not in source control at all! You could edit them all day without checking them out. You had to check them out using source control explorer or nothing, and they did not show locked in solution explorer. They do show up in the check in window. So we tried to create an entirely new project by adding the existing solution to source control. This was an even worse idea. What we got was the new assemblies at one level in th ...Show All
Citrus Registering DLL
I am upgrading a VB6.0 program to .Net with Visual Basic 2005 Express Edition. The program runs on the computer I use for debugging etc. but when I try to move it to another computer it looks like the MSGrid DLL is not being registered on the new computer. I have been using Publish to create a setup.exe. Any suggestions Thanks The publishing capability included with VB Express (ClickOnce) does not have the ability to register activeX controls, in this case MSGrid. You will have to one of the following: Replace it with the much more capable built in .NET Framework controls (e.g. DataGridView) Have the installler of the published application register the control manually create you ...Show All
Rudgr Cant open project
Im just a beginner in vb, and I dont know why when I try to open my project it does not work. It shows up in the left hand side of the start page but does not do anything, if i double click it or if i click the open link. either uninstall VBExpress completely, reboot, then re-install or go into control panel > add/remove programs and select VB Express and press the change/remove button then select to repair or re-install and follow the instructions Nothing happens whatsoever. http://img155.imageshack.us/img155/7471/untitledrw2.jpg Same thing happens. However it said something about it being a solution file. It worked before but ...Show All
aashta using tfs web service without MetaDataTableHaveEnrty value?
Hi there, Currently Im successfully updated my workitem using the TFS web service ( need to use web service because i need to change some fields value that can't be set using OM). But I still can't programmaticly get the RowVersion value for each TableName in the MetaDataTableHaveEntry ( so right now all the rowversion value is set to 0) What are the implication if i do not set this value (RowVersion) Or could someone teach/show me how to get all the RowVersion value, I able to get all the TableName from Microsoft.TeamFoundation.WorkItemTracking.Server.MetadataTable library. thanks in advance. As I said before the main reason Im using the web service, is because currently im writing a migration program ...Show All
goh6613 Merging Labels
I have a label that touches several files in two different changesets. I want to use that label for a merge. The VS IDE gives me an error message "No items match $<path> in the label myLabel@$/<path >". So then I figured this could only be handled with the command line merge. I tried this: tf merge /recursive /version:LmyLabel /preview /noprompt $<frompath> $<topath> And it gives me essentially the same error. If I ask TFS about the label "myLabel," it gives me a nice description of the files that are in it. Then I decided to try the command line merge using a changeset spec that is synonimous with that label (e.g. C305~C306). This worked. So is the final conclusion that TFS can't ...Show All
Fluxtah Data build
We have a need to move a lot of data build(sql scripts, sps and dmls) along with code builds. The general approach is from VS2005 application, through calling sql server comand line(isqlw), we run the data builds and parallely run the NANT scripts for the code. We have decided to migrarte the software development process to TFS. We want to take advantage of the TFS build. Question is, so far, all the reading I have done suggests that TFS builds handle the code build. But does it offer anything out of the box for data builds also Again, by means of data builds, I essentially mean to be able to run various sql scripts in different data environments along with code builds. Also, if I have to run oracle scripts in the TFS build, how do I ...Show All
CWeeks UGH....Save Function
I am not getting why this is not working. I have tried to get this to work, TallDude has done a great deal to help me better understand this all. But I am still having trouble to get this to work. I want to understand how the NotePad FIle>Save works. I am thinking, as TallDude as suggested, that they use StreamReader/Writer. So in that thinking I am strying to get the File>Save Function to work. Here is the entire code: Imports System.IO Public Class Form1 Public FilePath As String = "" 'Open Option Private Sub mnuOpen_Click( ByVal sender As Object , _ ByVal e As System.EventArgs) Handles mnuOpen.Click Dim open1 As New OpenFileDialog 'display only text files ...Show All
axl Uninstall Questions
I'm going through the control panel, add or remove software tool, and the uninstallation has now crashed 2 completely different computers. It never finishes. Then when I come back and go to uninstall again, I receive nothing but errors. Any ideas Thanks in advance. /bump Anyone know the answer Sucks having two windows up that I'm unable to close because it won't uninstall. Is there some kind of dev or something that comes around and answers questions Took a bit to hunt this down. Try this: Start->Run-> msiexec.exe /x {AB6F4AB9-AC85-4002-9829-B6EEA55AE3A5} This will tell the installer to remove Visual C++ Express. Let me know how it turns out. ...Show All
Aliaa reading file's name
hi I am new to VB, I want to write a code that reads a file if its name contains a specific letter. For example if I have the files: ax2006.dat, ay2006.dat, az2006.dat, I want the code to read the file which has x as the second letter of the name. can anybody help cheers Haithem no worries. You could use that however if you need to get files which do begin with ax, then the solution i provided would be most effective :-) you can get a list of files with some filtering: Dim theFiles() as String = System.IO.Directory.GetFiles( Path , "ax*" ) this would get files which begin with ax and have anything else after it. Then you simply read the file you want from the array, "theFiles" - does ...Show All
stets Running TFS on Virtual Server
Hi, Has anyone tried installing TFS on Virtual Server If so is there anythign special i need to do we're going to be instaling so i'd like to know if there's anything else apart from what's published in setup docs. Dellendinho We have also installed TFS in a virtual environment. In our case, we use VMWare Infrastructure 3. I have separate VMs set up for for DT, AT, and Build server. This is all working very well, but keep in mind that the server that's hosting the VMs is a pretty beefy machine (though it is only dual processor) - lots of memory and a SAN for drives. Short answer - it works fine. Thanks man. Hi I have installed TFS on a virtual serve ...Show All
Thiago Tota combobox problem
Hi. I want to assign values from one column in database to combobox. My database has two columns. That's the code that I'm using: ComboBox1.DataSource = MaintenanceDatabaseDataSet.MachineTable.Machine_nameColumn However it generates error: Complex DataBinding accepts as a data source either an IList or an IListSource. what should I do His example was right in principal but wrong in practice. Instead of setting the DisplayMember and ValueMember properties to the columns themselves, set them to the name of the column(s) you want ala: comboBox1.DisplayMember = "CustomerName"; comboBox1.ValueMember = "CustomerID"; Hi, the problem is that you are trying ...Show All
Messs17 Response time goal on transactions?
Is it possible set a response time goal on a transaction, and see how many percent of the transactions that met this goal ( like you can do at a page level ). GAT There is no property for this on transactions. ...Show All
Ian Vink libcimtd.lib not found
I have managed to compile an earlier WTL based program built under VC6 to compile with Express but I have got the following linker errors. LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(char const *)" ( 0bad_cast@std@@QAE@PBD@Z) already defined in TestConfig.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: __thiscall std::bad_cast::bad_cast(class std::bad_cast const &)" ( 0bad_cast@std@@QAE@ABV01@@Z) already defined in TestConfig.obj LIBCMTD.lib(stdexcpt.obj) : error LNK2005: "public: virtual __thiscall std::bad_cast::~bad_cast(void)" ( 1bad_cast@std@@UAE@XZ) already defined in TestConfig.obj LINK : fatal error LNK1104: cannot open file 'libcim ...Show All
AWolf issue with TFS mail alert
hi , The mail alerts on my TFS server stopped working suddenly with this message Event Type: Warning Event Source: TFS Services Event Category: None Event ID: 6011 Date: 12/5/2006 Time: 1:02:25 PM User: N/A Computer: CTSINGVCSASF Description: TF53010: An unexpected condition has occurred in a Team Foundation component. The information contained here should be made available to your site administrative staff. Technical Information (for the administrative staff): Date (UTC): 12/5/2006 7:32:25 AM Machine: CTSINGVCSASF Application Domain: /LM/W3SVC/3/Root/services-2-128096762500808237 Assembly: Microsoft.TeamFoundation.Server, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a; v2.0.50727 Process Details: Process ...Show All
Jim Perry Copy .sql file for Team Build
According to the ReadMe for CTP6, the .sql file that I need to run does not get copied to the Drop Area. Am i supposed to create a sql directory as part of the TFSBuild.proj script and copy the file there It does not say where the the file is supposed to reside. "Find the . sql build file in the path that is specified in the project properties (usually relative to the database project folder) and copy it as needed." -paul The .sql build script is located in the sql directory in the project structure, but when i run the Team Build there is no sql directory or .sql build script in the build drop or release drop directories. This is the property group from the Database.proj file that is in source and gets pulled for th ...Show All
