visual-studio-2008

Stumbling points when going from 32 to 64 bit

I recently received a PC running Windows 7 for future development as this will be closer to our production environment. I was in the middle of working on a solution on my old machine (Windows XP 32 bit), but decided to start working on it with the new box to try to work out any kinks. I have visual studio 2008 installed on both boxes. T...

Why doesn't my visual studio 2k8 C++ project work with unicode characters?

I am trying to get unicode working on windows in a visual studio 2k8 project, and I am not sure why I can't get my project to work. My machine has all the Eastern language support installed. I went to properties->project defaults->character set: and it is set to "Use Unicode Character Set". Here is my test code: #include <stdio.h> #incl...

WCF REST web service: contract name cannot be found

I am using WCF REST Start kit to build a RESTFul service. I defined a service like this: namespace MyNS { [ServiceBehavior(IncludeExceptionDetailInFaults = true, InstanceContextMode = InstanceContextMode.Single, ConcurrencyMode = ConcurrencyMode.Single)] [AspNetCompatibilityRequirements( RequirementsMode = AspNetCompatibil...

Settings needed for IIS 7.5 with simple MVC2 Application through VS2008 Windows 7

If anyone can make the following combination work for Debugging purposes I would be very grateful if I could get a copy of the settings you are using for VS and IIS.(authentications, etc) I have been trying to get the IIS to work for debugging for 3 days to no avail. Tried every possible config i can think of. ...

Visual Studio 2008 ASP.NET MVC 1 (3.5 framework) Application to Mono 2.4.4 on Apache 2.2.14-5 on Ubuntu 10.04 Deployment

This is my scenario: Development Environment: Visual Studio 2008, Windows 7 Deployment Environment:; Ubuntu 10.04, Apache 2.2.14-5, Mono-runtime 2.4.4.(mono-server2 for ASP.Net 2.0 applications) I have all the dependencies installed. I'm simply trying to create an ASP.Net MVC 1 web application in Visual Studio and deploy it to Apache wi...

Issue using HoverMenu Extender

Hi, I am trying to use HoverMenu extender from AJAX toolkit in Visual Studio 2008. But after adding extender while clicking on "Add Dynamic Populate page method" option, it is throwing the below error message. Cannot create page method "GetDynamicContent" because no CodeBehind or CodeFile file was found! Any idea to solve? ...

Can't import my own Visual Studio Settings

I've been having problems with the windows and toolbar layout not being remembered between sessions and, having followed all the advice and suggestions posted here and elsewhere, I decided that the simplest thing to do would be to create the layout I wanted and export it and then just import it again at the start of each session. So, I ...

Find and Replace Dialog in VB2008

how to create a find and replace dialog using microsoft visual basic 2008 express edition ...

GET webrequest parameters

I am sending a GET request to a site and would like to know what would be the proper way to do this based on the following parameters. Host: www.somesite User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.6) Gecko/20100625 Firefox/3.6.6 GTB7.1 ( .NET CLR 3.5.30729; .NET4.0E) Accept: text/javascri...

onclick event activation

I am sending web requests to a site and getting the responsestream and would like to perform the button click programatically, here is the tag for the event: <a href="#" onclick="getResults('apple', 2); return false;" id="nextLink" class="next button_grey_sm">Next &raquo;</a> any ideas appreciated? ...

Can you turn off (specific) compiler warnings for any header included from a specific location?

I've got a third-party library that generates a ton of warnings, even under /W3. Is there a way for me to tell the compiler, "disable C4244 for any file included from this directory, or its subdirectories"? Of course, I don't want to disable the warning in our own codebase, nor do I want to have to track down every possible include and...

Is "&#160;" a replacement of "&nbsp;"?

In my ASP.NET application, I was trying to add few white spaces between two text boxes by typing space bar. The equivalent HTML source was &#160; instead of &nbsp;. So I just wanted to check: is this the new replacement for white space? If yes, any idea why they changed? ...

Visual Studio 2008 started using C++ syntax when debugging a C# project!

Has anyone ever experienced this ? Out of the blue, Visual Studio 2008 started using C++ syntax when debugging a C# project, even though I've probably never even opened a C++ project on this computer (it's installed though). Restarting visual studio and the computer does not help, is there a way out of this without reinstalling Visual...

Visual Studio 2008 not Aligning Stack Variables?

I'm trying to read an avi file in OpenCV 2.1, VS2008 standard for 2 days now with no luck. I constantly get this message in the program console: Compiler did not align stack variables. Libavcodec has been miscompiled and may be very slow or crash. This is not a bug in libavcodec, but in the compiler. You may try recompiling using...

Visual Studio - I want "Go To Definition" to open Object Browser, not "metadata"

In Visual Studio version 2002 and 2003 "Go To Definition" would find the selected type or member in the Object Browser. In 2005 onwards it opens a source window "generated from metadata" instead. How do I configure these newer versions to go to Object Browser? (In other words, I have the opposite problem to this one.) Installing ReSharp...

How to add files to a Resx while maintaining original paths?

I've got a folder of files I'd like to add to my project resource file (Resources.resx). Normally, when I add files, they are copied into the project directory. Is there any way I can tell Visual Studio to not copy them, but instead reference them using relative paths? Relative paths work when I edit the resource file manually, but I'd ...

Visual Web Developer Question

Hi Team, Whether the download available in the following location include Service Pack 1 for Visual Web Developer 2008 Express Edition ? http://www.microsoft.com/express/Downloads/#%20 (Please refer Visual Studio 2008 express tab) Please help.. Thanks Lijo ...

VisualSVN is installed but not recognized as Source Control

VS08 Pro - i've installed Tortoise then VisualSVN. VS shows a VisualSVN and i can 'Get Solution From Subversion'. However, the File menu's 'Source Control' item offers a 'Add Solution to Source Control' - it looks like everything expects to be dealing with Team Foundation servers and doesn't know anything about Subversion. The VisualSVN...

Slow startup of Visual Studio 2008; waiting at "Loading UI Library" (msenvui.dll) step

As of this morning, Visual Studio 2008 is taking a long time (order of minutes) to startup on my machine. I ran it with logging enabled (devenv.exe /log "C:\log.txt") and found that it is pausing at/after the following log entry: <entry> <record>9</record> <time>2010/07/19 10:12:35.101</time> <type>Information</type> <source>M...

Moving projects files in a .NET project.

It's not code-related but IDE related. I'm working on a .NET solution with about 35 different projects. These projects need to be re-organized into a new folder structure. Why? Because about 10 of those will be removed and the rest will be divided in more logical units. One way to do this is by creating a new solution, Drag&Drop the proj...