|
SerializeActiveXToFile
public int PeFunction.SerializeActiveXToFile( string fileName )
The SerializeActiveXToFile function is used to create a file representing a stored binary ActiveX which can then be used as the target for the DATA attribute of an OBJECT tag within an HTML page.
Returns NonZero if the function was successful, otherwise Zero.
Comments PeFunction.SerializeActiveXToFile members of Pego.PeFunction, Pesgo.PeFunction, Pe3do.PeFunction, Pepso.PeFunction, Pepco.PeFunction
HTML / ASP Example For example, SerializeActiveXToFile is called with the fileName "DefaultData.bin". Later an HTML page can use this file as part of the DATA attribute to construct an ActiveX based on this stored state.
Within an ASP.NET project, the ProEssentials WebForm interfaces contains a property called ImageUrl which can contain this same name "DefaultData.bin" which causes the web page to open with an ActiveX in the provided default state. Granted RenderingType is also set to ActiveX.
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |