Visit Gigasoft's Web Site
 ProEssentials v9 Help

AppendFromURL

Scope

Pego, Pesgo, Pe3do, Pepso, Pepco

 

public int PeData.Pedo.AppendFromURL ( string fileName )
public int PeData.Pedo.AppendFromURL ( string fileName, int dwFlags )

Parameter

Description

fileName

Name of file to create

dwFlags

Flags sent to the Windows OpenURL function. Default is BINARY and RELOAD, valid settings are... (see Microsoft documentation for more info)

  • INTERNET_FLAG_TRANSFER_BINARY   Transfer the file as a binary file.
  • INTERNET_FLAG_RELOAD   Get the data from the wire even if it is locally cached.
  • INTERNET_FLAG_DONT_CACHE   Do not cache the data, either locally or in any gateways.
  • INTERNET_OPEN_FLAG_USE_EXISTING_CONNECT   If possible, reuse the existing connections to the server for new requests generated by OpenUrl instead of creating a new session for each connection request.

 

This function is only used in combination with the Pedo Webform control, or Pedo ActiveX control.

 

The AppendfromURL function is used to append data to a ProEssentials control with data from an ASPX/ASP page on a server. This function helps in implementing incremental-data / real-time / strip-chart type internet updating of a ProEssentials control. When the data is received, the control first shifts its current data to make room, and the new data is appended.

 

If pszURL represents an ASPX page, the server page should contain a ProEssentials Pedo Webform control with it's RenderingType property set to BinaryDataStream.

 

If pszURL represents an ASP page, the server page should contain and ProEssentials Pedo ActiveX control and output its data via the SaveToStream method.

 

Returns

NonZero if the function was successful, otherwise Zero.

 

Comments

PeData.Pedo.AppendFromURL members of Pego.PeData.Pedo, Pesgo.PeData.Pedo, Pe3do.PeData.Pedo, Pepso.PeData.Pedo, Pepco.PeData.Pedo

 

See Also: LoadFromURL