Answer Questions
legoman26 Removing empty methods
Is there a way of getting VS to remove empty method on a build or any other time Also, I am used to putting constructors at the start of the code, is there a way to get VS to order the methods it creates When you say Empty Method, what exactly do you mean A method with no code in it such as void EMethod() { } If that is the case then no. As to your other question, no as well; VS uses templates or generates code in a specific fashion and it cannot be changed. Your issue was somewhat addressed by partial classes, where Man behind the Curtain was hidden in another file on the same class. There is nothing like this in Visual Studio. I suppose it can be done using macros but the express editions d ...Show All
dakota367 "Create your first application" doesn't run
I have downloaded and installed Visual C# Express Edition, and clicked on the Create your First Application link in the Getting Started section of the Start Page. I followed the instructions on the page that came up: (ms-help://MS.VSExpressCC.v80/MS.NETFramework.v20.en/dv_csexpresscon/html/f6d56233-5c33-44aa-8002-f0373943eb9c.htm) The instructions state that after I type the correct code and press F5, a window should come up saying Hello, World!. The whole Visual Studio window just flashes briefly and no window appears. Any hints why it doesn't work I should hope that the first tutorial would just work, but... Thanks, Matt It was a Windows Application project. ...Show All
aliasx Trouble downloading enu?
When it is trying to download it, it says: The fowllowing items have failed to download. Microsoft Visual C# 2005 express edition - ENU I know it has nothing to do with my disk space. I have 5 gb of free space and im pretty sure i meet all of the system requirements. Can anyone help me I tryed that and it said the same thing again. I wouldnt understand why it would say it failed to download when as you stated you downloaded the iso image and it still produces the same error when installing after burning the image/mounting it try downloading the full ISO image instead and then burn to CD and install, at least now you will also have a copy handy! Could som ...Show All
Eliyahu dont get how to compile my apps
ok, ive writte a simple application using visual studio express but i dont get how to compile i click on complie solution and then it says "========== Rebuild All: 1 succeeded, 0 failed, 0 skipped ==========" but i cant start the applicatin when clickon on "start without debug" because there is no .exe-file in the projects directory what am i doing wrong greets, Halan It looks like your program compiled with no errors. It probably also ran quickly, just have a system (pause) at the end or try running your program with CTRL-F5. Thanks, Ayman Shoukry VC++ Team ...Show All
Dudley Microsoft.WebApplication.targets project wasn't installed out the box
I just had my first build finally running (hurray, hurray). But among the other reasons it failed because it couldn't find imported project. The error was: "The imported project "C:\Program Files\MSBuild\Microsoft\VisualStudio\v8.0\WebApplications\Microsoft.WebApplication.targets" was not found" I checked that folder and it has TeamBuild, ReportingServices and CodeAnalysis folders with relevant targets but no WebAplications folder and targets. What's the problem My build includes Web Application Projects (which was upgraded from Web Site). I know that Web Application project is rather recent patch for Visual Studio so I guess there might be pathces for the TFS Build as well... Not h ...Show All
crash33 Branching error
I recently installed SP1, now when we try to create a branch we are getting this error: No appropriate mapping exists for $/main/branch. This is what I selected on the branch screen. Source: $/main/trunk Target: $/main/branch Branch from Version: by "Get Latest" Unchecked "Create local working copies for the new branch" Our Workspaces settings only contain $/main/trunk mapped to "C:\Source\Main" If we leave the "Create Local working copies for the new branch" checked, everything works fine. Any thoughts Thanks, John in V1, we require that the target of the branch operation be mapped, even if we're not going to write the files (the branch "noget&quo ...Show All
John Petritis Best way to write video player
I need advice on the above matter. 1. DirectX.AudioVideoPlayback The library didn't provide a function/method to clean up the screen. 2. Media Control Interface (MCI): if I set a playlist with 10 video files, when the player play the last video i notice the first image repeat twice. 3. Windows Media Player control I didn't try out this component as most of the forum suggest that the component is not stable when import into program. For my case, the player is most probably play more than 1 video so is not user friendly each time the user need to click the open button to select video files. The video will clean up the screen each time it finish the video. Do anyone know any other best way to solve the above matter. Please advice. Thank ...Show All
Ice Age I want VB to play around with files on my harddrive
I've watched some of the first intro-videos for VB Express 2005, and played around with some easy variables and buttons in VB. But I haven't seen anyhing yet that deals with filehandling operations. Most of my program-ideas involve copying/moving/renaming various files that already exist on my harddrive, but what section of VB deals with that I could imagine there would even be some premade stuff in VB concerning that, just as there are premade buttons etc. The more advanced videos mainly deal with stuff related to the web and databases, and I can't find anything about it either in the included helpfile for VB. Am I missing something obvious here Any comment on the above will be much appreciated. Thanks a lot to both you, that was ...Show All
Sniper167 Drawing lines in Form / Picture box
If I minimize the form on which a line is drawn and return back to it, the line disappears. How do i prevent this Thanks Why do my graphics keep disappearing ...Show All
ahmedilyas Plans for sharing project amongst team
Hello, I just tried importing my work database schema of tens of thousands of objects which went through within minutes, so well done on making the import a lot faster! I was curious as to whether a question I asked a while back has been reviewed. Basically I would really like our team to use data dude for our development, however we all have Team Developer licences (bar a couple of us who have Team Suite licences) and upgrading everyone to Team Suite or switching everyone to DBPro is not an option. All developers develop their own stored procedures, we have no 'Database Professional'. Therefore in order for us to use data dude projects, we would like to know if the scenario below is possible: 1) We have one designated 'Database Prof ...Show All
furmangg bacis progam problems
#include <iostream> using namespace std; int main() { int age; cout<<"Type a number between 1 and 10: "; cin>> age; cin.ignore(); if ( age < 10 ); { cout<<"Yay you can follow instructions\n"; } if ( age >= 11 ); { cout<<"were going to try this again and you going to do it right\n"; } for ( int x; age < 10; ); { cout<<"Type a number between 1 and 10: "; cin>> age; cin.ignore(); if ( age < 10 ); { cout<<"Yay you can follow instructions\n"; } if ( age > 10 ); { cout<<"w ...Show All
Lehmberg Visual C# 2005 Express Edition fail installs
it won't install Microsoft MSDN 2005 Express Edition and Microsoft SQL Server 2005 Express Edition x86. I have Windows XP Home Edition SP2. You can install SQL Server Express separately on the Express website. The MSDN Express library is not available as a separate download but the docs are available on the MSDN online library. Is there an error message when you attempt to install or does it just say install failed ...Show All
solutions Can't run Team Build: Proxy Error (The ISA server denied the specified URL)
Hello I created a Build Type, set the Machine Name to the build machine name, set the BuildDirectoryPath to C:\Build, and created and tested a drop location with full access to everyone (just to make sure). When I try to run the build, I get the following error: TF42056: The build service could not connect to the Team Foundation Server. The request failed with HTTP status 502: Proxy Error (The ISA server denied the specified Uniform Resource Locator (URL)). Additional info: I am using a virtual PC for the TFServer, and trying to use the same virtual machine as the build machine. I have the TF client installed on both my machine and the virtual one. Everything else is setup and works well, as far as I know. I must be doing so ...Show All
Ceres629 SQl statement to show database info
Hi everyone, I am trying to hand code a script to bring out information from a test access table. My test MS Access table is "TESTTABLE" COLOMN NAMES are ID,NAME, NUMBER - They really dont mean anything this is just a learning point. How to I display this on a form in text boxes, I will only need to display One on a search. but if your code shows all data thats Cool too, I will just add a WHERE in the SQL statement Thank you! Dim queryString As String = "SELECT ID, NAME FROM TESTTABLE" Using connection As New OleDb.OleDbConnection(connectionString) Dim command As New OleDb.OleDbCommand(queryString, connection) connection.Open() Dim reader As OleDb.OleDbDataReader = ...Show All
boston_sql92 Exit Criteria Report
I can't seem to find the Exit Criteria, Fix and Fix Bug Rates, and Quality vs Velocity reports when I create a project or download a process template. Should these reports be available Mauli, Thanks for your reply. The report list you mention is exactly what I have available. However the product documentation for the reports I note: http://msdn2.microsoft.com/en-us/vstudio/aa718430.aspx http://msdn2.microsoft.com/en-us/vstudio/aa718510.aspx http://msdn2.microsoft.com/en-us/vstudio/aa718599.aspx seemlingly state that these reports should be available with TFS. The team project sharepoint sites created when a project is created has contains a link to the non-existent Exit Criteria report. Thanks M ...Show All
