visual-studio-2010

Cannot convert a .csproj to Visual Studio 2010

混江龙づ霸主 提交于 2020-01-15 08:55:10
问题 There is an open-source project (Keepass) with 3 .csproj files. When I open the main solution, it will ask me about the conversion, and it goes through the process without any problem. Except, the "KeepassLibSD" won't convert. "The project type is not supported by this installation." How do I determine what kind of installation do I need to convert the project? The said .csproj : http://pastebin.com/y3enieZf My about dialog shows the following packages (and information, without the kb fixes):

StatusBar in Visual Studio 2010?

半腔热情 提交于 2020-01-15 08:06:51
问题 I'm trying to find the System.Windows.Forms.StatusBar control in the ToolBox for a Visual Studio 2010 Windows Forms Project in Visual Basic. I cannot seem to see it. Is it somewhere in the "Common Controls" or "Containers" sections? I cannot see it. If someone can tell me what controls are to the top and bottom of it I would appreciate it. Thanks 回答1: It's not there by default, because it's been replaced by the newer (and much nicer) StatusStrip control. If you really need it, you can add it

StatusBar in Visual Studio 2010?

北慕城南 提交于 2020-01-15 08:06:39
问题 I'm trying to find the System.Windows.Forms.StatusBar control in the ToolBox for a Visual Studio 2010 Windows Forms Project in Visual Basic. I cannot seem to see it. Is it somewhere in the "Common Controls" or "Containers" sections? I cannot see it. If someone can tell me what controls are to the top and bottom of it I would appreciate it. Thanks 回答1: It's not there by default, because it's been replaced by the newer (and much nicer) StatusStrip control. If you really need it, you can add it

order of events when a window starts in Visual C++ MFC

大兔子大兔子 提交于 2020-01-15 08:01:49
问题 suppose that I have a class derived from CWnd that have the event handler functions OnPaint , OnCreate and OnSize . As you know all of them are occured when the window starts but I want to see what is the order between them. when I set a breakpoint in one of them, after ending the function, the control is not passed to another and goes to one of the MFC's built-in .cpp files for example wincore.cpp ? How can I understand the order? any links or teach me a way to prevent the control from going

Why Does VS 2010 'Comment' Keyboard Shortcut Change in C++?

只愿长相守 提交于 2020-01-15 07:54:07
问题 For me, Visual Studio's Ctrl + K , Ctrl + C keyboard shortcut is used to comment-out the selected lines. When editing C++, this sometimes uses block comments ( /* */ ) and sometimes uses line comments ( // ). Why does it change? How does it decide which to use when? 回答1: A couple other discussions on the topic: Visual studio feature - commenting code Ctrl K - Ctrl C visual studio C++ toggle comment ? comment while not whole line is selected? Based on my own tinkerings, and what was said in

Using a mouseEnter event to scale a button

╄→гoц情女王★ 提交于 2020-01-15 06:26:29
问题 this is my first post here. First off, some background, I'm new to C# and am literally in my teething stages. I'm a chemical engineer and mostly have experience with languages like MATLAB and Mathematica, but i have always liked programming and have decided to learn C# to create some user friendly interfaces for some programs I have been using. Note that i am using windows forms and not WPF. What i would like to do is have a main menu screen linking to various forms. Now to make it look nicer

Visual Studio Solution Explorer extension to rename file but NOT extension?

孤街浪徒 提交于 2020-01-15 05:46:06
问题 Windows Explorer has a small (but great!) feature that Visual Studio does not: When you rename a file in Windows Explorer on Windows 7 (for sure, I think for Vista and later) it selects only the main part of the filename, and not the file extension. It makes the assumption that 90% of the time, you don't want to change the file extension and saves you from the choice of using the mouse to select the relevant part to rename (bad) or having to retype the file extension (also bad). Of course

Debug Console Application Inside of a Web Application

冷暖自知 提交于 2020-01-15 05:19:11
问题 Is there a way to debug a (.NET c#) console application inside of a web application project? I want to be able to have a console application inside my web app for quick testing without having to use a separate solution. This allows me to quickly test a lot of my services without having to create a web page. It allows me to add the console app without any problems. I can run it as well by setting it as the statup project although even though I use F5, it doesn't actually rebuild the console

Disable code window undock in VS2010

天涯浪子 提交于 2020-01-15 05:07:19
问题 I've seen cases where people are asking how to disable on double click. But i'd like to go one further and disable the feature altogether, does anyone know how to? I don't mean all windows (Properties, Debug, Output) just code windows (Pages, Controls, other files) I'm using VS2010 SP1 + PowerTools and I keep undocking code windows when selecting the tab if i accidently drag down and it's really frustrating! Many thanks in advance, Cheers, P. 回答1: I also don't know any option to disable it,

How to handle and include headers and libraries for building a Visual Studio 2010 solution on different machines

橙三吉。 提交于 2020-01-15 05:01:06
问题 I have a Visual Studio 2010 solution, that needs to include 4 different third party libraries and headers. These third party dependencies are installed separately before being included. So the include paths for headers and libraries are different on different machines. Now, what I want to have is to have my solution built by different developers on different machines to have the dependencies included with these tools' path include with minimum work and more smoothly. I have come across the