I cannot add flash on my form... the error says "Class not registered" Here is the picture but I have already registered by this way " regsvr32 C:\Windows\SysWow64\Macromed\Flash\flash10c.ocx" Also I have registered the Reference in COM And I can browse the Youtube via my computer well, so the problem not from Flash Player..!!! So what is the problem? | | MHB300 | The COM object you are using (Flash) is a 32bit component. You need to make sure to set your platform target for your application to x86. Otherwise, your application will compile as a 64bit application, which will make it not be compatible with the 32bit COM object. Set the platform target to x86 for your main application, and it should correct this error.
Reed Copsey, Jr. - http://reedcopsey.com- Marked As Answer byMHB300 Thursday, August 06, 2009 2:23 AM
-
| | Reed Copsey, Jr. | Yes, SysWow64 is the directory where 32-bit components are stored. The 64-bit components are in c:\windows\system32. Awesome naming, isn't it. Backward compatibility is a drag. In the Visual Basic IDE: Project + Properties, Compile tab, scroll down, Advanced Compile Options, Target CPU = x86.
Hans Passant.- Marked As Answer byMHB300 Thursday, August 06, 2009 2:23 AM
-
| | nobugz | catch on... Thank you so much I did like what you said "Set the platform target to x86 for your main application, and it should correct this error" Thank you....... - Marked As Answer byMHB300 Thursday, August 06, 2009 2:23 AM
-
| | MHB300 | Is your application setup to target Win32? You won't be able to use this COM object if you're targetting 64bit Windows.
Reed Copsey, Jr. - http://reedcopsey.com | | Reed Copsey, Jr. | Project + Properties, Build tab, Platform Target = x86.
Hans Passant. | | nobugz | sorry, I do not understand what do you mean? Which application do you mean? Do you mean my project? This is a path for the Flash Player .... C:\WINDOWS\SysWOW64\Macromed\Flash This is a path for Actually, I have a COM in my VB.net Look at the picture... http://img15.imageshack.us/img15/2005/333wtm.png Mr.nobugz ..... could you explean more plese? | | MHB300 | The COM object you are using (Flash) is a 32bit component. You need to make sure to set your platform target for your application to x86. Otherwise, your application will compile as a 64bit application, which will make it not be compatible with the 32bit COM object. Set the platform target to x86 for your main application, and it should correct this error.
Reed Copsey, Jr. - http://reedcopsey.com- Marked As Answer byMHB300 Thursday, August 06, 2009 2:23 AM
-
| | Reed Copsey, Jr. | Yes, SysWow64 is the directory where 32-bit components are stored. The 64-bit components are in c:\windows\system32. Awesome naming, isn't it. Backward compatibility is a drag. In the Visual Basic IDE: Project + Properties, Compile tab, scroll down, Advanced Compile Options, Target CPU = x86.
Hans Passant.- Marked As Answer byMHB300 Thursday, August 06, 2009 2:23 AM
-
| | nobugz | Hello HHHH Awesome wooow 64 times ;) Actually, my computer is 64bit, but I am confuse about it because I have these........ System System32 SysWow32 Program Files (x86) look at the pictures..... http://img269.imageshack.us/img269/6010/666o.png http://img269.imageshack.us/img269/8939/555zut.png But from computer's proprieties is 64bit http://img269.imageshack.us/img269/9697/444hot.png You said that I have to instill Flash Player, but I cannot chose path to instill the Flash Player in it. | | MHB300 | catch on... Thank you so much I did like what you said "Set the platform target to x86 for your main application, and it should correct this error" Thank you....... - Marked As Answer byMHB300 Thursday, August 06, 2009 2:23 AM
-
| | MHB300 |
|