Deploying Visual studio 2005 build MFC application

I have a MFC windows application orginally programmed in vc++ 6.0.I build the application in Microsoft Visual Studio .NET 2003 and able to deploy in windows xp embedded PC without installing any .NET framework in the target PC.I just compiled the code with 'use MFC in shared dll' option and carried MFC70.dll,msvcp71.dll and msvcr71.dll with the EXE.I m able to run the application without any problem.

When I compiled the same application using 'Microsoft Visual Studio 2005' and deploy in the target windows xp embedded PC (without installing any .NET framework) , I get the following error.

"This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem."

I copied the required dependencies mfc80.dll,mfc80.dll and msvcp80.dll along with the EXE in the target PC.

I have the following queries regarding deploying application build in 'Microsoft Visual Studio 2005'

1.Do i need the framework to be installed in the target PC always?Is it not possible for me to just carry the required dependencies like when I built using 'Microsoft Visual Studio .NET 2003'?

2.Say,If I create an .NET activex and use it in my webpage.When the user browse the page, the activex will get installed in the PC and user can access to that activex.In this case for all the PC using this webpage , do I need to install the .NET framework to access the activex?

If I have a .NET activex that can be called when an user browse a particular page, the activex will get installed in the target PC.In that case, should the target PC must be installed with this runtime?

Setup and Deployment project in Visual Studio can create cabinet file for ActiveX control. Add such project to your ActiveX solution. Inside of project, add VC++ Runtime as prerequisite. Having this installation package, you can place ActiveX control on WEB page. When page is opened on client computer, VC++ 8.0 runtime is installed from cabinet file.

If the .NET already installed in that PC,will it try installing again.I ask this to check if the time taken for vc++ 8.0 runtime installation in the target PC to run the activex can be reduced for the PC which is already installed with the framework.

zlib is a free compression library (a DLL) on which the popular gzip utility is built. In this article, we'll see how to use the zlib functions to compress and decompress data in memory; that is, without needing to use a temporary file. We'll be c…

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…

This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel.
Part 1 of this series discussed basic error handling code using VBA.
http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…