This is a very irritating bug/behaviour in Visual Studio. I am hoping that someone can tell me how to fix it or what we are doing wrong.
The scenario is that we have a program that runs some XSLT over some XML (see code below). There is nothing particularly strange about the code as far as I can tell. This code is run on a new Thread...
Hi,
I would like to assign hotkeys to certain TFS client commands in visual studio.
For instance, hotkey1 for checkin, hotkey2 for undo checkout.
Please advice.
...
I was instructed by System IT to start using TFS for source control. I have both VS 2005 and VS 2008 on my machine. I have NO idea how to go by setting my environment to use TFS. Can someone please enlighten me as to what all I need to do in order use TFS? (No they did not supply me with any instructions.)
...
Just a fictional code, but why this won't work? (as the date variable is nullable)
DateTime? date = textBoxDate.Text != "" ? textBoxDate.Text : null;
The error is "There is no explicit conversion between System.DateTime and <null>
...
I downloaded some sample ASP .NET projects from net. But they are in VS2010 format. I use VS 2008. How can I change the format?
...
Hi, i've recently settled on a new format style for my code and want to replace the existing code. The only problem is there's 100's if not 1000's of files in my solution and i don't fancy doing each one individually.
I was wondering how to create a macro to open every file in the solution that has the .cs file extension and simply sel...
I added a new database to my project before (SQL Server Express database).
And now i decide to set username and password to my database file.
(*.mdf file i mean).
How can i do this issue?
Thanks in advance.
...
I've started playing with the OpenNETCF Framework to capture information related to the WiFi connection available on the device I am writing an application for. I found a very usefull example at http://msdn.microsoft.com/en-us/library/aa446491.aspx but found that:
a. I could not get the MAC address for the AP I was currently connected t...
I am new to .NET and VS development so I was wondering if there is a "class outline" window in VS as well (like eclipse). I have this very very long class and I don't want to scroll through it, so I'd like to have a view with the class summary of the open source code (like its members, methods, etc) so that I can juts click to the method...
Hi everyone,
I'm writing an add-in for both VS2008 and VS2010 and I'd like to have graphical enhancements that appear on top of the code (similar to Resharper/CodeRush). Doing so in VS2010 is relatively easy using adornments, however, how do I do it in VS2008? Anyone knows a good resource/article for something in that spirit?
I know th...
Hello,
I inherited a substantial amount of code, including a visual studio project that is supposed to (as best as I can tell) build a .lib file. Visual studio says "... Generating Code... Creating Library... Creating browse information file...", and at the end, it says the build succeeded. In the release/debug folder, it has a bunch ...
I have read there are a few flags in gcc to do catch some of the type violations for calls to printf, I haven't been able to find if there are similar ways to achieve this in Visual C++'s compiler (any version of VC++, from 2005 onward).
...
We are in the final preparations for releasing a product and we have to touch up the user guide.
The current one we have is an amalgamation of some MS Word and some OpenOffice.org documents. While it's sufficient, we going to massively re-do it after the release in readiness for the following release.
We haven't really been happy with ...
C++ ANSI ISO IEC 14882 2003 Annex C.1 (page 668):
Change: The result of a conditional expression, an assignment expression, or a comma expression may bean lvalue
Rationale: C + + is an object-oriented language, placing relatively more emphasis on lvalues. For example, functions may return lvalues.
Effect on original feature: Change to s...
I am currently working on making my own Generic Bubble Sorting which can easily sort Strings, int. Below is my Code for Normal Bubble Sorting.Can you help me out how to create a generic Method Of this?
public static void BubbleSorting()
{
int Swap;
for (int outer = Length; outer >= 1; outer--)
{
for (...
This is really strange. Absolute path doesn't work for both ifstream and ostream. It works when I use a relative path like so:
ofstream out;
out.open("file2.txt");
string river = "i love cheese";
if(!out){
cout << "error"; // have breakpoint set here
} else {
out << river; // have breakpoint set here (stops here when debugging)...
As most know getch waits until the user hits a key and then returns the value. Is there a way in order to just check if the user is currently hitting a key? Here is what I'm trying to do:
while(1){
char x = getch();
if (x){
//blah
}
else if(y == true){
//blah
}
}
Any suggestions?
...
I generally like to compile against warning level 4 in Visual Studio and treat all warnings as errors. The problem is, Ogre3D is not compiled with warning level 3 (neither is FBX SDK or OIS, which I am also using), and that poses a problem because now I have a ton of warnings from Ogre3D libraries that are now treated as errors. So far I...
Hello !
I would like to know how can i transform a .NET 4.0 VS 2010 C# project intro a 3.x .NET version? I just made an app for someone and i don't think he has the .NET 4.0 platform installed . Any ideas?
...
Hi all,
i've converted a my application originally written in MS Visual Studio 2008 to be compiled on MS Visual C++ 6.0 (see my previous question http://goo.gl/lWyM).
After the conversion of all my code now compiles in Release, without debug informations. In Debug i encounter a strange problem... the error C1063.
fatal error C1063: ...