visual-studio-2008

Windows Form publish to a different application

Hi, I have a Windows Form application. Version 1 of my app has been released for a while and client is using it. Version 1 of the app is connected to the production database. I have been developing on version 2 of the app and I plan to released a beta version for the client. Version 2 of the app will be connected to the test database, s...

Test C# code without building my application

I'm trying some string manipulation in my web app, but I don't want to compile the whole application just to see the result something simple. Is there a (preferably free) tool I can use to do quick tests, or is there something in VS2008 I can use? Thanks ...

"Unspecified error" in Visual Studio 2008 when trying to view project properties

When I set my active solution from Win32 to x64, I cannot build the project or view the properties. When I try to build my project, it is skipped. When I try to view the properties, the first time I try, nothing happens. The second time, I get an error message saying, "The operation could not be completed. Unspecified error". I am run...

Linq with MySql

Is there a free solution for using Linq and MySQL? Can one use Visual Studio Express, Linq, and MySQL together? ...

Is it possible to compile .NET 1.1 in Visual Studio 2008?

I have an ASP.NET 1.1 website and was recently upgraded to Visual Studio 2008. It looks like after compiling my projects into .dll's, that they are not working and from what I've gathered, it seems that it's due to VS2k8 not being able to target .NET 1.1. I still have Visual Studio 2003 installed, so I can compile my projects with that, ...

C++: Casting for user defined types

How can I get the same handeling of casting for user-defined types as built in, eg: float a = 5.4; std::string s = a;//error, no conversion avaible int x = a;//warning, possible data loss int y = (int)a;//fine int z = static_cast<int>a;//fine float b = c;//warning, possible data loss Now say I have my own Int and Float class, how do I...

How to solve a "HTTP Error 404.3 - Not Found" error?

Simple problem. I start up VS2008 and create a new WCF Service application. This will create a default application with a few test methods showing it works. I press CTRL+F5 and it does indeed work! Great! However, it uses the Visual Studio Development server, which I don't want to support. So I go to the project properties, switch to us...

Error with Visual Studio 2008 setup

Every time I run the Visual Studio setup I encounter the following error message "A problem has been encountered while loading the setup components. Canceling setup.". I also tried running the setup via the control panel, which results in a ever-so-meaningful "path not found" (but the setup did execute further). I did try removing sever...

vs2008 syntax highlighting for il assembler

hi all, is there a way to get visual studio 2008 to do a nice syntax highlighting for the intermediate language? ...

Can't display base interface in class diagram ("type not found")

I have a class diagram associated to a Silverlight class library project in Visual Studio 2008 SP1. One of the pieces of code displayed in the diagram is an interface I have made that inherits from System.Windows.Input.ICommand. Now I want the base class of that interface (ICommand) to be shown in the diagram as well. So I right-click i...

VS2008, no embedded application icon?

Hello everyone. I'm using Visual Studio 2008 and I can set the application icon using the My Project -> Application - Tab with a path. But, is there any way to set the application icon to an embedded resource instead of the file itself? 'cause it seems like that VS is embedding the icon again just for this purpose, instead of reusing an...

Find Non Used Functions?

I know you can perform a 'Find All References' on a function and you can determine if it is being used anywhere, but is there a tool that will go through all of my functions and highlight any that are not called anywhere in the code? ...

How to add field to existing sql report in visual studio 2008

I have an SQL report in a visual studio 2008 project. I need to add a new field to the report but I can't see the data source. If I open the data source pane it is empty. If I run the project the reports runs well. Can anyone suggest a solution? I am new to reporting services. thanks ldj ...

Missing cxcore110d.dll?

When I try to run a opencv hellow world program I get an error saying that the cxcore110d.dll file is not installed and that I need to reinstall the program, but the dll is C:\Program Files (x86)\OpenCV\bin. Any one know who to fix this? The folder is referenced (maybe thats the wrong term) in the solution that came with opencv 1.1. ...

Double filenames arent compiled?

Hello all, I'm having a problem compiling files in Visual Studio 2008 (Express edition). I have two folders with an Entity.cpp file in them, they're both added to the solution but only the first is compiled. If I change the name of either one of them it compiles correctly, but if both have the same name they're ignored. (Though changin...

Visual Studio 2008 intellisense for an enumeration type

Is there a setting whereby intellisense in Visual Studio will also put variables in the intellisense pop up instead of just the values for the enumerated type? It obviously knows it is supposed to be an enumeration. Maybe this is just a mechanism to keep me from putting something in there that might cause an exception. Consider the fol...

Switch to other thread while debugging session in Visual C# Express 2008

I have app that uses two threads: one thread for regular application work and another that does some background processing. When I debug my app and have a error message displayed I click pause to get to the line when this error ocurred. But unfortunately I'm redirected to current line of the second background thread. My question is: ho...

"Undo" feature in Visual Studio 2008 stops working

I'll be coding along in Visual Studio 2008, and eventually I make a mistake. I press CTRL-Z to undo and NOTHING HAPPENS. I'm not talking about anything complicated, like undoing a search and replace across multiple files that weren't open. I am talking about undoing a cut / paste action, or simply the typing of text. It's so frustrating...

Problem with Installing Windows Service Project

Hi, I am trying to make a Windows Service Project using Visual Studio Team Suite 2008. After building the project I am not able to install it into ‘Services’ using InstallUtil tool or through SetUp Project. May I know what could be the reason? Would you please also refer a best tutorial link for this. I Googled and tried different...

OpenCV can't read image!

I am using this code: #include <stdlib.h> #include <stdio.h> #include <math.h> #include <cv.h> #include <highgui.h> #include <cxcore.h> #include <cxtypes.h> int main(int argc, char* argv[]) { IplImage* img = cvLoadImage( "dow2oc8.png" ); cvNamedWindow( "Example1", CV_WINDOW_AUTOSIZE ); cvShowImage("Example1", img); cvWaitKey(0); ...