'Failed to create component 'AxHost'

I am using Visual Studio 2012 Ultimate. I simply create a new Windows Application form, now when I move Shockwave Flash Object to my form I received the error Failed to create component 'AxHost'. I also download and install the Visual Basic 2010 and same thing is happening there.I also installed the latest .Net 4.5. What is missing in my PC or in my Project?

enter image description here



Solution 1:[1]

To resolve this problem you should manualy register Flash ocx component.

To register ocx component you should use Regsvr32 (ms support):

Regsvr32 [/u] [/s] <OCX File Name>

Flash ocx file path is typically:

C:\Windows\System\Macromed\Flash (Windows 95, 98, WinME) C:\WinNT\System32\Macromed\Flash (Windows NT, 2000) C:\Windows\System32\Macromed\Flash (Windows XP, Vista, 7) C:\Windows\SysWOW64\Macromed\Flash (Vista, 7)

Example:

 regsvr32 C:\Windows\System32\Macromed\Flash\flash.ocx

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 kmatyaszek