FileIOPermission – PB Docs 125
FileIOPermission FileIOPermission settings are required for PowerScript system functions in Windows Forms targets. Permission requirements for Windows Forms FileIOPermission required for system functions in Windows Forms System function Permission required AddToLibraryList,DirectoryExists , FileEncoding, FileExists, FileLength, FileLength64, FileRead, FileReadEx, FileSeek, FileSeek64, LibraryDirectory, LibraryDirectoryEx, LibraryExport, PrintBitmap, ProfileInt, ProfileString, SetProfileString, SetLibraryList, ShowHelp, ShowPopupHelp, and XMLParseFile Read FileWrite, FileWriteEx,…
PrintingPermission – PB Docs 125
PrintingPermission PrintingPermission settings are required for PowerScript system functions in Windows Forms targets. Permission requirements for system functions Printing Permission required for system functions in Windows Forms System function Permission required Print, PrintBitmap, PrintCancel, PrintClose, PrintDataWindow, PrintDefineFont, PrintGetPrinter, PrintScreen, PrintSend, PrintSetFont, PrintSetSpacing, PrintLine, PrintOpen. PrintOval, PrintPage, PrintRect, PrintRoundRect, PrintSetupPrinter, PrintText, PrintWidth, PrintX, PrintY DefaultPrinting or…
ReflectionPermission – PB Docs 125
ReflectionPermission ReflectionPermission settings are required for PowerScript reflection functions and objects in .NET targets. ReflectionPermission required in .NET targets System function or object Permission required FindClassDefinition, FindTypeDefinition TypeInformation ScriptDefinition object TypeInformation Example 1 This permission setting in Windows Forms targets allows reflection for members of a type that are not visible:
|
1 2 3 4 5 |
<IPermission class= "System.Security.Permissions.ReflectionPermission, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" version="1" Flags="TypeInformation" /> |
Parent topic: Custom Permission…
RegistryPermission – PB Docs 125
RegistryPermission RegistryPermission settings are required for system registry functions and MLSync object functions in .NET targets. Required RegistryPermission settings for system functions System function Permission required RegistryGet, RegistryKeys, RegistryValues Read RegistrySet Write; if registry key does not exist, requires Create RegistryDelete Read and Write This table shows the required RegistryPermission settings for MLSync object functions…
SecurityPermission – PB Docs 125
SecurityPermission Execution permission is required for a SecurityPermission setting on all .NET applications and for any managed code that you want a user to run. This table shows the required SecurityPermission settings for functions and objects in Windows Forms targets. SecurityPermission required in Windows Forms targets Function, object, property, or feature Permission required OLEControl Unrestricted…
Choosing a Windows Forms Application Target – PB Docs 125
Choosing a Windows Forms Application Target Windows Forms applications with the smart client feature combine the reach of the Web with the power of local computing hardware. They provide a rich user experience, with a response time as quick as the response times of equivalent client-server applications. The smart client feature simplifies application deployment and…
EventLogPermission – PB Docs 125
EventLogPermission EventLogPermission settings are required for the PBTraceTarget global property for .NET targets. Set this property on the Configuration tab of the Project painter for Web Service targets after deployment in the appname.exe.config file (where appname is the name of the executable file). EventLogPermission required in .NET targets Global .NET property Permission required PBTraceTarget when…
FileDialogPermission – PB Docs 125
FileDialogPermission FileDialogPermission settings are required for the GetFileOpenName and GetFileSaveName functions in Windows Forms targets. FileDialogPermission required in Windows Forms System function Permission required GetFileOpenName Open or OpenSave (unrestricted FileIOPermission also required) GetFileSaveName Save or OpenSave (unrestricted FileIOPermission also required) Parent topic: Custom Permission Settings Document get from Powerbuilder help Thank you for watching.
Targets – PB Docs 125
Targets This section describes new features for the PowerBuilder .NET IDE only. WCF Services A new PowerBuilder target builds applications using the Microsoft WCF model Support for CVUOs in .NET Assemblies The .NET Assembly target exposes custom visual user objects. Support for Split Assemblies in WPF Targets The WPF Target provides the means to generate…
PowerBuilder .NET – PB Docs 125
PowerBuilder .NET This section describes new features for the PowerBuilder .NET IDE only. .NET 4.0 Framework PowerBuilder upgrades the runtime library for .NET 4.0 Visual Studio 2010 Isolated Shell PowerBuilder .NET 12.5 uses the Visual Studio 2010 isolated shell Service Pack 1. Script Editor Changes The PowerScript editor has been enhanced. Batch Command Processing PowerBuilder…