Recently I had found a script error while adding variable and working with MFC application. I have already submitted the bug at Microsoft Connect (IE8 Beta) entitled “IE8 RTW is incompatible with VSTS 2008”. The bug is still active and hasn’t fixed so far but I got a workaround, offered by Visual C++ Team.

Bug description:

Internet Explorer 8 doesn’t work correctly with some VC++ wizards.  The products affected are Visual Studio 2005 and Visual Studio 2008.  Following are the affected wizards:

  • Add Function
  • Add Variable
  • Smart Device – New Project Creation
  • Smart Device – Add Class

Invoking any of the above wizards in VS2005 or VS2008 will pop up a script error if IE8 is installed on the machine.

“Object doesn’t support this property or method.”

VSTS_ERROR_IE8

Workaround method:

  1. Run Registry Editor and navigate to: HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Internet Settings\Zones.
  2. Now create a new key called 1000 (if it isn’t already there) and create the following DWORD value called 1207 and set its data 0×000000

For the workaround to work on VS2005 however, the VS2005 SP1 (and VS2005 SP1 Update for Windows Vista) has to be installed.

Thanks to Visual C++ Team!

For more detailed information: Visual C++ Team Blog

Leave a Reply

Your email address will not be published. Required fields are marked *