visual-studio-2010

is the MSVC++2010 debugger limited?

hello, i'm trying to check what's in my set in the debugger, i have 170 objects in it but i can only see 99 of them, is the debugger limited? he can show only 99 objects? can i see all the objects? thanks. ...

VSIX: Getting DTE object

My Visual Studio package requires the use of an EnvDTE.DTE variable, but it always gets back as null. After reading up on many hacks, all of them say to use the OnShellPropertyChange() method (IVsShellPropertyEvents), but sometimes it just never fires - as if my extension never finishes loading. I'm using VS2010 and checking against bot...

creating a trial version of Visual Basic application

hi everyone I created an application in vb.net using visual studio 2010. I want to create an installation file of the application that will not be free with a license so I want to create a trial of 30 jours.if there a way I thank you in advance ...

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...

Visual Studio 2010 database deployment

I have a database project and a setup project in my Visual Studio 2010 solution. What's the simplest way to have this database created by the setup project? I was hoping it would be simple enough to just add the database project output to the setup package and that would magically work, but it doesn't look like it's that simple. Let me ...

Visual Studio 2010 - C# - dataGridView save changes

I have C# Window Forms project and MySQL ODBC connector to localhost server with all privileges. I also succeeded to fill dataGridView with data, but the changes I make are not stored back to the database. How do I create save button? ...

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...

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...

sql ce escape '(single quote) C#

I am writing some code to store names in a database. I limit the names to only certain characters, but last names are a challenge. Since some people have single quotes in their name (example O'Brian) I need to allow this. So I wrote a regex replace to replace the ' with a \' which I assumed should make the ' a literal. It works as far...

VisualNDepend Visual Studio 2010 Addin failed

I try to use the Addin from VisualNDepend in Visual Studio 2010, but when I open Visual Studio 2010 I always get the following error message. ************** Exception Text ************** Exception on Addin.Connect.OnConnection() Exception in NDepend v3.0.3.4916 .NET Fx Version: 4.0.30319.1 OS Windows Version: 6.1.7600.0 Processor Archit...

Question about VS 2010 web application template (html markup)

In the image below, in my markup, the title of the page is "Welcome to My sample Web Site" (not all caps). However, in the split screen, the title is shown in all caps. The code in CSS is: h1, h2, h3, h4, h5, h6 { font-size: 1.5em; color: #666666; font-variant: small-caps; text-transform: none; font-weight: 200;...

how to Visual studio 2010 integrated shell with sapphiresteel amethyst

Hi I read in one of the reviews that you could use SapphireSteel Amethyst plugin with the VS express editions using the VS Integrated Shell.I have never personally used the the VS Shell integration so does snyone know how to go about doing this? ...

Project dependencies does not imply linkage in VC++ 2010?

In Microsoft Visual Studio 2010, I use the wizard to create a solution with two projects: - theapp: a C++ Win32 console app, and - thelib: a C++ static library I add an h-file and a cpp-file to the library and write a do-nothing function in thelib. In main(), I call thefunc(). In project/dependencies theapp is set to depend on thelib...

Failed to Create AppDomain

What is this Error For? I repaired my Vs but this did not solve it. My OS : Windows 7 64 bit home edition. Visual studio 2010 Ultimate. Does My question need more information? ...

Intellitrace is not available for native or mixed-mode debugging

Hi, I just opened an old C project in Visual Studio 2010 and tried to understand Intellitrace. But I get this error message Intellitrace is not available for native or mixed-mode debugging I searched a bit on SO and found similar but not yet resolved questions. Do you know what could be the problem? Thanks ...

Entities and multiple databases

Hi, We've got the following scenario: Central Database (replicated across multiple servers) Client Database 1 Client Database 2 The Central db has Users and Roles amongst other things The Client dbs have similar tables to each other but with some fields tweaked - contact, address, etc... At present, each client db has its own user/r...

For no copy classes, can I change the code so that the VS2010 compiler will flag an error on the offending line?

Can I change the code, so that the VS2010 compiler's error message points to the offending line of code? class NoCopy { //<-- error shows up here NoCopy( const NoCopy& ); //<-- and error shows up here NoCopy& operator=( const NoCopy& ); public: NoCopy(){}; }; struct AnotherClass :NoCopy { }; //<-- and error shows up here int...

Visual Studio 2010 Output Panel Not Updating Postbuild Output

I just recently upgraded from VS2008 to VS2010. Because I do a lot of remote debugging (over VPN), I use Post-Build events to copy the compiled binaries and PDB's to the target machine before running. I do this by calling a batch file that (among other things) executes Robocopy. In VS2008, the Output panel would display robocopy's out...

Program Advice Directx with C#

Hey, What I am using: Visual Studio 2010 Windows Media Center Language C# The Program A part of my program needs to display movies by their covers and be able to scroll through them, much like netflix. I was told that directx would be good to accomplish this. Basically I just want it to be easy to view, use, and flow nice...

Horizontal scroll with mouse wheel at Visual Studio

Hi I have a new mouse that has the ability to scroll right and left using it's scroll wheel. While this feature works on web pages, Photoshop and etc., it wouldn't do anything when I use it in the Visual Studio when looking at code that is longer (horizontally) than the window. Is there a way to make it work? Visual Studio is 2010 exp...