visual-studio

C++ Visual Studios : can not open include file ... eh?

Sorry for posting such a lowly beginner's question, but I just still don't know my way around Visual Studios yet. I'm trying to compile a code in C++ Visual Studios: #include "Banana.h" int main(int argc, char* argv[]) { fruit::Banana banana; banana.dance(); return 0; } and I'm getting an error fatal error C1083: Can...

Visual Studio 2010: How Can I remap F2 to Rename File rather than Open Object Browser

In Visual Studio 2010 Solution Explorer tree view, how can I remap the F2 key to Rename the Selected File rather than open Object Browser? ...

Defining path to executable for a custom control

I have created a custom control using VB.NET in Visual Studio 2008 that gives extensive mapping and tracking functionality to a search and rescue app. The problem I am having is that in a number of places I need to define the path to the main applications executable in order to find a number of directories the control needs to function ...

Installing SQLServer express 2005 Reporting Services after VS 2008/2010 install

I installed SQL Server Express 2005 a few years ago. Since then I've installed Visual Studio 2008/2010 Express, which installed SOME SSE 2008 components on my machine (Management Objects). Now, I want to go back and install the SQL Server Reporting Server component (part of 2005 Express Edition Toolkit) into my 2005 installation. The ins...

Visual Studio 2010 Web Service - Character is not valid

I am trying to create my first ASP.Net Web Service using Visual Studio 2010 and I keep coming up against a roadblock. When I try to build, I get the following error: Error Character is not valid. Line 1, Column 2. When I click, it goes through to the page, and there is just the default, auto-generated line: <%@ WebService Language...

Configuring 64-bit compilation inside Visual Studio 2008 Express Edition (VS2008EE)

I am making an attempt at building 64-bit native C++ applications under Visual Studio 2008 Express Edition Service Pack 1 (with some relevant Windows SDK(s) installed afterwards), in the IDE and from the command line. This is on a Windows XP Professional x64 Edition Version 2003 Service Pack 2 machine. I know that the Professional ver...

ms vc++ iostream compile error

The following code in microsoft visual C++ 2010 express: #include <iostream> //using namespace std; int main(int argc, char **argv) { return(0); } gives me the errors: 1>C:\Program Files\Microsoft Visual Studio 10.0\VC\include\cmath(19): error C2061: syntax error : identifier 'acosf' ... 1>C:\Program Files\Microsoft Visual Stud...

visual studio loading symbols

i'm working on a CF project for a while now, and the VS started to behave starnge for me at least. I observed that when I start debugging, it builds the project, it's starting the deloy, the deploy finishes and it's starting to load symbols for my project. But it is very slow, and I don't know why it started to do this step. I have no ...

change solution file to a different folder

Hello, How do I change the folder of my existing sln file? It's right now inside one of my project's folder if I cut the sln file and paste it in the root folder,it doesn't load any of my projects Thanks ...

Console application in C++ for smart devices (WinCE) ?

Hi, I am new in developing application for WinCE 5.0. I want to start from "Hello world" program or console application. But I couldn't find anything like that or any other sample applications to start from. I am using Visual Studio 2005. I created new project >> visual C++ >> Win32 smart device project >> console application >> finish....

Counting gone horribly wrong

I'm trying to create a rdlc report in Visual Studio 2008 and I'm having a bit of trouble with the totals at the end. I have a string field called "Reward" that displays either 1, 2, 3 or B. At the end of the report, I need to count up how many total records, how many "B"s and how many are not "B"s. So my inclination is to have three f...

make code atomic for debugger

Hello is there any way to make code for studio debugger atomic? e.g. #magic(atomarize) :D for(int i=0;i<100;++i) { //actions } // other statements so when debugger comes to the for statement, it doesn't show how it's executed (it executes internally) and at once goes to the other statement ...

Sanity Check: Managing Visual Studio project references with source control

Hi everyone, I've been asking, searching, rating and reading for about a week now trying to get a decent source control process up together and my major stumbling block has been references to projects in other repositories and managing third party libraries. This was compounded by conflicting views on whether to store binaries in the s...

Building an COM-interop enabled project without registering it during build

Hi, In Visual Studio 2010, I'm trying to build an COM-interop enabled C# project without registering it during build, but I DO require the assembly's typelibrary (.tlb) file, so I can import it from another C++ project in the solution. I haven't found a way of doing this - there once upon a time was a tlbexp.exe tool, but it was depreca...

Microsoft Visual Studio 2010 Academic Edition

I have a copy of ms Microsoft Visual Studio 2010 through my university MSDN program. Can I use it to create commercial programs? ...

Debugging code that's being tested in Visual Studio 2010

I am having some problems with a given test, that I'd like to debug the code that is being tested, while the test runs. Is this possible? If yes, how can I just debug this one test? I can only see options for running or the whole solution, or the whole set of tests in the current context or all impacted tests. I'd like to just run thi...

Best way to work with multiple projects / solutions in Visual Studio?

Currently I have 4 solutions that are independent projects, however there is quite a bit of duplicated code when it comes to a few areas of the applications. At the moment it is simply a few forms and their associated code. When I want to change or improve something, I have to copy and paste to all relevant projects. I looked at creat...

How to Edit an Arraylist that is already placed in a Listbox? And divide each item of the arraylist into individual textboxes?

Well it looks something like this _http://i29.tinypic.com/ib9oiu.jpg I had already posted a question on how to put an arraylist inside a listbox but that's already solved. http://picasaweb.google.se/109674614304504038591/Desktop?feat=directlink There is all my code, so I need to be able to edit the selected customer, clicking on custom...

Resharper 5+ only works intermittently ... any suggestions?

We had a bunch of computers at work running VS2010 with Resharper. In VS2008, Resharper ran slow enough that all the other devs stopped using it ... even those on quad core boxes and 8GB+ of memory. In VS2010, Resharper 5+ starts up great and works fine ... but then within ~4 hours starts to go downhill. We first notice that simple fu...

Visual Studio 2010's "New (CSS) Style" window does not contain all CSS styles availabe?

I thought the "New Style" window in VS 2010 contains all the CSS styles you can apply, but it does not seem so. For example I could not find the "max-width" style which I intend to apply to a <img> tag to fit the image in screen. However I did find the "max-width" style from the "CSS Properties" window. Does that mean the "New Style" f...