F-IN-BOX .NET Help >> Classes >> AxCode >> Properties

Version

Syntax

[ C# ]

[ VB.Net ]
  1. public Version Version;  

Description

Returns the flash version. See Version for more information about Version class.

[ C# ]
  1. [STAThread]  
  2. static void Main()   
  3. {  
  4.     if (!f_in_box__lib.Global.IsFlashInstalled)  
  5.     {  
  6.         System.Windows.Forms.MessageBox.Show("The application needs Flash 8 or higher\nFlash is not installed");  
  7.         return;  
  8.     }  
  9.   
  10.     if (f_in_box__lib.Global.InstalledFlashVersion.MajorPart < 8)  
  11.     {  
  12.         System.Windows.Forms.MessageBox.Show("The application needs Flash 8 or higher\nCurrent flash version is: " + f_in_box__lib.Global.InstalledFlashVersion.ToString());  
  13.         return;  
  14.     }  
  15.   
  16.     Application.Run(new MainForm());  
  17. }  


Copyright © Softanics. All rights reserved.
F-IN-BOX is a trademark of Softanics.
Macromedia and Shockwave Flash are trademarks of Adobe