Can I enable the "Comment out the selected lines" feature for working on text files in Visual Studio 2008 or 2010? I'd like the ability to use that function on files other than normal code related files. When I open a TXT file the comment and un-comment buttons are disabled. Is there a way to change that?
Thanks
Clarification: I use th...
Visual Studio 2010 RC -> Silverlight Application
We have a library of images that we need to have access to. They are given to us from a vendor (through an installer) and they are not in a database, they are files in a folder (a very large monster of a folder). We do not control when the images change, so the vendor needs to be able t...
Greetings my wonderful StackOverflow family :)
I grew up using Windows and switched to OSX as a Computer Science major in College. I've recently started my first real software developer job, and have a ThinkPad and Windows XP for developing ASP.NET / MS SQL applications (Visual Studio 2008).
Question:
Basically, I am wondering if any...
The ListView control of Windows Explorer gives a highlight to whatever item is under the mouse, without affecting the current selection. This helps enormously with relating what item a given tooltip applies to within a listview - especially in report mode.
However, I am currently unable to find any APIs that would give my MFC applicati...
I have installed Visual Studio 2010 RC. I want to install Visual C# 2008 because XNA Game Studio needs it to be installed. Can I run them side-by-side?
...
When I'm debugging or even coding, it would be really uesful to examine third party assemblies but I can only see their metadata.
Given that tools like reflector can decompile assemblies, is there someway or some tool which would allow visual studio to do the same thing?
If I happen to have access to the PDB files for an assemblies, w...
Suppose I have a line of code that starts like the following:
Func1(Func2(Func3
Is it possible to set up Visual Studio (2005, 2008, 2010) IDE, so that when I hit ';' it will auto-complete all the brackets. I am only interested in brackets, nothing fancier. It doesn't have to be ';' key, it can be another key that auto-completes both b...
I've read that FxCop is integrated in to Visual Studio 2008 out of the box as "Code Analysis". I can't find how to run the analysis though. Where is the "Run Code Analysis" function?
...
i downloaded MyGeneration from net. And run. it has got connection string. "Provider=SQLOLEDB.1;Persist Security Info=False;User ID=sa;Data Source=localhost "
on the other hand;
my connection string : Data Source=.\sqlexpress; Initial Catalog=NetTanitimTest; Integrated Security=True
if i click save or connect button it throws to me co...
I have an application that needs to operate on Windows 2000. I'd also like to use Visual Studio 2010 (mainly because of the change in the definition of the auto keyword). However, I'm in a bit of a bind because I need the app to be able to operate on older OS's, namely:
Windows 2000
Windows XP RTM
Windows XP SP1
Visual Studio 2010's ...
I have an ASP.NET VB.NET web project that references a VB.NET class library.
I add a new property to a class in the class library, then, from the web app, I expect to be able to use it immediately w/o errors and with full intellisense.
It used to work in 2008.
When I compile the class library, it becomes available but not until.
W...
I have a WinForm project that contains a form called MainUI. You can see that the automatically generated partial class shows up as a node under MainUI.cs. Is there a way to "move" my self created partial class MainUI.Other.cs under MainUI.cs so that it'll show as another node?
...
Hello. I am trying to get more adept and my C programming and I was attempting to test out displaying a character from the input stream while inside of the loop that is getting the character. I am using the getchar() method.
I am getting an exception thrown at the time that the printf statement in my code is present. (If I comment ou...
I tried writing a login code in vc#.. I got the following error..
The type or namespace name 'LoginControl' does not exist in the namespace 'ErikSchmidt' (are you missing an assembly reference?)
Please help me rectify this error.
...
I'm developing my first add-in for Visual studio and we need to add a context menu item to the solution explorer, that shows up for particular file types only (in our case - ".resx").
I've been googling for 2 days now, unable to find any tutorials or code-samples... Only very basic things like adding a menu-item to the VS "tools" menu e...
I'm writing a Visual Studio editor extension using the VS 2010 SDK RC. I'd like to be able to figure out what the references of the current project are. How do I get access to the project corresponding to the current editor?
The documentation on editor extensions doesn't seem to include information on how to access non-editor parts of...
I don't mind most of the way that VS2005 auto-indents (or auto-formats) my C++ code, but certain items I don't want it to automatically indent. Like #define statements for example. It takes them and shoves them all the way to the left side of the screen, no matter how deep into my scope I type them. That's really really annoying.
Is the...
I have an MVC web application. I get an "Object reference not set to an instance of an object" error in line 16 below. It's a master page file. When I try to place a breakpoint in that line or anywhere in the file, I get a "this is not a valid location for a breakpoint" error. I have clicked on every line and I can't place a single brea...
Hey folks,
I've tried to compile an application with Directx. But this causes an PRJ0030 error for $().
How can I escape critical characters like (,) or blanks. Refering to the cmd I've used ^ but it does not help.
Kind regards,
Gerrit
...
I need to move all the hard coded strings in my source code in .resx files. There is a tool that could help me find all the hardcoded strings within C# code?
...