[RESOLVED] System Error &H80004005 (-2147467259). Unspecified error
Hi everyone,
I'm getting this error when ever I try to save my project with a Flash control in it:
First of all, I would like to let you all know that I searched the forum for this thread,
And yes, there are few thread with this same info related to my question, but after
trying all those suggestions on those thread I still not able to solve my problem.
All I know is that FLASH.OCX could not use v10 or v11, it must use an old version.
I can't understand, I always been using this method on my projects with any .swf
and never had any problem with it, it just start it, and uninstall my VB and install it
back, but still the same, the error is not letting save my project, compile it, nothing!
I tried this fix from one of the thread I found in this forum:
1.) Download the ocx www.afreeocx.com/ocx/info/flash10e_ocx.html
2.) Find the original ocx (C:\WINDOWS\system32\Macromed\Flash)
3.) Rename the original .ocx to something like Flash10hREAL.dll
4.) Copy Flash10e.ocx into the folder and rename to Flash10h.ocx
5.) Restart computer - PROBLEM SOLVED!
But this fix some how did not worked for me.
My project is very simple, a form and a Flash control and here is my code:
Private Sub Form_Load()
ShockwaveFlash1.Movie = "C:\File.swf"
ShockwaveFlash1.Play
End Sub
Would be nice if some one could help me out, thanks in advance
Last edited by Coding; Dec 13th, 2013 at 08:40 AM.
Re: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error
I sent you a message, but anyway try to follow the instructions I posted on post#1
Download this ocx from this site: www.afreeocx.com/ocx/info/flash10e_ocx.html
Then find the original ocx in: "C:\WINDOWS\system32\Macromed\Flash"
Rename the original .ocx to something like Flash10hREAL.dll
Copy Flash10e.ocx into the folder and rename to Flash10h.ocx
Restart your computer
Re: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error
Originally Posted by Coding
I sent you a message, but anyway try to follow the instructions I posted on post#1
Download this ocx from this site: www.afreeocx.com/ocx/info/flash10e_ocx.html
Then find the original ocx in: "C:\WINDOWS\system32\Macromed\Flash"
Rename the original .ocx to something like Flash10hREAL.dll
Copy Flash10e.ocx into the folder and rename to Flash10h.ocx
Restart your computer
hi, thanks for your reply..
but your solution has few issue:
1. version is very old and security issue
2. my other projects what i have saved long time ago. still works fine with flash object and it's nothin wrong there. But few project where flash is not used and if i place and try to save the project then got that error
Re: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error
You right about that, it happen to me too, the same thing, but you can backup the files and try,
I did the same thing, then I went back to the one I had before and everything worked just fine.
Re: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error
Another Solution more easy is this code, work with all versions of flash ocx in VB6, the new and old: In components Check the Shockwave Flash
In the Project Properties UnCheck this CheckBox:
At declarations of the Form put: Private WithEvents ShockwaveFlash1 As ShockwaveFlash
At Form_Load put this: Set ShockwaveFlash1 = Form1.Controls.Add("ShockwaveFlash.ShockwaveFlash", "ShockwaveFlash1")
And set the properties you like, work, and save the project without the error...
The only problem I not solved is make the Flash Control Background Transparent, for Make Flash Control Transparent in VB6 appear to be need to put the WMode Property at Desing Time, appear to be need have the Flash Control in the Form before run, and with WMode = Transparent in the properties of the flash control at Desing Time - by default the control have the WMode = "Window", incl;usive loaded with code only, and in code not work change to "Transparent", in Desing Time if put WMode = "Opaque", work change to Transparent, but how I comment, I not find solution for Make the Flash Transparent if Loading with Code, not put in the Form at desing time -...
And well, if a Flash Control are in the Form at Desing Time, when save the Project, do the error System Error &H80004005 (-2147467259)...
I Leave an example...
Good day...
Last edited by Javier Reinoso; Mar 2nd, 2015 at 01:39 PM.