I took over a Visual C++ project in Visual Studio 2005 from a colleague. It is a Windows Forms project (I assume). But when I start it, besides the Windows Form it also shows a console window. How do I get rid of this console window? I think it must be a project setting but I don't find it.
Any help is appreciated ...
In the project properties for all configurations (Project | Properties, choose Configuration 'All Configurations', locate Config Properties -> Linker -> System), change the SubSystem from Console to Windows.
Related
I've just installed VS2015 for C++ development, however traditional hot keys like ctrl+space or . or -> don't show the IntelliSense window.
Somewhere on the web I found that I needed to open the IntelliSense Manager from the Tools menu. But that's not in my Tools window.
In addition, I reviewed related items in my IDE settings and found a Text Editor -> C++ -> Advanced - IntelliSense section with a number of settings, including Disable IntelliSense, which is True in my setup. The problem is that all settings in this section are readonly (not editable).
How do I fix the problem?
VS2015.2, fresh install. No previous installation on this host.
I have a visual studio solution with three projects. I want to configure them all for x64 (as I have a X64 machine). I have created the x64 configuration as you can see in the following image.
The x64 configuration can be applied to the first and the third project. It lists in the drop-down box like shown in the following image.
The project in the center is dependent on the project on top and below it, both. But, this project alone does not show x64 in the drop down. Here is the image:
Can anyone tell me what is the problem and how to solve it...
Click on <new> and add X64 and choose to copy its settings from Win32 then change the settings that you want by yourself.
I found out my problem. I had created the configuration X64 from one of the projects. I had to delete the configuration from the other projects and create it again in the other project and only then, it allowed me to set the configuration for that project. When this deleting and re-creating the configuration was done for each project, it worked fine. If only the properties of one project did not show the configuration created in other projects, or if showing, it had allowed to set that configuration to other projects too, then the problem would not have come. I think this is a bug in visual studio.
I am using Microsoft Visual Studio 2010 Professional and have been looking at how to change the icon of my program. One of the solutions suggested I go to the project's properties and in the project designer, click the app section and that I would be able to edit what the icon file is.
My problem is this: When I open the properties of a project, it gives me this
window
From what I understand this is the property page. This is not what I'm looking for. I am told that the project designer looks something like this:
Project Designer
How can I alter my project so that when I click the property setting, it allows me to open the project designer instead of this? Or, how else can I access the project designer?
The first window you showed is the one we get for the properties of a c++ project. The second one we get it for the properties of a c# project.
I have excactly the same problem as you. I need to change some compiler settings.
I was new to Visual Studio and I want it to debug some of my c++ files.
The VS 2010 Ultimate was already installed in my lab system.
Now to debug after referring to internet and also here I came to know that we need to start a new project as below
File -> New -> Project -> Visual C# -> Win32 -> Win32 Console application
But in my VS there was no Win32 under Visual C# but there was Windows in which there was Console application, which I selected.
Then we need to add the C++ files under the source files directory. But I didn't find any such directory in this console application.
Is there any problem with installation or configuration.
Can anyone please help me.
the correct path to start a win32 C++ console project is
File -> New -> Project -> Visual C++ -> Win32 -> Win32 Console application
and if you don ´t find path it mean that you.have a custom setup.
find your setup DVD and/or use Add and Remove program to " modify " the setup. When installation program ask for the component you need check the C++ box. finish the setup and and after you will have a specific section for c++ project ....
As the subject says, I'm building my C++ program in Visual Studio 2008. But how could I know if the program built is targeted to 32-bit or 64-bit? I looked around the project properties but couldn't find an option to specify this.
I looked at this article: In Visual Studio, how to correctly build an application for 64-bit machines? But it looks like discussing about C# - I couldn't find any "Any CPU"-like configurations.
Open Visual Studio 2008
Load your project
Once your project is loaded, the VS2008 toolbar should look something like this:
Drop down the list that says "Win32" and choose "Configuration Manager...". This will open the Configuration Manager dialog:
Under "Active Solution Platform", click the drop down list
Select ""
The "New Solution Platform" opens:
Click on the top drop-down (labeled "Type or select the new platform:")
One of the options, at the bottom of the list, should read "x64". Select it.
In the "Copy settings from:" drop-down, choose ""
Check the "Create new project platforms" checkbox
Press the "OK" button
The New Solution Platform dialog closes, and now the x64 platform will be available for you to use in the Configuration Manager dialog.
In the Configuration Manager dialog, for each project in your solution, choose the appropriate platform:
Keep in mind that once you have the x64 platform added to Configuration Manager, you'll probably have to setup appropriate configurations (Release, etc.)