Answer Questions
Ruurd Boeke Issues using the keydown event
I am new to visual basic 2005 Express Edition (I learned in Visual Basic 6.0). I have been creating a tetris game for fun to learn the new modifications on the visual basic language. I have run into a problem concerning how to use the key down event to register when the user presses an arrow key. I used the help function and came up with this: Private Sub frmTetris_KeyDown( ByVal sender As Object , ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me .KeyDown Select Case e.KeyCode Case keys.right etc etc. End Case End Sub (I left code out) I cannot get it to respond to my keystrokes, and i cannot figure out why. At one point it did respond, but i corrected an error in my ...Show All
Jade Skaggs Locking a Label
Hi, I'm searching for the best way to lock a certain label. I would like to realize a code freeze with TFVC. What I mean is that at a certain point of time no one besides the administrators of TFVC can move, delete or set a certain label. On our ClearCase system this is done right at code freeze during a stabilization phase when no one should be able to add any changes to the code marked with the night build label. While no changes are submitted errors can be solved and the version can be stabilized. As soon as the version is stabile the label is free again and can be used again. I hope this draws the picture of what I'm looking for good enough. Pls let me know if not. Tom Hi Tom: Team Foundation Server by def ...Show All
dga Repro steps for: Context menu for work item returns "Index was outside the bounds" error
Hi, In one of my team project, the "Add Work Item" menu item is giving me an error; it expands to " Error loading menu: Index was outside the bounds of the array " instead to a list of work item types. Anybody have any idea what might be causing this error Or where to get more information on this error Here are some additional information that might be useful: It is only happening in this one team project. Other team project are working properly This team project had been deleted and "recreated" (i.e. create with same project name). The original team project was using the MSF Agile template and the new one uses the MSF CMMI template. Nobody else in this team project is having this problem ...Show All
Al33327 URL for the 50 standard TFS reports
Hi - Can someone please point me to a link that shows and documents the 50 standard TFS reports I like to see what reports come out-of-the box. Thanks, Tim There is an overview of several reports in the Process Guidance. From VS: In Team Explorer expand your project -> expand Documents -> Expand Process Guidance -> Open ProcessGuidance.html Select Index from the tabs at the top of the page. Select Reports from the menu on the left. For an Agile project this will describe the following reports: Actual Quality versus Planned Velocity Unplanned Work Velocity Bug Rates Bugs by Priority Reactivations Quality Indicators Remaining Work Hopefully this can get you started. ...Show All
Residual Logic Games Nightly build problem
Hi, I have setup my Team Foundation Server to run nightly build. My application uses (CAB - Composite UI Application block). I try to setup the CAB Unit Test with my nightly build, but everytime it failed with following error messagae: Run has the following issue(s): C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\TeamBuild\Microsoft.TeamFoundation.Build.targets : warning : One of the background threads threw exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. Specify the ServiceNotification or DefaultDesktopOnly style to display a notification from a service application. C:\Program Files\MSBuild\Microsoft\Vi ...Show All
renyx Creating a media player.
hello, i am completely new to Visual C#, and i am wondering how to play music. i am mainly trying to make a media player with a web browser, but i am extremely confused on how to do this. i have googled this subject many times over with no luck. i dont know, maybe i am missing somthing. any help would be nice. i just got into C# about 4 days ago. go easy. :) MartinDev wrote: one more question... is there anyway to do this without the WMD component I think u can also use Real Player component . not unless it has some interop/SDK/API you can use. But I think the user meant if there is another way to use it without having to embed a player component in th ...Show All
NJCoughlan Will it be possible to open a DB project created in CTP5 Refresh in CTP6?
All in the subject. Thanks Jamie Thank you for the reply Dmitriy. -Jamie Just a follow-up question: if I have a CTP5 project linked to Sourcesafe, is there anyway to reattach a CTP6 project I've tried the method of creating a new CTP6 project with the same name and then linking it to Sourcesafe but it creates a new project. Anyone had any luck No, it will not work. As a workaround, you may want to deploy your project with CTP5 , and then Import it into a new CTP6 project. ...Show All
jackwc Must be non-negative and less than the size of the collection
I keep getting the same error message when i start debugging. This recently started and I don't know why because i didn't change anything yet today. I could attempt to fix the problem myself but I the error message I get does not tell me where in the code the error is Does it It builds fine but freezes on the splash screen. - Thanks System.InvalidOperationException was unhandled Message="An error occurred creating the form. See Exception.InnerException for details. The error is: Index was out of range. Must be non-negative and less than the size of the collection.\r\nParameter name: index" even if I use a catch try on the whole form load the error still comes up. It's right as the splash s ...Show All
dczraptor BINDING NAVIGATOR QUESTION
I have a binding navigator control asocciate with a data source, the same wiht textbox controls or combo boxes. In ejecution time, when I press in the binding navigator the button to add a new register, all the boxes or combo boxes binding with the data source change to empty that It allow me insert a new row. But I dont know how can I do if I want that some textboxes have a predetermined string. For example, I generate a code field of a table with some vars, and I want when I add a new register that the text box isnt empty, otherwise it has the code that I generate with a external values. Thanks for help In the navigators Newbutton click event set the textboxes progmatically to your default values ...Show All
Aaron Oneal Registering
I was not sent the registration key for Visual Studio Express Edition. Is it possible for one to be sent to my email address The registration key will not be sent to you. You will get it on the page you get to after selecting Help->Register product and signing in. If you missed to copy it from that page you can just choose to register the product again. If you installed from the CD image you will not get a registration key and can continue using the express edition after 30 days. It might nag you to register a few days but you can just ignore it. ...Show All
DMAR330 Finding tutorial for VS Developer news...
Where can I find whats new for a developer that have the Developer edition of VS 2005 I need tutorials, videos, books... All tips are welcomed! Hi, Check out this site http://www.learnvisualstudio.net/ Regards Arvind T N Here are some more places you can look: Online tutorials: http://www.vstsrocks.com Books: http://msdn.microsoft.com/vstudio/teamsystem/reference/books/ Training Resources http://msdn.microsoft.com/vstudio/teamsystem/expand/content/default.aspx ContentType=All&TrainingLevel=All&Role=Software%20Developer And of course these forums for specific questions. Hope that helps! Eric Jarvi http://blogs.msdn.com/ejarvi ...Show All
barkingdog DHTML controls
how do i get the copy, cut and paste controls to work with the DHTML box We can help you with that and have you editing HTML in as little as ten lines of code........ add a menustrip to code form and add File Open mnuOpen Save mnuSave Close mnuClose Exit mnuExit ** note, these case sensitive names. Be sure to ...Show All
javasource ie toolbar
code for add toolbar to ie hi, you have to use COM interop to do so this article has nice tutorial , you have also to read the discussion below the article http://www.codeproject.com/csharp/BandObjects20.asp hope this helps Hi toky64, Would you like to expand a little on what you are trying to do! Scott ...Show All
Paul Tew Ridiculous code coverage results?
We're getting interesting code coverage results from unit tests. In every class that implements IList<T> and therefore must implement System.Collections.IEnumerable.GetEnumerator(), the code coverage result for GetEnumerator is absurd. These methods are 12 lines long, but code coverage says that 2400 or so lines aren't executed. The results roll up to the class level and then the namespace level, and really skew our results. I fully believe the methods are never exercised, but the coverage counter should be able to figure out how many lines there really are in the source. In addition, when coverage coloring is used in the IDE text editor, files containing GetEnumerator methods are painted randomly, as if the painter is computing a ...Show All
K. Murli Krishna TFS API Workspace.Get & Writing to the file system
Is there a caching scheme to the Workspace.Get method. I am able to call the workspace.get on a server folder path with recursive and it builds the folder's recursively just fine. I am able to see the folders through windows explorer. But when I try to call the workspace.Get on a file server path I am not seeing the file being created/overwriten on the file system, via windows explorer. However, when I try to create a new file and do a save as the windows explorer view at the top doesn't show the files until I try and save the file with the same name as the file I did a ge on... But I am still unable to see the files in windows explorer Is there a file buffer cache somewhere that TFS uses that needs to be written If so ho ...Show All
