# FLash and VB compatibility?

**URL:** <https://forum.kirupa.com/t/flash-and-vb-compatibility/312647>\
**Category:** programming\
**Created:** [August 9, 2010, 11:34pm UTC](https://forum.kirupa.com/t/flash-and-vb-compatibility/312647 "2010-08-09T23:34:47Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Chief\_Ed](https://avatars.discourse-cdn.com/v4/letter/c/58f4c7/32.png) [@Chief\_Ed](https://forum.kirupa.com/u/Chief_Ed)\
**Post date:** [August 9, 2010, 11:34pm UTC](https://forum.kirupa.com/t/flash-and-vb-compatibility/312647/1 "2010-08-09T23:34:47Z")

</div>

Hi!

Well, I went on a cognitive sabbatical, and all heck broke loose.

I last compiled my program in November of 2009, then I moved on to other endeavors.

I have returned to make some code enhancements and my source code will not compile anymore. I have narrowed the problem down to a recent download of the latest flash10h.ocx. None of my programs that include FLASH (even the simple demo programs) now compile.

I went online to look for a fix, and the only one I found advised me to rename the flash\*.ocx to flash.ocx and re-run regsvr32.

No dice.

If I remove the flash element, no problem saving and creating an executable. Add it (FLASH elements) back in, and when I try to save the file, I get the following error…

“System Error &H80004005 Unspecified Error”

Is there a new trick to this?

Environment:  
Windows XP Professional Version 5.1.2600 SP3 Build 2600  
VB6 (SP4) Version 8862  
SWF created in FLASH 8 (and earlier)  
Latest Flash OCX (flash10h.ocx)

* * *

Since my original problem,  
I have downloaded and ran the latest service pack, VB6 SP6 (not [VB.NET](http://VB.NET)).

I still get the exact same error.

The project has multiple forms (13), class modules (4), and code modules (six). Three of the forms have FLASH objects. I can make changes to any of the forms and modules, and I can run the program in debug mode within the VB environment. Everything works. I can even create an executable with the changes. Wehen I try to save changes to the forms or modules, they are saved without issue. UNLESS the form has a FLASH element on it. Somehow, an attempt to save changes to a form with a FLASH element causes the \*.vbx file to disappear, and as a result, all of the images are wiped out. Since this is the resource file, that makes sense, but I don’t understand what is going on.

Curiouser and curiouser…  
[RIGHT] ![](http://forums.devx.com/images/misc/progress.gif)[/RIGHT]
