Answer Questions
JCtfs an enhancement to TFS
hi, having used Perforce in the past i found it rather weird that the tree containing folders also contained the files in the DB. it wasn't until i began to really use it that i found the beauty of it. by selecting a file in the tree this left the right hand pane free to display all sorts of information about the file. for me, the most useful was to view the history of a file with a single click. it would be really nice to have that feature here in TFS. with a little work, it could even display the contents of the file with the appropriate viewer integrated into the right hand pane. imagine viewing an image (think tool bar buttons, splash screens...) that has changed across time in a scrollable list, right there at your finger tips. i kno ...Show All
Vladimir_Kost VB 2005 Express Tutorial Files
Howdy, I bought the MSPress Build a Program Now! book for the tutorial, but didn't install Express. In the interim, I found myself installing the complete Visual Studio 2005. I've managed to get through the tutorials until Chapter 6 of the book which refers to files from the CD. I can find no way to get those files installed without installing the Express Edition. So, I did that, but the files did not follow along. How can I get the files I think this should be the samples source http://www.microsoft.com/mspress/companion/0-7356-2213-2/ ...Show All
Darko01 try this!
I need to detect any keyboard key pressed and then process the code; if I use this I can detect only a part of keys. How can I detect also all other keys Private Sub Form1_KeyPress(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyPressEventArgs) Handles Me.KeyPress ..... .... End sub This Sub is called if I press "k" key, but not F1, F2, .., Pag Up, Tab, Enter keys... fine i am happy i was trying to for this only for a lot of time thanks Jessica posted a blog entry a while back describing how keyboard events are handled in windows forms: http://blogs.msdn.com/jfoscoding/archive/2005/01/24/359334.aspx Best regards, Johan Stenberg Private Sub txtC ...Show All
Fari Recording MP3 FIles
Hi, I am making an audio recording program and i am wanting to know if it is possible to record audio from a selectable source (Microphone or Line In) and save it to a file in a user selected directory. I have a dropdown box with the items: 'Line In' and 'Microphone' and named 'inputselect'. A textbox for the folder to save to named 'tbsavedir' . Another text box for the file name called 'tbfname' . And finally two buttons named 'recstart' and 'recstop' for starting and stopping the recording. Any help would be great. not really :-) Everything is in there, docs, samples and the SDK. Try downloading it bit by bit using a download manager or perhaps go to an internet cafe and download it from there 200 MB....... I cant ...Show All
Andrew J Team Build - Build Passes on Developer Machines and Fails on Build Server
When our developers build the solution on their workstations the build completes just fine. However, when a build is performed on the build server there are errors. This typically involves places where attributes are added to methods. The type that is being passed as a parameter is part of the same solution and the project has a valid reference. All project references are standard copy local=false and nothing needs to be installed to the GAC. [XmlArrayItem(Type = typeof(TypeSerializer))] public List < Type > JournaledTypes Debug.txt from Build Server (None of these errors occur on the developer machines) Solution: Sodexho.sln, Project: SetupHelper.csproj, Compilation errors and warnings Setup ...Show All
snegidhan non-solution items and GetLatestVersion from Visual Studio Source Explorer
Hello. We had migrated from Vault version control system to Team Foundation. In the solution folder tree there is ExternalAssemblies folder where we put all non-system assemblies that were used in the development. I'd added this items to the Source Control, but this folder is synchronized only when Get Latest version is performed from Source Control Windows. When I run Get Latest Version from Solution Explorer it ignores all files that are not referenced from solution. Help me please, how could I tune Team Foundation Visual Studio plugin to let me get all files from server I'd added those files to Solution Items but that had not help :( Hello Matthew It seems that all works fine after several attempts. I was wonder bec ...Show All
NeederOfVBHelp Remove branch
Is there any way to remove branch I know that it is just a folder and I can delete it. I even agree that it is not a problem that the folder will be always here in "show deleted items" mode. I get rid of unneeded branches in BRANCHES PROPERY WINDOW. Even if i rename a branch to something like "ZZZ.deleted....", that list is not sorted. And that ZZZ will be in middle of list. How to hide deleted/uneeded braches from BRAHCNES list Is there UNBRANCH command or workaround Do we really live in XXI century If you really need it gone, you can try the new Orcas CTP which has a 'destroy' command. Hello, You can deny read permissions on deleted ...Show All
McGatz MFC, how to format decimal value, pls help
Before Pass value to format = 23.8 S.Format("%c%d.%d%%",pTick->chg_pct>=0 '+':'-',abs(pTick->chg_pct/1),abs(pTick->chg_pct%100)); After format, get the value = +23.3% instead of +23.8%, after decimal value wrong Step1. pTick->chg_pct , It already holding decimal value Step2. In the above format, + or – value decision taken care (“pTick->chg_pct>=0 '+':'-'”) I can’t get the correct decimal value please help You should be getting +23.23%, can you confirm that yes u r correct. my result value is 23.23 StephenMas wrote: Before Pass value to format = 23.8 S.Format("%c%d.%d%%",pTick->chg_pct>=0 '+':'-',abs(pTick-&g ...Show All
arkiboys System.NullReferenceException : Object reference not set to an instance of an object.
Hello. I am using the TestDriven.NET add-in in Visual Studio 2005 and only have a problem testing my database methods, but not my business methods. I have a database class inside a class library that contains all static methods, but yet I am getting an error for not creating an instance of an object. My tests are in a separate project. Here is the output when trying to run a test on a static DB method: TestCase 'TestFTPProjects.FTPTestCode.TestDistinctMIO' failed: System.TypeInitializationException : The type initializer for 'ACHDBLayer.ACHDBComponents' threw an exception. ----> System.NullReferenceException : Object reference not set to an instance of an object. at ACHDBLayer.ACHDBComponents.getDistinctMIO() C:\FTP\IC ...Show All
brokenrulz Import rolemembers
I just imported a database into a Database project. Directly after importing I did a compare with the same database. One would expect this would result in no differences, but there were some. The difference is that for roles which have a role member, this role member is not imported. When comparing schema's, the following code is shown in the target object pane (database) while the bold part is missing from the source object pane (project). CREATE ROLE [aspnet_Membership_BasicAccess] AUTHORIZATION [dbo] GO EXEC sp_addrolemember N 'aspnet_Membership_BasicAccess' , N 'aspnet_Membership_FullAccess' GO If I do a update, the role members are dropped. This is not what I want. In trying to fix this, I added ...Show All
Ovidiu Padurean slideshow
how can I alter this code so it displays a different image every minute.....like slideshow thanks PictureBox1.Image = Image.FromFile _ (System.Environment.GetFolderPath _ (System.Environment.SpecialFolder.Personal) _ & "\Shell2.jpg" ) yes I just done what u said.... but how do i get it to show..... PictureBox1.Image.Save()........ wont work Dim path As String = "c:\documents and settings\noel\my documents\my pictures\" PictureBox1.ImageLocation = path I am getting there........but not quite Ooooh. I know..... I left a line of that was up top. As a member variable you need to add.... Private rnd as new Random up at ...Show All
Stewart Engelman Starter Kit Amazon-enabled Movie Collection
I have installed this kit and when I use the search feature to find a movie and try to add it to my collection more often than not I get the message " "There was a problem adding this DVD to the collection. " I can't figure out why it sometimes allows the movie to be added and sometimes not. Any ideas would be appreciated. Peter Taslimi, This question is answered before by Lisa Feigenbaum, the VB Program Manager. Please take a look at this: Glad to hear that you are using the Movie Collection starter kit. I’m sorry that you are experiencing this problem. I've listed some instructions below to get your app up and running again, so that you can get back to building up your collect ...Show All
AndersBank Enumerate TFS Areas using ICommonStructureService interface?
How can I programatically list the feature areas from "Areas and Iterations" in TFS I am led to believe that this may be accomplished with the common services structure service, using the GetNodesXML(string uri), however I'm at a loss guessing what to pass for a uri. Thank you. p.s. I've tried passing the project uri vstfs:///Classification/TeamProject/09b66296-8c33-4aa7-9a8e-3e6acc2dce8f but that results in an "Malformed Artifact" ArgumentException. I've also tried without the vstsfs:// protocol, and I've tried giving it just \MyProjectName and /MyProjectName, and many variations therein... Here is some sample code that might help. Here is a rough sample to get root area/i ...Show All
Ryan Barnard KB919156 Installation Problems
I'm trying to install KB919156 so I can install SP1 on my Team Foundation Server, when I kick the install of I get the following error message: "Windows Sharepoint Services is not using the designated Team Foundation Server configuration database (STS_Config_TFS). To proceed, you must exit setup and uninstall Windoes SharePoint services. Then reinstall Windows SharePoint Services in accordance with the Team Foundation Installation Guide, and run setup again" Anyone see this before - can't find anything in the forums with the exact same error message. Thanks in advance. Excellent - that was exactly the problem. Thanks! I had the same problem. Fo ...Show All
lbeham Add application-tier to an exisinting Database-tier
Hi I have an existing TFS using two servers. one with SQL used and database tier and another one for application tier. My question is: How can I install the application tier on the server with the existing database tier (I want to later configure it as a warm standby). Installation won't go because it recognises the installed database tier. I do not want to uninstall the database and reinstall them both (db and app). thanks In the installation guide you have instructions for it, under the Dual server installation optios you have another section for continuos server avaliability, chec out this two sections: Checklist: Standby Application-Tier Configuration How to: Configure an Applicatio ...Show All
