DevX Home    Today's Headlines   Articles Archive   Tip Bank   Forums   

Results 1 to 6 of 6

Thread: VB No longer supports FLASH object

  1. #1
    Join Date
    Sep 2009

    VB No longer supports FLASH object


    Well, I went on a cognitive sabbatical, and all **** 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?

    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)

  2. #2
    Join Date
    Sep 2009

    Update #1

    I have downloaded and ran the latest service pack, VB6 SP6. I have also re-installed VB6, and uninstalled and re-installed FLASH10h.ocx.

    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....
    Last edited by Chief_Ed; 08-09-2010 at 10:46 PM.

  3. #3
    Join Date
    Nov 2003
    Alameda, CA
    Welcome to Dll ********
    I spend more time fixing problems related to that issue than anything else, because they are so hard to track down. It is even possible that the problem is not in the ocx itself, but in some library the ocx is using. And don't you love those very enlightening error codes: "System Error &H80004005 Unspecified Error"???

    I feel you pain my friend.
    Time to move on and forget Flash. In more than ten years of development, we throw away so many third party components that were more trouble than worth.
    Last edited by mstraf; 08-10-2010 at 12:59 PM. Reason: Look how many nice *'s I got :) Am I a General yet?
    "There are two ways to write error-free programs. Only the third one works."

  4. #4
    Join Date
    Sep 2009
    Well, THAT's discouraging.
    I am writing a pre-hospital simulator, and need the graphics and interactivity of FLASH.

    Any suggestions of what other product to use? WPF?

  5. #5
    Join Date
    Sep 2009

    Adobe is not compatible...

    It has been verified on the Adobe site: flash10h.ocx and the newest release, flash10i.ocx have a known compatibility issue with VB6...

  6. #6
    Join Date
    Aug 2010

    It could be a registry problem.

    All the issues I've had reciently are related with Registry errors. In the library of this website I found a program that is really helpfull. it let's me register all the files that VB does nor register.
    What I normally do is that I look for the object that is not registered (VB tells you which one is, in the formlog file), then I run the registry program, find that specific file and register it. This normally works for me.

Similar Threads

  1. Replies: 0
    Last Post: 09-03-2008, 10:52 AM
  2. Speaking of strings...
    By Harlow in forum .NET
    Replies: 246
    Last Post: 10-26-2002, 12:30 AM
  3. Even C++ had this much right...
    By Derek Mooney in forum .NET
    Replies: 94
    Last Post: 10-29-2001, 09:44 PM
  4. Validating XML
    By Jaco de Villiers in forum XML
    Replies: 1
    Last Post: 06-01-2001, 05:50 PM
  5. Re: COM object Password Security
    By Tom Shreve in forum Enterprise
    Replies: 0
    Last Post: 04-07-2000, 08:15 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center
Latest Articles
Questions? Contact us.
Web Development
Latest Tips
Open Source

   Development Centers

   -- Android Development Center
   -- Cloud Development Project Center
   -- HTML5 Development Center
   -- Windows Mobile Development Center