hi all
I have a problem with the error message "System Error & H80004005 (-2147467259)", this happens or appears when I make a program with VB6 and now I have created a program that will save me.

Please enlightenment, thanks for the help

Dani AI

Generated

reported an IDE save-time failure that manifested as "System Error &H80004005 (-2147467259)". That HRESULT is the generic COM failure E_FAIL — an unspecified failure returned when a COM object (often a design-time ActiveX) fails while the IDE is trying to persist form data. (learn.microsoft.com) asked the right question about when it happens; pointed toward Microsoft guidance that explains how these errors surface when a control misbehaves at design time. (learn.microsoft.com)

Practical checklist (make a full backup before editing project files):

  • If a third-party ActiveX sits on a form, it can cause the IDE to fail while writing the form’s PropertyBag; binary property data is kept in the companion .frx file, so removing or replacing the control (or its property block in the .frm) can let the project save again. (stackoverflow.com)
  • To change or reinstall the system ActiveX, unregister/register the OCX from an elevated prompt. Use the 32-bit regsvr32 under SysWoW64 for 32-bit OCXs on 64-bit Windows. Example commands:
regsvr32 /u "C:\Windows\System32\Macromed\Flash\flash.ocx"
%windir%\SysWOW64\regsvr32 "C:\Path\To\flash10c.ocx"

Run these as Administrator and follow Microsoft regsvr32 troubleshooting steps if you see errors. (support.microsoft.com)

Cautions and alternatives: reverting to older Flash binaries may restore functionality but carries security risk — Flash is end-of-life and no longer updated, so prefer to remove the dependency or replace the UI piece with a non-Flash solution (host a small launcher, use an external player, or migrate SWF content to modern formats). (adobe.com)

Recommended Answers

All 7 Replies

but that error is shown when building, in design time, run time,...?

If you google it you get

error message appears when the program will be stored, development current form is not a problem,
when I run the program is also not a problem

@reverend Jim

I've seen the link you gave, I will try but it seems rather complex.
thanks in advance

@reverend Jim

in your link from microsoft, in the "resolution" is recommended to add the following additional declaration:
Private Declare Sub InitCommonControls Lib "comctl32.dll" ()

if I add it when stored error remains the same, then I change it to
Public Declare Sub InitCommonControls Lib "comctl32.dll" ()

the sub play, then I save the program again and error is gone, what will affect the way I again ?

thanks in advance, I hope your comment

@reverend Jim

I have tried by adding
Private Declare Sub InitCommonControls Lib "comctl32.dll" ()
taking on the form of the component Comctl32.Ocx control and on Form_Load, I call InitCommonControls but the results remain the same when the program turns out I save error message "System Error & H80004005 (-2147467259) Unspecified Error" still appears

please help, thanks in advance

hi all,
thank's for your help, btw i have been solved this problem
the answer is FLASH.OCX could not use version 11, must use old version

Bless the lord,

commented: Great +14
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.