System Functions for .NET Web Forms – PB Docs 120


System Functions for .NET Web Forms

System functions specific for .NET Web Forms applications allow you to open the various managers for Web Forms applications, obtain global configuration settings, download files for viewing or printing by the application user, and upload files to the Web server.

You must surround calls to these system functions in a conditional compilation block for .NET Web Forms. These functions cannot be used with standard PowerBuilder client-server applications.

Functionality for downloading and uploading files is also available from the File Manager. The Print Manager allows application users to view files printed to the Web server in PDF format. You can enable the managers through global properties or by calling Web Forms system functions.

See Managers in Web Forms Applications.

  • DownloadFile
    Use to download a file from the Web server to a client computer.
  • GetConfigSetting
    Use to return the value of a global configuration property.
  • GetDownloadFileURL
    Use to return the URL for a file on the Web server.
  • MapVirtualPath
    Use to return the actual path of a file on the Web Forms server.
  • OpenFileManager
    Use to open the Web Forms File Manager.
  • OpenMailManager
    Use to open the Web Forms Mail Profile Manager.
  • OpenPrintManager
    Use to open the Web Forms Print Manager.
  • OpenThemeManager
    Use to open the Web Forms Theme Manager.
  • UploadFiles
    Use to open the Upload Files dialog box that enables an application user to upload files from the local computer to the Web server.
Parent topic: Web Forms Targets

Document get from Powerbuilder help
Thank you for watching.
Was this article helpful?
Subscribe
Notify of
guest
0 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x