Results 1 to 9 of 9

Thread: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2013
    Posts
    330

    Resolved [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:
    Name:  VB6-ERROR.png
Views: 27290
Size:  8.5 KB
    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.

  2. #2

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2013
    Posts
    330

    Re: System Error &H80004005 (-2147467259). Unspecified error

    Never mind, I solved this problem myself, thanks anyway

  3. #3
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: System Error &H80004005 (-2147467259). Unspecified error

    Quote Originally Posted by Coding View Post
    Never mind, I solved this problem myself, thanks anyway
    hi, sir, i am facing the same issue. can you tell me how you solved that?

    i have tried a lot but nothing works ;(

    your kind help will be highly appreciated

    best regards

  4. #4
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error

    hello?

  5. #5

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2013
    Posts
    330

    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

  6. #6
    Hyperactive Member
    Join Date
    Dec 2009
    Posts
    340

    Re: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error

    Quote Originally Posted by Coding View Post
    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

    however, thanks for your reply though

    best regards

  7. #7

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2013
    Posts
    330

    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.

  8. #8

    Thread Starter
    Hyperactive Member
    Join Date
    Dec 2013
    Posts
    330

    Re: [RESOLVED] System Error &H80004005 (-2147467259). Unspecified error

    ...................
    Last edited by Coding; Feb 27th, 2015 at 12:10 AM.

  9. #9
    New Member
    Join Date
    May 2012
    Posts
    6

    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:
    Name:  unselect_in_project_properties.jpg
Views: 22230
Size:  49.5 KB

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width