Unsupported Features in Web Forms Projects

When you deploy a PowerBuilder application as a Web Forms application to an IIS server, PowerBuilder lists any unsupported features in the Output window. For the most part, unsupported features fail silently in the Web Forms application, but unexpected results can also occur.

If an unsupported feature prevents the PowerBuilder to .NET compiler from compiling your application, the failure and its cause are noted in the Output window in PowerBuilder.

DataWindow support

Mail support

Although you can send e-mail from Web Forms applications, there is no support for receiving e-mail. When you call MailSend, you must supply a MailMessage argument. The MailSend syntax without a parameter is not supported.

The MailSend function returns an enumerated value of type MailReturnCode. These values of the MailReturnCode enumeration are not supported in Web Forms applications:
  • MailReturnAccessDenied
  • MailReturnDiskFull
  • MailReturnInsufficientMemory
  • MailReturnInvalidMessage
  • MailReturnMessageInUse
  • MailReturnNoMessages
  • MailReturnTextTooLarge
  • MailReturnTooManyFiles
  • MailReturnTooManyRecipients
  • MailReturnTooManySessions

PBNI feature

You can use the built-in Web services client extension (pbwsclient125.pbx) in applications that you plan to deploy to .NET. You cannot use any other PBNI extensions in .NET Web Forms targets.

Hot keys

Hot keys, shortcut keys, and accelerator keys are not supported in .NET Web Forms targets.

Functions on .NET primitive types

You cannot call functions on .NET primitive types that map to PowerBuilder primitive types. See Datatype Mappings for the list of datatype mappings from .NET to PowerBuilder.