Kishore said:
HI
i am using VS 200g when i create MFC application no default files are
created ( ed. resource.h, .rc file and other .cpp files). in 3 yrs
first time i am facing such problem. i reinstalled whole visual studio
same installation works fine in other machine and it was wrking fine
till last week even after whole reinstallation i am facing same
problem
Just reinstalling without *completely* removing the old installation won't
help. Follow the instructions here to completely remove VS 2005, then
reinstall:
http://msdn2.microsoft.com/en-us/library/ms246604(VS.80).aspx
In addition, you may need to follow these manual steps:
Warning Serious problems might occur if you modify the registry incorrectly
by using Registry Editor or by using another method. These problems might
require that you reinstall your operating system. Microsoft cannot guarantee
that these problems can be solved. Modify the registry at your own risk.
The following method is not designed to remove everything that the
installation process installs on the computer. This method is designed to
remove items that have historically caused difficulty when a user tried to
re-install the product.
This method requires the MSIZap.exe utility. The MSIZap.exe utility is
included with the Microsoft Windows Server 2003 Service Pack 1 (SP1)
Platform Software Development Kit (SDK). To obtain the Windows Server 2003
SP1 Platform SDK, visit the following Microsoft Web site:
http://www.microsoft.com/downloads/details.aspx?FamilyId=A55B6B43-E24F-4EA3-A93E-40C0EC4F68E5
To manually remove Visual Studio 2005 from the computer, follow these steps:
1. Use the MSIZap.exe utility to remove Visual Studio 2005 product keys from
the registry. To do this, follow these steps:
a. Click Start, click Run, type cmd in the Open box, and then click OK.
b. At the command prompt, type CD\, and then press ENTER.
c. Locate the directory where the Windows Installer SDK has put the
Msizap.exe utility.
d. At the command prompt, type msizap TP { Product Code } , and then press
ENTER.
The product code depends on the product version that is installed. The
following is the list of commands that include the correct product code for
each product version:
.. Microsoft Visual Basic: msizap TP {164B10B9-B200-11D0-8C61-00A0C91E29D5}
.. Microsoft Visual C#: msizap TP {7E7D7935-B0C8-4032-80BA-2CDC9E43C3B8}
.. Microsoft Visual C++: msizap TP {AB6F4AB9-AC85-4002-9829-B6EEA55AE3A5}
.. Microsoft Visual J#: msizap TP {94160B78-D7C5-4706-8E03-9D8B3763C7DB}
.. Visual Studio Tools for Office: msizap TP
{324C61EA-256E-4DFD-BF2C-6D6E5A1271A0}
.. Visual Web Developer: msizap TP {221125DC-6A40-4900-B844-591F5E1195B0}
.. Crystal Reports: msizap TP {97358C99-E52D-42C7-8B7C-B59CC4425F4B}
2. Remove the components from Windows Component Update in Setup. To do this,
follow these steps:
a. Click Start, click Run, type installer in the Open box, and then click
OK.
b. On the View menu, click Details.
c. Right-click the Date Modified column header, and then click Comments.
d. In the Comments column, locate the Windows Installer file that has the
following title:
Microsoft Document Explorer 2005 - English
e. Right-click this cached Windows Installer file, and then click
Uninstall. Follow the on-screen instructions to uninstall this file.
f. In the Comments column, locate the Windows Installer file that has the
following title:
Microsoft Device Emulator version 1.0 - ENU RTL x86 enu
g. Right-click this cached Windows Installer file, and then click
Uninstall. (The cached Windows Installer file has the .msi file name
extension.) Follow the on-screen instructions to uninstall this file.
3. Use the MSIZap.exe utility to remove all Visual Studio 2005 Windows
Component Update product keys from the registry. To do this, run the
following commands, including the product keys:
.. Visual Studio 2005 Professional: msizap TP
{437AB8E0-FB69-4222-B280-A64F3DE22591}
.. Visual Studio 2005 Standard: msizap TP
{D407F7C0-579E-4CCB-91FD-855CE5084E86}Visual Studio 2005 Express: msizap TP
{577AD794-8B34-40B4-9E7A-BE4CFFE396E6}
4. Rename or delete the Microsoft Visual Studio 8 folder and the VS7Debug
folder. To do this, follow these steps:
a. Click Start, click Run, type %programfiles% in the Open box, and then
click OK.
b. Locate and then rename or delete the Microsoft Visual Studio 8 folder.
c. Double-click the Common Filesfolder, and then double-click the Microsoft
Shared folder.
d. Locate and then rename or delete the VS7Debug folder.
e. Close this window.
5. Delete the registry keys that remain. To do this, follow these steps:
a. Click Start, click Run, type regedit in the Open box, and then click OK.
b. Delete the following registry keys:
.. HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\VisualStudio\8.0
.. HKEY_CURRENT_USER\Software\Microsoft\VisualStudio\8.0
c. Exit Registry Editor.