Combine flash.ocx with f_in_box__form

.NET Edition of the F-IN-BOX
doubletw
Posts: 4
Joined: Thu Jan 14, 2010 8:17 am

Combine flash.ocx with f_in_box__form

Postby doubletw » Thu Jan 14, 2010 10:23 am

Hi,

I use System::Windows::Forms::Form inherited f_in_box__form to create a transparent flash form.

I would like to execute the form in PC without installing flash player.

I look up F-IN-BOX .NET Edition Help and then find "Embedding swflash.ocx/flash.ocx code into application".

However, the document and example code, "Sample03_StandalonePlayer", only mention "f_in_box__control".

My environment is VC++ .NET, not C# or VB .NET.

How do I embed flash.ocx and combine it with f_in_box__form?

Or can you provide example code for VC++ .NET?

Thanks a lot for your help!!

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

Postby Softanics » Thu Jan 14, 2010 8:53 pm

Thank you for your question.

f_in_box__form have the same costructor:

Code: Select all

public f_in_box__form(AxCode code)
{
   ...
}


So use the same code:

Code: Select all

public class MyTranslucencyForm : f_in_box__lib.f_in_box__form
{
   ...
      public MyTranslucencyForm(f_in_box__lib.AxCode axcode) : base(axcode)
      {
          ...
      }
   ...
}
...
f_in_box__lib.AxCode axcode = new f_in_box__lib.AxCode(Stream);
MyTranslucencyForm MyForm = new MyTranslucencyForm(axcode);
...


Thank you.
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 13 guests

cron