WPF Window Application Target and Project Properties

Enter properties for WPF Window Application targets and projects in the WPF Window Application target wizard.

Wizard-set properties for a target created from scratch

For WPF Window Application targets that you create from scratch, provide the information described in this table:

Wizard fields for a WPF Window Application target created from scratch
Wizard field Description
Application name Name of the application object to be created. By default, the application name is also used for the library and target.

Example: wpfapp

Library Name and location of the PowerBuilder library to be created. By default, this includes the current solution path, the application name you chose, and a PBL extension.

Example: C:\Documents and Settings\janedoe\My Documents\pbnet\wpfapp.pbl

Target Name and location of the target to be created. By default, this includes the current solution path, the application name you chose, and a PBTX extension.

Example: C:\Documents and Settings\janedoe\My Documents\pbnet\wpfapp.pbtx

Project name Name of the project object to be created.

Example: p_wpfapp_wpf

Product name Product name to be associated with this target. Example: My WPF Application
Product executable filename Name of the runnable file for this target.
Product version Major, Minor, Build, and Revision version numbers to be associated with this target.
Resource files and directories (Optional) Identify resource files and folders that are not compiled with the target but need to be delivered with the application.

Use the browser buttons to select individual files, directories, or contents in PBR resource files.

Resource dictionaries (Optional) Identify WPF resource dictionaries that the application will use.
Publish as smart client application? Select this option to configure smart client publishing properties in subsequent wizard pages. For example, select this option to publish the application to an FTP site.
Application running mode (for smart client only) Choose one of these options:
  • Yes – the application can be run either locally (on the user's computer) or from a remote site.
  • No – the application will installed on a Web site or shared path; not locally.
Install options (for smart client only) Choose one of these options:
  • From web site – Specify the Web site URL. Example: http://localhost/wpfapp
  • From shared path – Specify the path where a user can find and install the application.
  • From CD-ROM or DVD-ROM – Specify this option if the application will be provided on one of these media.
Update options (for smart client only) Choose one of these options to specify how the application checks for the latest version and updates:
  • Never check for updates
  • Check for updates before application starts
  • Check for updates after application starts, and specify the update frequency
Update frequency (for smart client only) Choose one of these options:
  • Every time application starts
  • At least n interval from last update. Enter a positive number for the frequency n. Choose days, hours, or weeks as the interval.

Wizard-set properties for a target created from an existing target

When you create a WPF Window Application target from an existing target, most of the wizard fields are the same as those for creating a target from scratch, but a few fields are added or changed. This table describes only the new or changed fields.

Added wizard fields for a WPF Window Application target created from an existing target
Wizard field Description
Target Location of the existing Win32 or Windows Forms target (PBT) file.

Example: C:\pb12apps\myapp.pbt

When you enter the target, the library list displays the names and locations of its library (PBL) files.

New location and target file By default, the wizard specifies a target with the same name as the existing target but with a PBTX extension. The default location is a wpf subfolder within the existing target's folder.

Example: C:\pb12apps\wpf\myapp.pbtx

If you prefer a different target, change the default value.

Modify target properties in the Properties dialog box for the target. Enter and modify properties for projects in the Project painter.