visual-studio

MS VC++ how to build DLL without requiring vc redist

I'm trying to build a simple .Net wrapper around some basic C++ code. The C++ code does not rely on anything in the vcredist dlls, so I'm wondering if I can setup my project, so it doesn't require those dlls to work ? I'd hate to have my users download and run vcredist, just for a simple DLL to work. ...

get static int variable class name with typeid(*this).name for its own definition - C++

Hi, first post here! When I need to get the class name inside of one of its methods I just call: typeid(*this).name() (then I split the result into tokens and get the class name) Now I have to define a static member variable and need to get the class name for that. But I`m not in a method! So, I cannot use (*this). Initially, I tho...

Cleanup on removal of dot net managed program.

I would like to remove some registry entries when my program is uninstalled. Is there a way to do this directly from within Visual Studio 2008? Other way? I am creating the installer using the Publish Wizard. ty ...

Is there an easy way of locating a particular table when using the dbml design view in Visual Studio?

If you have a load of tables in your design view, its hard to find a particular one, is there an easy way? ...

How to get Python syntax highlighting for Visual Studio?

Visual Studio 2008 is great as text editor, but it lacks Python syntax highlighting, can I get this as an add-on? Where can I find it? ...

What visual programming language works well for scripting admin tasks?

Would like a visual environment for creating admin scripts to manage tasks. ...

How to Disable a warning across projects in Visual Studio

I know this sounds bad but how can I disable/suppress a specific warning for all the projects in a solution. All of my projects are VC++ projects. Is it possible? If yes, how can this be done? Environment is Visual Studio 2005 ...

Unable to load one or more breakpoints error in Visual Studio.

Hi All, My Visual Studio is behaving strangely.Actually I have no breakpoints in my projects but whenever i start my Visual Studio an error message comes up showing that it's unable to load one or more breakpoints. Second , i have 10 projects in my solution i make one projrct as a startup project but Visual studio is not saving this in...

How do I install Visual C# express?? It says I have old version of Visual Studio but I don't

How do I stop Visual Studio Express SP1 install detecting old version that doesn’t exist? I haven't installed Visual Studio before on my computer. However when I try to install Visual Studio C# 2008 Express SP1 I get an error message: "Setup has detected that this computer does not meet the requirements to install this software. These...

Visual Studio: How to make one solution depend on another?

Is it possible to make a solution in VS depend on (i.e. include) an entire other solution? I've seen some stuff about "Solution Folders", but these don't seem to be the same thing....? Thanks! (BTW, I'm using VS 2008) ...

Image editing in resources of visual studio 2008

I want to be able to edit an image (png file) from the resources folder of one of my projects in VS2008. But the resource editor in VS will only allow me to zoom in and out. As the images are 32 bit, VS also will not allow me to use the image editor toolbar to change this. I would like to know if anyone knows how i can edit the image via...

Why do I get EntryPointNotFoundExceptions in Visual Studio's form designer?

I did some refactoring of an application framework, and now the form designer behaves in a weird way - after a rebuild, it crashes with a EntryPointNotFoundException until Visual Studio is started again. Background The framework consists of several projects, all in one solution. The projects have several dependencies between each other...

Prevent presenting of variable in cmake GUI

Hi, I want to limit hard-coded CMAKE_CONFIGURATION_TYPES to RELEASE and DEBUG only. If I execute cmake GUI on Windows to create Visual Studio build, CMAKE_CONFIGURATION_TYPES is present along with other cmake variables. How can I remove CMAKE_CONFIGURATION_TYPES from the GUI? Thanks Dima ...

Why Edit.GoToDefinition in Visual studio 2008 opens the object browser ?

1 week ago, when I hit F12 (Edit.GoToDefinition command) in visual studio, it opened me the class definition in a metadata file. Now when I hit F12, visual studio send me to the class definition in the object browser. Do you know how to modify this behavior ? ...

Why are doubles added incorrectly in a specific Visual Studio 2008 project?

Trying to port java code to C++ I've stumbled over some weird behaviour. I can't get double addition to work (even though compiler option /fp:strict which means "correct" floating point math is set in Visual Studio 2008). double a = 0.4; /* a: 0.40000000000000002, correct */ double b = 0.0 + 0.4; /* b: 0.40000000596046448, incorrect (0...

Is it possible to create an instance of a class in VB from a string containing the class's definition?

Is it possible to create an instance of a class in VB 5 CCE from a string containing the class's definition? Um... I'm actually using VB 5 CCE because I'm too cheap to get a version that costs money. Can someone tell me how to implement it that way? TYVM to whoever answers this!!!!! NVM... I'm downloading VS 2008 Express... ...

Removing a Recently Used Query from the List on the Work Items Tab of Pending Changes

On the Work Items tab of the Pending Changes window in Visual Studio (I'm using 2008), there is a dropdown list for the Query field which contains recently selected queries. Where is this list stored? I'd like to clean the list up. ...

Automatically Create XmlSerializer assembly

Duplicate: This is duplicate of http://stackoverflow.com/questions/134224/generating-an-xml-serialization-assembly-as-part-of-my-build. Please close it as a duplicate. How do I get Visual Studio to create and embed an XmlSerializer assembly into an msi during a build? I'm hoping to shave a couple of seconds off my app's startup time. ...

Windows Messagebox Icons in VS2008 using C#

I am looking for the Icon's that are standard on the Messagebox control. I want to use these Icon's on my Form. Where are they located at and the names of them? ...

Error connecting to Oracle from Visual Studio

I am not able to connect to Oracle using connection string and the correct password. I've tried the same parameters in SQL developer and sqlplus(commandline) and they are working. I even tried changing the password but no use. Any ideas what might be wrong or where should I start looking? The exact Oracle error is : invalid username/p...