visual-studio-2008

Downgrade C# Project from visual studio 2010 to visual studio 2008

I wrote a visual c# 2008 windows form application ,then i edited the code in a computer which had visual studio 2010,but i can no longer run it in visual 2008,is there a way i can do this? ...

Supress output from Visual Studio output pane (C++)

When I run my Win32 project in the Visual Studio debugger, I get this huge screed of output about which DLLs were loaded, first-chance exceptions, and so on. Is there a way that I can suppress this output? Some day, I might want to know when 'C:\Windows\SysWOW64\ntdll.dll' was loaded, but normally I don't care. This is especially tru...

deploying winform application with embedded sqlite

Hello Good people!! I'm deploying a winform application built with vs 2008 0n XP sp3. I created a database with empty schema which i dropped in the root folder of the project and in properties i choosed Build Action: Embedded Resources and Copy to Output directory : Copy always. Now instead of having connectionstring in the app.config...

Building a DLL via Maven with mojo-native

I can build a simple dll consisting of a source file, a header file and a definition but now I am progressing beyond a simple toy dll and working towards something more real (ie: more complex). The DLL I am trying to compile has 2 source files, 2 headers and the dreaded stdafx pair. To compile normally you would use /Yc for the pch and...

Windows 7 64 / Visual Studio 2008 / OpenCV2.1 error: "The application was unable to start correctly (0xhex).."

Hey all, I'm building OpenCV2.1 from top of branch in 64 bit mode, when I link the libraries against my code (that works in 32 bit mode on XP), I get the dialog: "The application was unable to start correctly (0xc0150002) Click OK to close the application" When I start the application. The event viewer is pointing at one of the OpenC...

New to C# and Visual Studio 2008 windows mobile 6.0 sdk.

Hi does anyone have great examples or any suggestions on Visual Studio 2008 smart device windows mobile 6.0 project coding examples? I'm new to it and wish to develop an app on accelerometer and on Samsung Omnia mobilephone. Will really be grateful if there's any help from pros around here :). Oh and i have samsung windows mobile SDK in...

VS API to facilitate a process to automate fixing of code breaks after refactoring.

I have found myself countless times reorganizing our solution (72 + projects), in efforts to reduce code. A lot of times it involves pulling out common types/libraries and moving them around. It always involves a reptitive compiler error so i am having to fix the same compiler error in a lot of different places. I am looking for a gu...

HRESULT exception not caught in VS 2008

Hello all, I've got a stange situation in visual studio 2008 C++. I work on code that was originally written for visual studio 2003, where everything works well. Now, ported to VS 2008, the exception handling, which unfortuantely exists widely in the code, does not work anymore. standard code example: try { HRESULT hr = S_OK; ...

How to go from physical location to a virtual folder in Visual Studio 2008?

I have a file open in Visual Studio. When I hover the mouse over its tab at the top. it tells me the physical location of the file. In the solution explorer I only see virtual folders, however. I wish to quickly browse to all other files in the same project. How can I do that? Thank you. ...

Windows update breaks dlls?

I'm compiling a project which uses multiple DLL and compiles with VS2008. After a recent windows update DLLs compiled on my computer stopped working on other computers. After some investigation it turned out that it updated the CRT redistributable library which I'm compiling with from version "9.0.21022.8" to version "9.0.30729.4148" T...

Convert C# (with typed events) to VB.NET

I have an ASPX page (with VB Codebehind). I would like to extend the GridView class to show the header / footer when no rows are returned. I found a C# example online (link) (source). However, I cannot convert it to VB because it uses typed events (which are not legal in VB). I have tried several free C# to VB.NET converters online, ...

How to publish via ClickOnce from one domain to the other?

Hello I am trying to deploy an application via Clickonce from one domain, where I'm logged in as DOMAINONE\Irwin to another, where I am granted permission via DOMAINTWO\deployer. When I try this, Visual Studio (2008) reports: Unable to access \\DOMAINTWO\publishfolder. Any advice on how to accomplish this? ...

Data warehousing in sql server 2008

Hi All: I am new to data warehousing and I am a little confused plz provide some simple steps to create a cube and fill it and make querey on it to know : I have a database with the original data and I have designed the star schema and made appropriate tables I have created an analysis service project in VS 2008 and then I have made the ...

is there a way to revert a changeset in visual studio 2005

Hi All, Is there a way to revert changes for a particular changeset in visual studio 2005 and tfs/2005? Thanks, rod. ...

Use msbuild community tasks without installing

In our developer environment, no users have administration rights. As such, it's not possible to install MSBuild.CommunityTasks without getting admin to do so. What I'm wondering is similar to NAnt, i.e. is it possible to include the files in your solution directory, and just reference it from there? This way, will not matter if the pe...

Need Simple way to access XML in VB.Net - Pain with Linq-to-Xml

Dim myXDoc As XDocument = _ I want to access this in a simple way in VB.Net - Like: Dim Integer SizeXStr = CInt(MyZDoc.Cameras(1).Camera_Desc.@SizeX) ' where (1) is an index Why isn't this ...

Visual Studio 2008 Add-in: App.config and web services.

I have created a visual studio add-in for VS2008. The add-in uses as web service to access data required by the developer. However, currently the only way to get the service to work is to add the service bindings to the machine.config of the pc. I know this is a bad idea and its causing errors left and right in my other applications. ...

Visual Studio Colour Settings

I've got a custom colour set in Visual Studio and one of the colours when debugging is making things a bit of a misery. Unfortunately I can't figure out which one it is, and when going through and changing all the light background ones, it still remains. Can anyone point me in the right direction? In this screenshot the current line is ...

Using IIS for localhost ASP.NET web app very slow to rebuild

Hi, We use IIS to host our Visual Studio 2008 apps (ASP.NET 2/3.5) on localhost as opposed to Cassini. The only problem with this approach (I'm using IIS7 on Windows 7, but the problem also exists on XP with IIS 5.1) is that after each compilation IIS takes 1 whole minute to respond to the first request. I assume it's doing its own com...

IntelliSense and Folding Editor Not Working in Visual Studio 2008 SP1 for Certain Files Only

Ok, I have an issue that is driving me nuts. In certain xaml files only, neither IntelliSense nor the folding editor is working. I have noticed that if I delete the local namespace and add it back, the folding editor starts working. If I delete the local namespace and don't add it back, IntelliSense starts working as well. Of course, I...