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)
Re: VB6.0 - Basic Flash Player
Quote:
Originally Posted by
soul__stealer
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.
Re: VB6.0 - Basic Flash Player
Quote:
Originally Posted by
Nightwalker83
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
Re: VB6.0 - Basic Flash Player
Quote:
Originally Posted by
soul__stealer
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.
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.
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.
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.
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. ;)
Re: VB6.0 - Basic Flash Player
Quote:
Originally Posted by
Keithuk
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.
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? ;)
Re: VB6.0 - Basic Flash Player
Quote:
Originally Posted by
Keithuk
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.