visual-studio

Visual Studio window which shows list of methods

Just wondered if anything like that exists? Certainly in Eclipse it does. A small window like the solution window listing all the methods in the active class would be great Any ideas? Thank you ...

Can't catch newConnection() signal from QTcpServer

I am trying to make a simple server thread in QT to accept a connection, however although the server is listening (I can connect with my test app) I can't get the newConnection() signal to be acted on. Any help as to what I'm missing here would be much appreciated! class CServerThread : public QThread { Q_OBJECT protected: void...

Using VS Code Snippets with Resharper

I am trying to use Code Contract's Code Snippets but since I turned Resharper back on it doesn't recognize them. On the other hand, it is recognizing some snippets I've implemented myself in the past. Any ideia of what might be the problem? I'm specifically trying to use cr and ce, which I think, don't collide with any other snippets (a...

Getting the errors for code in unopened .aspx pages

Is there a way to check for errors in unopened *.ASPX pages. For example, if you change the name of a function Visual Studio will catch the error on the page and list it in the "Error List" only if the page is opened and being validated? I guess the question could be is there a validation option opposed to the compile option to check f...

Change macro in VisualStudio

The macro 'propdp' creates a dependency property like this: public int MyProperty { get { return (int)GetValue(MyPropertyProperty); } set { SetValue(MyPropertyProperty, value); } } // Using a DependencyProperty as the backing store for MyProperty. This enables animation, styling, binding, etc... public static readonly Dependen...

Visual Studio ASP.Net MVC undo set as start page action

I have an web application that I'm working on, it was working fine until my curiosity got the better of me and I right-clicked on a view and chose Set As Start Page option. Now, whenever I run my application it takes me to the Resource Not Found error page. I have the default register route set in my Global config route which was worki...

how to activate 'more' option on command prompt (visual studio)

My code dumps a hell amount of data on the command prompt. How do I activate the 'MORE' option for the output so that I see the output page by page? (MS Visual Studio) For eg. Matlab has the command 'more on' to do the same! Thanks. ...

Question about COFF Externs

The Microsoft PE / COFF SPEC (v8, section 5.4.4) says that when a symbol has: A storage class of IMAGE_SYM_CLASS_EXTERNAL And a section number of 0 (IMAGE_SYM_UNDEFINED) It's "value" field (in the symbol table) "indicates the size". This confuses me. In particular, I'm wondering "indicates the size of what?". Generally, IMAGE_SYM_C...

How can I make this run on all my files automatically? YUI Compressor for Visual Studios

Edit 4 (Edit 1 to 3 removed as they where solved) My last problem is that I would like multiple targets but it does not seem to work. I have to stick them all into the same target what kinda sucks since it would nice to different names so I got to change something I can just look at the target name. Hi I am trying to get my MsBuild a...

How do I handle TODO comments in VisualStudio 2010?

I'd like Visual Studio to list all lines having "TODO: " in their beginning (usually after a comment sign which may vary depending on the file type) that can be found in any textual file in a solution (may it be C#, VB, F#, T-SQL, ASPX, XAML or just TXT) in a special panel showing what's written in the line right to "TODO: ", project n...

Why does Visual Studio sometimes add a number when creating page events in codebehinds?

When writing up a codebehind in Visual Studio for ASP.NET web forms applications, I often use the dropdowns at the top of the window to autogenerate page event handlers (e.g. Page_Load, Page_PreRender). I've noticed that sometimes Visual Studio likes to add numbers to these function names like "Page_Load1" or "Page_PreRender2". Programa...

jQuery document.ready + Asp.Net ContentPlaceholder cause Visual Studio intellisence problems

Hi! I want to execute JavaScript when document is ready without much syntax overhead. The idea is to use Site.Master and ContentPlaceholder: <script type="text/javascript"> $(document).ready(function () { <asp:ContentPlaceHolder ID="OnReadyScript" runat="server" /> }); </script> and in inherited pages just write plain...

Visual Studio IDE freezing while initializing ToolBox

I'm working on Visual Studio 2008, Smart Client + infragistics controls are installed and we have more than 50 User Controls. When opening the Visual Studio "Tool Box", Visual Studio is completely freezing. I couldn't work after that. I have to kill the process and open again. At this point CPU usage is around 50, CPU usage is 1 or 2 whe...

How do you remove visual studio's navigation bar in VB.net

I'm trying to remove visual studio's navigation bar in VB.net, I know how to remove it in c# but unfortunately it has no effect in VB.net. would appreciate any help. i'm trying to remove the bar with DBLoggingProvider and (Declarations) ...

Overriding Page class constructor in ASP.NET code-behind file -- when is it called?

If I override the System.Web.UI.Page constructor, as shown, when does DoSomething() get called in terms of the page lifecycle? I can't seem to find this documented anywhere. namespace NameSpace1 { public partial class MyClass : System.Web.UI.Page { public MyClass() { DoSomething(); } ...

Visual Studio default webform name WebForm1.aspx

The default when creating a new WebForm in Visual Studio is WebForm1.aspx I always change this to Default.aspx. Is there a way to change the default to always read Default.aspx? ...

build notification in visual Studio 2008\2010 - WMI etc

I want to be notified when a build has been completed\failed in visual studio and I DO NOT want to use pre\post build steps, I want an external process or VS plugin that will count the number of builds. So is there anyway to achieve this using something like WMI or other such technology? I'm not interested in third party libaries, I wa...

Can't check in due to conflicting changes

I have an issue that means I cannot check in changes even if I resolve the issues. I have removed a form from the solution then created a new form with the same name. Now when I go to check in the form I get the following error: Even if I mark all the conflicts as resolved the check in fails with the following error: All conflicts re...

not able to build cppunit 12.1 framework in microsoft visual studio 2008

Getting following error when building cppunit in cppunit frame framework in visual studio 2008 general error c1010070: Failed to load and parse the manifest. The system cannot find the file specified. ...

tsql source control using msscci

Hi All, I have the TFS MSSCCI installed, now what? How do I use it to put say like a stored procedure under source control? Thanks, rodchar ...