Resource Files and Publish Type – PB Docs 120


Resource Files and Publish Type

In a smart client application, image files that you add on
the Resource Files page in the project painter are designated as
Include files. They are installed in the same directory as the application�s
executable files, libraries, and other static files.

You can also
specify that a file�s Publish Type is �Data File.� Files of
this type are installed to a data directory. When an update to the
application occurs, a data file might be migrated by the application.

The data directory is intended for application-managed data�data
that the application explicitly stores and maintains. To read from
and write to the data directory, you can use code enclosed in a
conditional compilation block to obtain its path:

For information about using preprocessor symbols such as PBWINFORM, see Conditional Compilation.


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