Results 1 to 11 of 11

Thread: re: VB6.0 - Basic Flash Player

  1. #1

    Thread Starter
    New Member
    Join Date
    Jan 2011
    Posts
    3

    re: VB6.0 - Basic Flash Player

    Hi Nightwalker83,

    Out of curiousity, do you receive any errors when creating new projects?

    I can no longer save or compile my projects that contain the Flash control as it comes up with an error.

    I'm currently using Windows 7 however makes no difference if I run it in compatibility mode.

    I've seen a number of other people have this issue. if I downgrade my flash player to an older version (v9.x) I can use the flash OCX files just fine.


    Just wondering what you do/if you have a fix, as I'd love to know what other option I have rather than uninstalling the current version, loading an old version of flash then re-installing when I've finished my project (especially if it's a project I want to work with on updating etc)

  2. #2
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB6.0 - Basic Flash Player

    Quote Originally Posted by soul__stealer View Post
    Hi Nightwalker83,
    I can no longer save or compile my projects that contain the Flash control as it comes up with an error.
    It is interesting you say that because when I was experimenting trying to find out how to play a swf from a url either VB or Vista wouldn't allow me to save any of the modifications I did to my project. I don't know about whether the project would have complied successfully or not because I didn't try. Although, I don't receive any errors because I can execute my project just fine via the Visual Basic IDE.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  3. #3

    Thread Starter
    New Member
    Join Date
    Jan 2011
    Posts
    3

    Re: VB6.0 - Basic Flash Player

    Quote Originally Posted by Nightwalker83 View Post
    It is interesting you say that because when I was experimenting trying to find out how to play a swf from a url either VB or Vista wouldn't allow me to save any of the modifications I did to my project. I don't know about whether the project would have complied successfully or not because I didn't try. Although, I don't receive any errors because I can execute my project just fine via the Visual Basic IDE.
    Well, you can save your projects by deleting the flash object (to save your code) and re-adding it whenever you open the project... of course this is only a 'dodgey' fix in order to save your work. The problem is yes you can run the project via the IDE but the problem is you can't pass your project along to others :P

    The only way to 'get around' it is to uninstall the current version of flash, reinstall the 9.x version of flash then compile your project.

    Then you've got to uninstall and reinstall the new version again. Right royal PITA and was hoping you'd have a fix :P

  4. #4
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB6.0 - Basic Flash Player

    Quote Originally Posted by soul__stealer View Post
    Well, you can save your projects by deleting the flash object (to save your code) and re-adding it whenever you open the project... of course this is only a 'dodgey' fix in order to save your work. The problem is yes you can run the project via the IDE but the problem is you can't pass your project along to others :P

    The only way to 'get around' it is to uninstall the current version of flash, reinstall the 9.x version of flash then compile your project.

    Then you've got to uninstall and reinstall the new version again. Right royal PITA and was hoping you'd have a fix :P
    I have asked a mod to split this topic so it doesn't go off topic. I will do a google search and see if I can't locate a solution. Code bank questions are only meant for the questions to do with the code to do with the subject of the thread.

    Found a fix here. The problem is actually with flash not Visual Basic. Hopefully Adobe will be able to sort out what the problem is with Flash concerning software development.
    Last edited by Nightwalker83; Jan 17th, 2011 at 04:45 AM. Reason: Adding more!
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  5. #5
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6.0 - Basic Flash Player

    Posts moved from this CodeBank thread to their own thread, as they do not relate directly to the code in that thread.

  6. #6

    Thread Starter
    New Member
    Join Date
    Jan 2011
    Posts
    3

    Re: VB6.0 - Basic Flash Player

    No disrespect intended but... Well imo they do.

    The thread in question was regarding the use of the flash swf object. If you're going to use the code, you would sort of want to save unless you're in the habit of rewriting projects all the time. I know I'm certainly not in that habit but I guess

    My apologies if this is not the case.

    I did tell you that there was a flash issue, and I did also tell you the fix which you've just reposted to me... Obviously I already knew that solution and was hoping that you as a developer posting code for an object might have had a different approach.

    Obviously I was wrong.

  7. #7
    Super Moderator si_the_geek's Avatar
    Join Date
    Jul 2002
    Location
    Bristol, UK
    Posts
    41,974

    Re: VB6.0 - Basic Flash Player

    The posts are not directly related because they do not refer to the code in the CodeBank thread, they are only partly related because they refer to the same control. While the issue affects the code in the CodeBank thread, it is no more so than any other code that uses the control.

    It is certainly a valid topic to discuss, but the location wasn't great because it distracts from the code sample - and as CodeBank threads tend to be viewed much more regularly than other threads, we like to keep them tidy.

  8. #8
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: VB6.0 - Basic Flash Player

    Now I've just had a look at Project1.zip in CodeBank which is using Flash10d.ocx I'm using Flash10l.ocx and if won't save as it shows this error. I removed the Flash control and the Components then loaded Flash10l.ocx and it still wouldn't save because of the error.

    Now I've found over the years that the Flash.ocx is the most forgiving control in VB. I started using Flash.ocx from v7.0 and have made apps for work where they used Flash 9.0 they they played perfectly without any errors.
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  9. #9
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB6.0 - Basic Flash Player

    Quote Originally Posted by Keithuk View Post
    Now I've found over the years that the Flash.ocx is the most forgiving control in VB. I started using Flash.ocx from v7.0 and have made apps for work where they used Flash 9.0 they they played perfectly without any errors.
    Although, the past couple of days were the first I had encountered any problems with it. I checked the adobe forums and there are discussions over there relating to the problem with vb6 and Flash 10 as well. There must be a lot of problems with flash 10 because they keep re-releasing it.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

  10. #10
    PowerPoster Keithuk's Avatar
    Join Date
    Jan 2004
    Location
    Staffordshire, England
    Posts
    2,236

    Re: VB6.0 - Basic Flash Player

    Well there have been lots of versions of 10 its funny how this error has only just started to show?
    Keith

    I've been programming with VB for 25 years. Started with VB4 16bit Pro, VB5 Pro, VB6 Pro/Enterprise and now VB3 Pro. But I'm no expert, I'm still learning.

  11. #11
    PowerPoster Nightwalker83's Avatar
    Join Date
    Dec 2001
    Location
    Adelaide, Australia
    Posts
    13,344

    Re: VB6.0 - Basic Flash Player

    Quote Originally Posted by Keithuk View Post
    Well there have been lots of versions of 10 its funny how this error has only just started to show?
    Yeah, well the person who wrote the article I posted above said they had to go back version to e from the latest version of 10 in order to solve the problem.

    Quote Originally Posted by The above link
    Downgrading to flash10e.ocx seems to fix the problem. Flash10f.ocx, Flash10g.ocx, Flash10h.ocx, Flash10i.ocx (the latest) all having the same problem. i tested all these controls.
    when you quote a post could you please do it via the "Reply With Quote" button or if it multiple post click the "''+" button then "Reply With Quote" button.
    If this thread is finished with please mark it "Resolved" by selecting "Mark thread resolved" from the "Thread tools" drop-down menu.
    https://get.cryptobrowser.site/30/4111672

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