I've been using the Concurrency Runtime in a C++ static library, and recently wanted to use this library in a C++/CLI project, to take advantage of the Windows Form designer and avoid MFC. Unfortunately, the Concurrency Runtime is not compatible with the /clr switch required in C++/CLI. I tried surrounding the included header files that ...
What are main difrences between * ^ and & in visual-C++ 2010?
...
I know that in the Tools > Options (Text Editor > CSS > Format) menu I can choose between three types of document formatting for CSS files (compact, semi-expanded and expanded) as well as capitalization.
A decision has been made in my organization to implement a formatting structure in XML files, where the attributes for an element line...
Is there a standard .NET control for what I call "a two pane picker", or do I have to code it by hand?
Two pane picker:
The left pane has a list of items.
The user can pick items from the left pane to put them in the right pane using buttons between the two panes.
Picked items in the right pane can be reordered with buttons.
An exam...
Whenever I publish my web application I select "only files needed to run application". Upon publishing then it all works fine except for the bin/ folder contains a.svn folder. Is there a way to keep it from copying the .svn folder?
...
I have a problem where most of the assemblies I'm referencing in my silverlight application appear to be not found in the xaml, despite the fact that I've added the references to the project using the 'Add Reference' dialog, can see they are present in the specified location, and can browse them using the object browser.
I'm using VS 201...
What Editors/Designers for creating Visual Studio 2010 Snippets are there?
I would like to be able to put in different replacements (ie spots where the text should be replaced). A low incidence of blocking bugs is also nice.
So far the only one I have seen is Snippet Editor 2.1. I am going to dig into it and see how it works, but I d...
i want to take a string and check the first character for being a letter, upper or lower doesn't matter, but it shouldn't be special, a space, a line break, anything
thanks in advance, hope this is easy for someone
...
I have a project that I am working on that references a "Common Library (DLL)". In the DevEnv it works fine, however if I build and try to organize my files it doesn't work. Basically if I have things setup like so:
C:\Program Files\MyApp\MyApp.exe
C:\Program Files\MyApp\Common\WPF Commons.dll
C:\Program Files\MyApp\Modules\SomeModule....
Silly sounding question, I know... Let me lay some groundwork first.
I have successfully created a database project comprised of the hundreds of tables, stored procedures, indexes, et.al. that make up our production database.
I have successfully added the solution to source control (TFS).
I have made a change (as a test) to some of th...
More exactly -- how to do it in a standard way?
I like the way VS trace exceptions caused by my program, so when running it from VS it has no sense for me to use my own mechanism for handling and displaying exceptions. Of course when the program is executed as a standalone app, I have to rely on my piece of exception handler.
I know, I...
I am in the process of developing an application which uses a legacy USB driver. For some reason the developers of the legacy USB driver decided to write information to the registry and this process requires me to have administrative privileges for my application.
Now, the USB functionality that uses the registry should be only done by...
Hi,
Default settings makes each line where the break point is to be highlighted. Is there an option to make this line not to be highlighted (the point in the left side of the window is enough for me)
Thanks for help
...
I'm learning NHibernate and I added <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2"> to App.config. Visual Studio reported a message:
Could not find schema information for the element 'urn:nhibernate-configuration-2.2:hibernate-configuration'.
I know this is not a problem, but if VS knew the schema, IntelliSense w...
Having used optional parameters in a few classes here and there, I'm starting to dislike them immensely for the trouble they cause in certain cases with overload resolution, i.e. difficulties in binding delegates to them due to signature conflicts, as well as dynamic invocation problems with regard to method argument count.
How can I se...
When working with third party systems, especially very configurable systems that dynamically load providers, controllers, components and so on, I sometimes just want to know when a certain object or class is accessed. Normally, I'd place a breakpoint on any potential lines in my source (a nuisance, but it works), but if source is not ava...
I'm playing around with my first lightswitch application and am trying to change the size of a list control. Does anyone know how to do that? I've tried:
this.FindControl("PersonList").SetProperty("Height", 200);
but get told the height property doesn't exist. I've had a quick look thorugh the lightswitch namespaces in the object brow...
For Visual Studio 2008 there is the small but great addin "Source Outliner" on Codeplex (http://sourcecodeoutliner.codeplex.com).
Does anybody know, if there is an equivalent tool for Visual Studio 2010?
...
I am looking for a testing framework that allows me to have:
Different kinds(categories) of tests. I want to be able to just run all "fast" tests or all "slow" tests. I know MSTest allows you to create lists and run then run them, but I find it annoying and distracting. I'd like to just tag the tests with attributes as I am developing ...
Is there any option to zoom in or out in visual studio '05. Upgrading to '10 isn't an option here. I miss being able to look close up when I need it.
From what I can tell there is no native support, are there any ways to trick it into zooming?
...