Unsupported System Functions
Some PowerScript system functions cannot be used in applications deployed to ASP.NET.
Category | Functions |
---|---|
Clipboard functions | Clipboard, and any object function that uses the clipboard, such as Copy and Paste |
DDE functions | CloseChannel, ExecRemote, GetCommandDDE, GetCommandDDEOrigin, GetDataDDE, GetDataDDEOrigin, GetRemote, OpenChannel, RespondRemote, SetDataDDE, SetRemote, StartHotLink, StartServerDDE, StopHotLink, and StopServerDDE |
Debugging functions | DebugBreak |
Garbage collection functions | GarbageCollect, GarbageCollectGetTimeLimit, and GarbageCollectSetTimeLimit |
Help functions | ShowHelp and ShowPopupHelp |
Input method functions | IMEGetCompositionText, IMEGetMode, and IMESetMode |
Mail functions | MailAddress, MailDeleteMessage, MailGetMessages, MailHandle, MailLogoff, MailLogon, MailReadMessage, MailRecipientDetails, MailResolveRecipient, and MailSaveMessage |
Messaging functions | Post and Send |
Miscellaneous functions | DoScript, DraggedObject, Handle, PBGetMenuString, Run, and Restart |
Print functions | PrintDataWindow, PrintScreen, PrintSend, PrintSetPrinter, PrintSetup, and PrintSetupPrinter |
Profiling and tracing functions | TraceBegin, TraceClose, TraceDisableActivity, TraceDump, TraceEnableActivity, TraceEnd, TraceError, TraceOpen, and TraceUser |
Partially supported system functions
- IsNull � the IsNull function is supported for simple datatypes only. It is not very useful for structure and class objects, since in .NET targets, uninitialized variables always return true for an IsNull call even when they are not explicitly set to null. However, you can use IsValid to test for valid instances of these object types. You can also use IsNull for class objects after they have been created.
- Timer � the concept of “current window” does not exist in Web Forms applications. Therefore, you must use the optional PowerScript syntax with the window name parameter and the name of an active window as the parameter value. The Timer function fails when the active window does not exist.
- Yield � due to the thread-model design of Web Forms applications, you cannot use the Yield function and the Selected event of a menu object concurrently. Doing this causes a JavaScript error.
- Registry functions � system registry functions can read and write registry entries, keys, and values on the server side, but do not perform these operations on the server computer�s registry in the same way as they do on a client computer�s registry in a standard PowerBuilder application. See Registry Functions for Web Forms Applications
.
Parent topic: Unsupported Features in Web Forms Projects
Document get from Powerbuilder help
Thank you for watching.
Subscribe
Login
0 Comments
Oldest