visual-studio

Is there a trick to show code outline in visual studio?

This kind of stuff exists in eclipse: but I've not found it in visual studio yet,is there such a window to show code outline at all? UPDATE I tried both doucument outline and class view,and class view is close,but it only shows class information,can it come up with function info also? ...

Test Webservice Method in Visual Studio: why does it say runs successfully without running the test and test fails ?

I have created the default webservice asmx hello world : namespace WebServiceHello { /// <summary> /// Summary description for Service1 /// </summary> [WebService(Namespace = "http://tempuri.org/")] [WebServiceBinding(ConformsTo = WsiProfiles.BasicProfile1_1)] [System.ComponentModel.ToolboxItem(false)] public...

How do I refer to the startup project in visual studio as an external tools argument?

I want to pass the startup project to an external batch file as an argument. The drop-down offers solution, target and project, but not startup project. Solution is no good to me. Project and target both change depending on which file I have open. I need the same startup project, each and every time. Is it possible? If so how? Tha...

Floating Point Model to Fast and linking against a lib with floating point model Precise

I have several libraries that I am linking against and using them in a project. I can compile the libraries as well. If I have, in the final project, Code Generation > Floating Point Model = Fast, and Precise in the libraries that I am linking against, does that mean I am not benefiting from the maximum speedup that I will get if the lib...

Access "Embed Interop Types" property of a project reference programatically

I am writing a plugin for Visual Studio, I am able to see all the properties of all the references for a project, except for one property. How can I access the "Embed Interop Types" property of a reference programmatically? Right now I am using the VSLangProj80.Reference3 class to get the properties, but it does not include the "Embed ...

Display PDF in a BookControl. Convert PDF to XAML?

I've got a PDF I'd like to show in a Book Control. Since this control can't use PDFs I have to work around it by either using images or converting the PDF to XAML. What is the most elegant way to do this? ...

Visual Studio 2010 not autolinking static libraries from projects that are dependencies as it should be supposed to

Create a new solution with a C++ console command-line project Create a new project, a C++ static library Make the command-line project depend on the library Make sure "Link Library Dependencies" is turned on in Configuration => Linker => General (it is by default) Visual Studio will still not link the library. How can I fix this? It w...

Adding 3rd party libraries to Visual Studio source control

This is a problem that has been eating at me for a while, and I just haven't found a good solution (no pun intended) for it. I'm using Visual Studio 2010 with Subversion and Ankhsvn. It works very well, however, my biggest problem with it is that it only retrieves and manages files that are "included in the project". This is great in ...

what is Psychic window in relation to VC++ ?

Hi, I saw above question in http://www.geekinterview.com/question_details/67202 Then i searched in Google, got below links. http://social.msdn.microsoft.com/Forums/en-US/vclanguage/thread/470448e8-546f-4f5a-82b1-abbafe64b856 http://forums.windowsforum.org/index.php?showtopic=28783 I had some fun :D but no answer. Is there anyth...

Is there any Castle ActiveRecord generator from Visual Studio 2010 Modeling Project?

Hi all, Visual Studio 2010 includes a Modeling Project that lets to create UML diagrams like class diagram. We have plenty of class diagrams in VS 2010 Modeling Project and wish to generate Castle ActiveRecord classes from them. I have searched and found many tools like ActiveWriter, MyGeneration, Active-Record-Gen, The DarkSide, Gener...

WPF: Show custom Preview-picture for video (MediaElement)

WPF: Show Preview-picture for video (MediaElement)I've got a video as a MediaElement <MediaElement Name="video" LoadedBehavior="Manual" ScrubbingEnabled="True" Loaded="MediaElement_Loaded"" Source="Resources\blickpunkt10.mp4" /> I want to show a custom picture while the user didn't tap the video. How to do this? ...

C++ code browsing

Is there any simple way of finding the implementation of a virtual method in a IDE like Visual Studio. Finding references and reference from one class to other consumes a whole lot of time. Is there a quicker way of using the IDE or in general any IDE. Also if there has been only one project changed can I quickly get the executable link...

Show suggestion in VS property window for a custom control property

I have developed a custom control with two public property called ListField and DataSource. ListField property must be set to the name of a property of the object contained in DataSource. It's possible to configure ListField in a way that when setting the properties in Visual Studio property window, I get a list suggesting the valu...

Debugging LINQ statement on QuickWatch or somewhere else

Is there any way to write linq statements while project is running? ...

My Visual C++ compiler compiles out of date source

I'm a beginner starting to use Microsoft Visual C++ Express 2010 for Windows Programming. I've created a new C++ application using native code, not managed or MFC. I had Visual Studio create for me the basic windows code to create one window with simple menus (chat.cpp). I modified this file and I was able to compile correctly and see my...

library for solving matrix problems in C#

Does Visual Studio 2008 or 2010 have a built-in library which can help in solving all sort of matrix problems? For example: Singular value decomposition Matrix inversion Trace Determinants etc. ...

How to create this user control?

Hi, I have to develop a small app for which I have to create a user control which is intended to be something like a Table View. On Form Load, the user should be asked about the number of rows of columns required on the form. Once the user sets the number of cells, each cell should have a button and a Text Box inside it (grouped togeth...

Can I change the language of ASP.NET Configuration Tool ?

My Visual Studio is in english but ASP.NET Configuration Tool runs in the os language because I don't work in an english country. How to configure it into english language if possible ? ...

Custom Membership Provider not listed in asp.net configuration tool

I have followed the tut here: http://blog.krisvandermast.com/UsingAccessInsteadOfSQLServerForYourASPNETApplicationServices.aspx I added the dll and the aspnet.mdb files as explained above, my website compiles without error with this web.config <?xml version="1.0"?> <!-- Note: As an alternative to hand editing this file you can use...

different results in visual studio and linux(eclipse)

my code works perfectly in visual studio yet i encounter a problem running it in eclipse. in the function: City* Gps::FindCity(const char* city) { if(city != NULL) { City *tmp = NULL; if (! m_gpsCities.empty()) { for (list<City*>::iterator iter = m_gpsCities.begin(); iter != m_gpsCities.end();...