[FIXED] VB 2008 WITH FLEX GENERATED SWF

.NET Edition of the F-IN-BOX
wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

[FIXED] VB 2008 WITH FLEX GENERATED SWF

Postby wikedz » Fri Jan 18, 2008 7:10 pm

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?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Fri Jan 18, 2008 7:52 pm

Thank you for your question.

You receive it inside LoadMovie, or inside Play?
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Fri Jan 18, 2008 7:53 pm

Also, if you use standard Flash ActiveX, do you get the same exception?

Is it possible to continue executing the application?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Fri Jan 18, 2008 7:59 pm

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.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Fri Jan 18, 2008 8:08 pm

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?...
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Fri Jan 18, 2008 10:13 pm

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

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Fri Jan 18, 2008 10:19 pm

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

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Sat Jan 19, 2008 12:56 am

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...

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Jan 19, 2008 1:06 pm

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?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sat Jan 19, 2008 1:22 pm

I've just installed VB# 2008. Your project works well...
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

wikedz
Posts: 13
Joined: Mon Aug 27, 2007 10:51 pm

Postby wikedz » Sat Jan 19, 2008 8:41 pm

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.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sun Jan 20, 2008 3:49 pm

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.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Sun Feb 17, 2008 9:27 am

We've fixed this problem.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “.NET Edition”

Who is online

Users browsing this forum: No registered users and 11 guests

cron