visual-studio-2008

Debugging QList<double> in Visual Studio with Qt integration

When I'm debugging my program, the values displayed for floating point numbers are totally wrong. double a = 1.0; QList<double> list; list << a; With this example the debbugger shows that a contains 1.0 that list contains one item, but its displayed value is rubbish (seems that is not read at the right place) -- its real value is corr...

How to make Visual Studio stop "compiling" .js and .css files

I use Visual Studio as my editor for .css and .js files.. It REALLY SUCKS especially with .js files since it insists on indenting them in a very weird way, but I find it convenient that the first alt-tab is always the browser instead of another editor, and that ctrl-tab is always either the code file or the css/js. Anyways, in all its r...

Visual Studio Find and Replace Regular Expressions help

Hi, I'd like to replace some assignment statements like: int someNum = txtSomeNum.Text; int anotherNum = txtAnotherNum.Text; with int someNum = Int32.Parse(txtSomeNum.Text); int anotherNum = Int32.Parse(txtAnotherNum.Text); Is there a good way to do this with Visual Studio's Find and Replace, using Regular Expressions? I'm not s...

Experiences with HG Mercurial and Visual Studio 2008?

Hi, Did you have good experiences in real and demanding projects using the combination HG Mercurial and VS2008? Would you recommend the use that combination? Regards. ...

What is nAnt, and how it can be useful to me as a C# developer?

I'm always compile my project, and copy the dll's from the dependency projects to the UI bin folder. after a few days with 'copy & paste' operations each time that I recompile my project, I concluded that I need a tool that will do it to me automatically. after a few searches a founded that this tool is nAnt. I search for information ho...

SQL Server 2008 user instance database creation failure within an asp.net project

I'm trying to create a database within the app_data folder of an asp.net mvc project using the IDE, but i am getting a "Required Components Missing" message indicating "Connections to SQL Server files (*.mdf) requireSQL Express 2005 ....." I am using - Windows 7 Enterprise - VS2008 Team System SP1 - SQL Server 2008 Developer Edition SP...

How to use msiexec to update a program

I have a .msi to install a program. Upon 'update', I want to be able to check whether there is an update available on a server, and if there is, install it. Can msiexec do that? I've looked around, and all I can find is that the /update just applies .msp patches. Is the .msp patch a patch for the installer itself, or for the installe...

VB.Net and C# Projects in 1 Solution

Is there a way for me to create multiple projects using different languages under 1 solution in VS 2008? If so, how? ...

attempted to read or write protected memory ASP.Net

I get this error whenever I attempt to run a web app from the IDE. I am using VS 2008 Team Edition, .Net Framework 3.5, SP1. This literally occurs on a brand new app with no code it in it at all. Just a default page. I hit the run button, and I get the error message. There is no break point, I don't get any error information, just t...

LNK2001 error when compiling windows forms application with VC++ 2008

I've been trying to write a small application which will work with mysql in C++. I am using MySQL server 5.1.41 and MySQL C++ connector 1.0.5. Everything compiles fine when i write console applications, but when i try to compile windows forms application exactly the same way (same libraries, same paths, same project properties) i get thi...

Load/Save a PE with PeLib?

Using http://www.pelib.com/index.php How do you open/save a pe file using PeLib? The 1 example it does have for writing a PE file is writing one from scratch, not loading an existing one, editing and saving it. Also, anyone know of a more up to date library? PeLib works, just it is kinda old and a bit of a pain to use. ...

WPF Datagrid binding to list problems

I have a list of custom objects: say Fruits with two string properties Name and Color. These are in a List. private readonly List<Fruit> fruitList = new List<Fruit>(); Then I load fruit objects into the list. I am trying to bind this list to WPF Datagrid: C#: dgFruit.ItemsSource = "{Binding}"; XAML: <toolkit:DataGrid Name="dgFru...

Visual Studio 2008 - form tool that allows you to locate a file on your drive

Hi, What is the name of the tool that you can load on a form, that when a user clicks it it allows them to find a find by navigatin the drive? And if I remember rightly don't I have to add a reference to the project to find it?? Just can't remember the name... I am using visual studio 2008, c# project. Thanks, R ...

How-to: Moving WCF service from localhost to production server

I worked through building a WCF web service on my development machine. I built the service, created a test client, tested everything and it works. I was starting to feel pretty good about this WCF stuff. Then I got gutsy and moved it to my production server. For now, the production server is on WinHost.com. I have my testing domain, www...

App looking for an invalid dynamic library

I keep getting multiple error windows for an app i'm developing asking for ._libpal_bullet.dll when it should really be just libpal_bullet.dll. The weird thing is after I get all the error messages, the app runs anyway using the correct dlls that exist in the same directory. How can i get rid of these errors? ...

C# populating treeview and getting errors on directories that I do not have permission to read

Hi, I am populating a treeview control, c# visual studio 8, using this code: private TreeNode TraverseDirectory(string path) { TreeNode result = new TreeNode(path); foreach (var subdirectory in Directory.GetDirectories(path)) { result.Nodes.Add(TraverseDirectory(subdirectory)); } ...

Can you add "filters" to the Class View in Visual C++ 2008?

I am using VS 2008 Express. One of the projects I'm working on uses a physics engine. For their own reasons, the maintainers of the engine suggest compiling the source with your project for better stability and compatibility, instead of linking to the static libraries. This means that in the Class View, all the engine's classes and meth...

Error lnk2019: unresolved external symbol

I am trying to compile fortran code in Intel Visual Fortran library. The source file I am trying to compile ( sssimp.f) has external reference to arpack_win32, blas_win32 and lapack_win32. As you can see, I have all the external dependencies in the same directory as the source directory. Not only that, inside the fortran project prop...

Assembly locations for Visuals Studio Toolbox

Hi, I'm trying to setup my development envrionment on a Windows 7 64-bit edition system. I've installed VS2005 and VS2008 alright. At work, we have several self-developed control libraries for the .NET Compact Framework. Under Windows XP 32-bit I was able to store them in a folder C:\owncontrols and add the folder to [HKLM\...\Microso...

Is there a way to supress empty space area on RDLC report?

Hi guys depending on information, my report RDLC on Visual Studio 2008 has some fields that are printed or not. I would like to know how could I suppress only this section when there is no data to be printed. I recall that crystal reports has something like that. But what about a RDLC file? thank you ...