visual-studio-2008

Expression Encoder properties not correct

I am using Expression Encoder SDK in Microsoft Visual Studio 2008. I have been trying to get a feel for the sdk and been experimenting with the dlls. The problem I am having is every MediaItem I create does not get the properties right. I print out the video size, frame rate, ect and most of the properties are not the same as the video c...

IE 8 and javascript debugger

I upgrade my IE last week, and now i can't disabled the javascript debugger for visual studio 2008. The checkbox in the IE options are uncheck but the debugger in visual studio still enable. Any idea ? ps : I got Ie 8.0.6001.18783 ...

Listing header files in Visual Studio C++ project generated by cmake

Hi, I'm building a cmake based build system for our product. The problem is that Visual Studio project, generated by cmake, doesn't display header files in solution browser. What I need to add in CMakeList.txt to list header files? The preferred solution is where no need to list each particular header file. Solution Here is a solution...

Launching NUnit from Visual Studio can't load nunit.uikit.XmlSerializers

I have set my Visual Studio to start Nunit as an external program to run all the tests written in a module. It gives me this error: Could not load file or assembly 'nunit.uikit.XmlSerializers, Version=2.5.0.9122, Culture=neutral, PublicKeyToken=96d09a1eb7f44a77 but if I run it from command-line: nunit.exe Tests.dll it launches just fi...

Validating dropdownlist OR textbox

I have a page where a user can either select a vendor via dropdown or enter a vendor number via textbox. One or the other must have a value. I can do this in javascript easily but how can I do this using a custom validator provided by ajax all on the client side? Edited Protected Sub ImageButton1_Click(ByVal sender As Object, ByVal e ...

Visual Studio 2008 - speed up Add Reference

Is there any way to speed up the Add Reference dialog? For example, has anyone found any way to open it by default in the Recent or Browse tabs (which is what I use 90% of the time), to avoid the other tabs' slowness? All I have found is this blog post where a lot of people complain about this issue, but no solutions... Note that this ...

UserControl cannot be displayed in Designer - null object reference

I have a created a UserControl with a combobox in it. This combobox is populated from a xml, when this is not present, it is loaded from resource file. It works fine in the program, but it can't be displayed in designer - it says: "Object reference not set to an instance of an object." In the class responsible for loading the list from ...

Why do I get Oracle connection errors only in a VS 2008 web app/site project?

Using Visual Studio 2008 on Vista 64 bit, if I create a test web site or web application that looks like this... public partial class _Default : System.Web.UI.Page { protected void Page_Load(object sender, EventArgs e) { OracleConnection connection; connection = new OracleConnection("User Id=user;Password=userpa...

Web user control usage

Is there a simple way to determine where web user controls (wuc) are used in a solution? I'm trying to get an overview of what's going on in a rather big applications, where I have a large number of wuc's, used both in aspx and nested in other wuc's. Any suggestions are welcome. :) ...

How to interpret "error C2018: unknown character '0x40'?

While compiling some code I receive the following: "error C2018: unknown character '0x40'" I wonder how to resolve such issue? ...

How to build and run a data-generating tool in a Visual Studio build?

My main project builds some software that requires a data file ('image' below). This image is generated by another program that I can build in another project. I would like to automate all this in one Visual Studio (2008) solution. In summary I have the following dependencies: software.exe should only be run if image exists software.e...

How can I get the Visual Studio 2008 built-in installer to overwrite an install?

I want to blow away the already installed version of my app without bothering the user to uninstall before installing a new version. Here are the Deployment Project Properties that I have set: AddRemovePrograms Icon(Icon) Author Justin Tanner Description DetectNewerInstalledVersion False InstallA...

How to resolve "LINK : fatal error LNK1561: entry point must be defined"?

Guys/gals: How can I resolve the following linking error: "LINK : fatal error LNK1561: entry point must be defined". What I was trying to do is simply recompiling MySQL Storage engine example with Visual Studio 2008. ...

Can I define custom "surround with" templates in Visual Studio 2008?

Can I define custom "surround with" templates in Visual Studio 2008? ...

What happend to the visual XSD editor in to the Visual Studio 2008?

Visual Studio 2005 has an excellent visual XSD editor: In VS 2008 I cannot find it anymore ... ...

VS2008 Team compiles the previous code version even after "getting the latest version". How do I fix that?

I work in VS2008 Team. I get the latest version from the team server. I try to compile the new version, but VS2008 somehow tries to compile the previous version. Even though I restart my PC, the VS does not compile the latest version, but the previous one. What am I doing wrong? ...

Chromium Build Fails on Windows

I am attempting to build Chromium for windows (using Visual Studio 2008 SP1) and it fails with about 37 errors. Here's a selection: Error 1 error LNK2005: "wchar_t const * const switches::kProcessChannelID" (?kProcessChannelID@switches@@3QB_WB) already defined in ipc.lib(ipc_switches.obj) common.lib chrome_dll Error 2 error LNK2005:...

Customize the shape of a scatterview

I'm currently using the Surface SDK 1.0 in Blend and VS2008, and I've encountered a problem: I use a scatterview over the whole screen. I also have a grid in the middle of the screen. The panel in the middle is quite annoying because my scatterviewitems can easily get lost BEHIND the grid, and since the grid is locked in position, there ...

Sudden changes to Visual Studio

Hi there, I've have been using Visual Studio 2005, alongside Visual Web Developer 2008 to create asp.net web-apps in vb. I recently installed Visual Studio 2008 alongside these, along with AnkhSVN - and have noticed a few changes which are causing issues! The most noticable is that in my solution explorer (I'm creating asp.net apps i...

In Visual Studio 2008, Right-Click on a Data Connection in Server Explorer > New Query, Can I change it to open a T-SQL Editor?

I hate the standard Query window that comes up when you select new query on a data connection in server explorer, I'd much rather have a T-SQL Editor come up. Is this possible? Maybe not replace that functionality but a shortcut key or something that would bring up a T-SQL editor? ...