IE7 and VS2005

March 16, 2006 — 5 Comments

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:

  4. Add a new entry and name it

  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.

5 responses to IE7 and VS2005

  1. Ronny Zulaikha May 5, 2006 at 12:21 am

    Many thanks for this.
    I tried it and at first it did not work. I had copied and pasted the GUID into the registry editor. At first it did not work, because there is a space character after the GUID on the page. After I renamed the registry key to remove the space character, i was able to create the project.


  2. Jason Willhite June 26, 2006 at 10:22 pm

    Man, that totally worked! How in the crap did you know how to do that??

  3. MANY THANKS !!!

    I was looking for an hour on the web till now I got it working again.

    I have IE7 Release Candidate 1 installed and even there the error STILL EXITS!
    Imagine that nobody an MS concerned about this and fixed this problem.


  4. Thanks a lot.

    I have disappointed when I had known VS2005 and IE7 has this problem.
    Because I must create Smart Device Project at work and I’m used to IE7 already…
    But, I finally found this post after seeking around the web for a couple of days…
    I’m happy now for being able to use both VS2005 and IE7.~

    Thank you Mark.

    Sangho the AccGeON.

  5. Thank a lot for this post.
    But how do you fix that can’t see SDK ListBox ?
    It’s that have any effect?
    If I install new SDK like mobile5.0 ppc for vs2005, can I use that sdk normally?
    Thank you very much…..

Leave a Reply