Page 1 of 1

[FIXED] VB 2008 WITH FLEX GENERATED SWF

Posted: Fri Jan 18, 2008 7:10 pm
by wikedz
I posted originally about 2008 beta and a 800000001 exception when loading a flex generated movie into the control. 2008 is now available and I still receive this exception. Has anyone successfully loaded a flex swf file using visual studio 2008?

Posted: Fri Jan 18, 2008 7:52 pm
by Softanics
Thank you for your question.

You receive it inside LoadMovie, or inside Play?

Posted: Fri Jan 18, 2008 7:53 pm
by Softanics
Also, if you use standard Flash ActiveX, do you get the same exception?

Is it possible to continue executing the application?

Posted: Fri Jan 18, 2008 7:59 pm
by wikedz
Softanics wrote:Also, if you use standard Flash ActiveX, do you get the same exception?

Is it possible to continue executing the application?


This is during FlashMethod_LoadMovie, I have the exact same code in VS2005 and VS2008 and 2008 crashes... below is the code..

Try
flash.flashMethod_LoadMovie(0,Application.StartupPath & "\SG4_FLEX\swf\SG4.swf")
Catch ex as Exception
msgBox(ex.Message)
End Try

in vb 2008 It never goes into the catch block... if I put a breakpoint on Try step through the code when it hits loadmovie it crashes the debugger as well. There is no way to continue through the exception..

When I run the project outside of debug it crashes, if I debug the crashed exe it shows error
Unhandled exception in SG4.exe 0x80000001: Not implemented.

I can send you my project, and the swf file if necessary.
The swf loads fine in vb2005, as well as regular flash standalone player, and internet explorer flash activex. It only crashes when running loadmovie from a vs2008 built project.

Posted: Fri Jan 18, 2008 8:08 pm
by Softanics
Yes, please send me all files to support (at) f-in-box.com

If you use standard Flash ActiveX, which is added to a project, the same problem?...

Posted: Fri Jan 18, 2008 10:13 pm
by wikedz
Softanics wrote:Yes, please send me all files to support (at) f-in-box.com

If you use standard Flash ActiveX, which is added to a project, the same problem?...


Files sent...
Basic project with a single form, and a button to load the movie

Thanks in advance

Posted: Fri Jan 18, 2008 10:19 pm
by wikedz
wikedz wrote:
Softanics wrote:Yes, please send me all files to support (at) f-in-box.com

If you use standard Flash ActiveX, which is added to a project, the same problem?...


Files sent...
Basic project with a single form, and a button to load the movie

Thanks in advance


I sent the wrong project... please ignore the first mail, the VS2008 CRASH FIX.zip is the correct project

Posted: Sat Jan 19, 2008 12:56 am
by wikedz
Softanics wrote:Yes, please send me all files to support (at) f-in-box.com

If you use standard Flash ActiveX, which is added to a project, the same problem?...


Standard flash control loads the movie just fine...
f-in-box crashes...

Posted: Sat Jan 19, 2008 1:06 pm
by Softanics
Thank you very much. I've received the project and the swf.

I've just downloaded VC# 2008, here the product info:

Microsoft Visual Studio 2008
Version 9.0.21022.8 RTM
Microsoft .NET Framework
Version 3.5

Installed Edition: C# Express


I created a simple winform application, add a f_in_box__control and a button. Add onclick handler, and assign FlashProperty_Movie:

Code: Select all

f_in_box__control1.FlashProperty_Movie = @"C:\Misc\247\VS2008 CRASH FIX\SG4\SG4\SG4_FLEX\swf\sg4.swf";


I launched it and there is no any exception...

What version of flash ocx installed on your machine?

Posted: Sat Jan 19, 2008 1:22 pm
by Softanics
I've just installed VB# 2008. Your project works well...

Posted: Sat Jan 19, 2008 8:41 pm
by wikedz
Softanics wrote:I've just installed VB# 2008. Your project works well...


I've just tried on 3 seperate machines, all running windows vista (various editions, one is ultimate, one is buiness, and the other is home premium). Installed VB 2008 out of the visual studio suite. Load the project I sent you and recieve the "Not Implemented" error.

Posted: Sun Jan 20, 2008 3:49 pm
by Softanics
wikedz wrote:
Softanics wrote:I've just installed VB# 2008. Your project works well...


I've just tried on 3 seperate machines, all running windows vista (various editions, one is ultimate, one is buiness, and the other is home premium). Installed VB 2008 out of the visual studio suite. Load the project I sent you and recieve the "Not Implemented" error.


What version of the flash player is installed?

And, if possible, could you please run the same project on WinXP.

Posted: Sun Feb 17, 2008 9:27 am
by Softanics
We've fixed this problem.