I got nowhere Googling for this question so if this is a "Google Is Your Friend (GIYF)" question, I apologize in advance.
I always print source code duplex to save paper. Is there an add-in for VS (2003) which allows you to print two pages on one side of the paper so I can print 4 pages on one sheet? I think this is called 4-Up prin...
I would like to include the current timestamp as part of my Visual Studio Item Template (the timestamp of when the file is created by the user). Is this possible?
...
I am debugging an ASP.NET website which has a lot of javascripts and images using Visual Studio 2008 development web server.
One of the many scripts try to create an <img> tag on the fly and supply it with a proper src attribute. However, none of the images are loaded and instead alt text are displayed in Firefox, IE and Opera.
Digging...
I have two questions:
Can I use Visual Studio Content Installer for Visual Studio 2008 to install .NET Compact Framework custom controls in Toolbox?
If answer to question 1 is "Yes", what will be FileContentType value in .vscontent file for control.asmmeta.dll file and control.designer.dll? Do I have to be careful about any other infor...
I have a simple ASPX page based of a master page. On the ASPX page, I have two drop downs and a button. When pressing the button, I want to execute some javascript. To do this, I have used the Button's attribute collection (Add("onclick", script)).
My script looks like this:
string script = "return confirm ('You have selected' + docume...
I am supporting a number of .Net developers who are using Subversion to version control their work, but we have been running into a number of issues that seem to revolve around the additional files that Visual Studio uses to manage projects, do debuging, etc. Specifically, it seems that these files are causing conflicts due to the fact t...
I have written some code that makes use of an open source library to do some of the heavy lifting. This work was done in linux, with unit tests and cmake to help with porting it to windows. There is a requirement to have it run on both platforms.
I like Linux and I like cmake and I like that I can get visual studios files automatically ...
I have a large project that has > 1000 files.
When I press the green 'Play' button to start debugging, once everything is built, it can take up to 5 minutes for the app to start running.
It looks like Visual Studio is loading and unloading various DLLs, but it also just sits there occasionally doing nothing.
Running from the command li...
Hello everyone,
In my Visual Studio, even I just wrote a single line of return in a C# console application, it will take me a minute after pressing F5 to execute the actual code (I mean the time it takes to stop on the single return statement after pressing F5 -- I set a breakpoint on return statement in Main function). I am wondering w...
Hi,
Is there’s a way to make MDI (C# VS 2008 ) child forms sticky one to the other while moved or resized?
I'v seen code project but it is only for top level.
thanks,
Gilvini
...
This is a C++/CLI WinForms project targeting the .NET 2.0 framework. I am using Visual Studio 2008. How do I get it to work?
EDIT: Code snippet
[Serializable]
[DebuggerDisplayAttribute(L"ID={EmployeeID}")]
public ref class Employee
{
[ReadOnly(true)]
int nID;
property int EmployeeID
{
int get()
{
...
Hello,
I'm new in C++.I made up 680x680 two dimensional array.And I tried to write it to txt file.Unfortunately,I can't write two dimensional array along its dimensions regularly.
Also I want to read two dimensional array from txt file.My code is below.Could you help me ?
/*Declaration 680 *680 multidimensional array*/
array< array< do...
When debugging C/C++ (unmanaged?) code in VS, after stepping out of a function, you can see the returned value in the 'autos' window:
However, this does not work for C# code:
Any suggestion on how to get the return value other than cluttering the code with temporary variables?
...
I am trying to call msbuild on a .sln with a post build build-event
something like:
xcopy "$(TargetDir)$(TargetName)*" "C:\TEST\" /Y.
Can I do that in just one line??? Basically I want to have something like:
msbuild Solution.sln xcopy "$(TargetDir)$(TargetName)" "C:\TEST\"
How can I do that?
...
in VS 2008, I am attempting to design a windows form that is similar to a set of property pages but uses a TreeView to select the page rather than a TabControl. An example of this design is the Options dialog in VS 2008 itself. There are two reasons I want to do this: 1. I prefer the look and feel; 2. I want to give users the ability...
I have come across the recommended values for a Maintainability Index (MI) as follows:
85 and more: good maintainability
65-85: moderate maintainability
65 and below: difficult to maintain with really
bad pieces of code (big, uncommented,
unstructured) the MI value can be
even negative
Are these values are dependent on technology? ...
I've inherited an application which depends on a third-party library, which in turn depends on Visual J#.NET.
The application was previously being developed on Visual Studio 2005, and I've got it building mostly successfully on VS2008.
Amongst other components, it included a Deployment Project which built a couple of executables (plus...
I know the ideal way to build projects is without requiring IDE based project files, since it theoretically causes all sort of trouble with automation and what not. But I've yet to work on a project that compiles on Windows that doesn't depend on the VisualStudio project (Ok, obviously some Open Source stuff gets done with Cygwin, but I'...
On Eclipse, whenever I double click a tab, it fills the workspace (by hiding all other views like project tree, console, etc).
Is there any do this on Visual Studio?
Note: i'm not looking for full screen, just want a way to declutter the workspace but still have access to menus.
...
Does anyone know how to prevent task panes from expanding unless you click on them? Sometimes I hover over one, and it takes a bit to load breaking my concentration.
Thanks!
EDIT: Now that I've had a few days to reflect on my question, I realize the answer is to close it. Let me provide an example. When you are in Word, and you want...