Visual Studio is an integrated development environment (IDE) from Microsoft. Use this tag only for questions arising from the use of this particular version of Visual Studio.
3
votes
4answers
53 views
Assigning values to enum
While doing a review of some older code, I notice the following two strange constructions using enum (two different files/classes/namespaces, just putting them together here):
enum FirstEnum
{
...
0
votes
0answers
4 views
Move Focus to Next Cell (Down not Next) on Tab Key Press in WPF DataGrid?
I want to have a wpf DataGrid which can,
1.Move to next cell(Down in Column) when Tab key is pressed also if it is in edit mode.
2.When the last cell in that column is reached, the focus should move ...
0
votes
0answers
4 views
CMake: wrong zlib found - how to build zlib from src (with main project CMakeLists.txt) and link it?
// brief version
How can I make CMake to use my supplied zlib (which it also has to build from source) instead of the one found by the finder without breaking the finder for other libs (OpenGL)?
...
-1
votes
0answers
8 views
Visual Studio stucks at loading a project and solution needs to be reopened several times after a checkout from VCS
Here is the situation:
I checkout a new project to directory. I open a solution and it stucks at loading project XYZ.
What I see is loading window and "Loading XYZ..." on the statusbar.
The ...
0
votes
0answers
12 views
Visual Studio toggle able plugin button (c#)
So I posted a few questions recently about making a plugin to attach the w3wp process when clicked. I finally got the process to attach and now I need some help with actually making it work properly ...
2
votes
1answer
25 views
Missing Windows Forms Application
When I create new project in visual studio 2010 I don't see Windows Forms Application template for c#. I see only template for WPF, Windows Service and class library.
Any suggestion what to do?
0
votes
1answer
7 views
Merge modules missing vc90_mfc_x86.msm and all the rest vc90* files
I'm running Windows 8 and have installed Visual Studio 2010 and 2012.
I'm trying to build a setup project that is using vc90_mfc_x86.msm. The build fails since all the vc90* files are missing in the ...
0
votes
1answer
10 views
Enter Key code in MessageBox object (Visual Studio)
Enter in MessageBox:
My Message:
Warning:
Do you want to continue?
Code:
MessageBox.Show("Warning: {ENTER(?)} Do you want to continue?");
Rather than the {ENTER(?)} to send enter code and message ...
0
votes
0answers
4 views
Activate IntelliSense on files excluded from build
I am currently writing on a simulation program, version 2.6
In the same project I have version 2.5, and for some functions I would like to check the 2.5 file to see what and how it was done there. My ...
0
votes
0answers
9 views
Iterate in a watch for a SQL Parameter List
So for example. I have an SP which passes 10 parameters, which then throws back a truncate error when attempting to run, I'd like to debug in SQL Studio so I add a watch on the parameter list which ...
0
votes
0answers
4 views
converting dbml file in visual studio .net to DB in sql server engine
i have dbml file on visual studio and i need to convert it to sql server engine to build DB on it's schema
i try to find solution to convert also to xml
1
vote
2answers
26 views
Warning C4121 behavior & structure alignment (Visual Studio 2010)
Let’s consider below declaration.
(Visual Studio 2010, Warning level 4)
#pragma pack(push, 2)
#define PADDING 1 // --- <case 1>
/*
#define PADDING 2 // --- <case 2>
*/
struct foo
{
...
0
votes
0answers
39 views
Web Service Reference issue with Visual Studio
I'm having a hard time using Web Service reference with VS2010.
I followed the following instructions:
Instructions
I defined a simple function in my Web Service:
namespace WebService1
{
public ...
0
votes
0answers
9 views
Table and Format missing from Visual Studio
I am trying to add a table to a Webform in my project. The Format and Table options are missing from my Menu Bar. How can I restore these options in Menu Bar.
0
votes
0answers
11 views
Building the solution is getting really slow for c++?
For useability reasons and developing reasons, my software is devided in 3 proyects, in which 2 are really co-dependant (I mean both are use each other) but both make independant librarys the third is ...