IE7 and VS2005#

I was working on a sample application to demostrate Compact Framework 2.0 new COM Interop feature which was going to be a managed application calling a COM component.  I needed to create the COM component but when I tried to create any Smart Device C++ project I would get a "project creation failed error" and the following script error

I had no idea what this error was and I knew it worked before and this was the first time I tried to create a C++ project after I installed IE7 so that must have been the culprit. 

Not wanting to uninstall IE7 because I have gotten used to it and like it, I did a little research and thanks to Amit Chopra there is a workaround for this.

<NOTE>This involves modifying the registry so do at you own risk.</NOTE>

  1. Close VS
  2. Start RegEdit.exe
  3. Find the following registry entry:
    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Ext\PreApproved
  4. Add a new entry and name it
    {D245F352-3F45-4516-B1E6-04608DA126CC} 
  5. Close RegEdit
  6. Start VS
  7. Try and create a Smart Device C++ project

Once you complete the above you will be able to see the wizard popup.   But when you are asked to selected an SDK you will notice there is nothing in the list.  There are items available you will just not see it.  Just click on the ListBox and navigate using your keyboard, you will notice the groupbox below the listbox changes.


Thursday, March 16, 2006 12:00:14 PM (Eastern Daylight Time, UTC-04:00) #    Comments [5]  | 

 

All content © 2010, Mark Arteaga
On this page
Related Sites
Archives
Sitemap
Disclaimer

Powered by: newtelligence dasBlog 1.9.7174.0

The opinions expressed herein are my own personal opinions and do not represent my employer's view in anyway.

Send mail to the author(s) E-mail

Theme design by Jelle Druyts