|
LoadFromURL MethodScope All ProEssentials OCX Interfaces
LoadFromURL(szURL As String) As Boolean LoadFromURLEx(szURL As String, nOpenUrlFlag as Integer) As Boolean
The LoadFromURL method is used to update an ActiveX control with data from a file, ASPX, or ASP page from a server.
If szURL represents a simple file, it should be the product of a PEsavetofile method call.
If szURL represents an ASPX page, the server page should contain a ProEssentials WebForm control (except a PedoWeb lwhich is only used for appending) with it's RenderingType property set to BinaryDataStream. This enables client-side code to update a client-side ActiveX with data from the server. Example code for use of this method can be found within the included VB.NET_WebDemo, Walk-Through3.
If szURL represents an ASP page, the server page should contain and ProEssentials ActiveX control and output its data via the SaveToStream method. This enables client-side code to update a client-side ActiveX with data from the server. Example code for use of this method can be found in the topic SaveToStream.
See Also: SaveToStream, SerializeToStream, JPEGToStream, PNGToStream, PEsavetofile, OCX Methods
|
©2022 Gigasoft, Inc. | All rights reserved.
Gigasoft is a registered trademark, and ProEssentials a trademark of Gigasoft, Inc. |