We help IT Professionals succeed at work.

We've partnered with Certified Experts, Carl Webster and Richard Faulkner, to bring you a podcast all about Citrix Workspace, moving to the cloud, and analytics & intelligence. Episode 2 coming soon!Listen Now

x

Creating an application file and .pbd file

sushmasriram
sushmasriram asked
on
Medium Priority
393 Views
Last Modified: 2013-12-26
I have created a .pbl file and is ready to be distributed. How do I create .pbd and application file from pbl

Thanks
Sushma
Comment
Watch Question

Hi,

If pb version is 8.0 or later then there will be workspace and target other wise directly open your application and proceed from the second step.

1) Open your workspace.
2) Select File > New > Project Tab > Application. It will open project painter.
3) Give 'Executable File Name'. (i.e exe name with path )
4) Give resource file name.
5) Select 'Full' for 'Rebuild' option.
6) Tick checkbox 'pbd' for each pbls in your workspace and give resource file name against each if you don't know for which pbl exactly it is used.
7) keep other default options as it is.
8) select Design > Deploy Project. OR select last icon in tool bar for project painter.

That's it....
NOTE: don't forget to back up your pbls, pbw and pbt before you start creating exe.

Regards,
Sandeep

Author

Commented:
I am using PB 6.5. What is the procedure?

Author

Commented:
What do I give under resource file name?

Author

Commented:
How do I create a .pbr file?

Commented:
Hi Sushmasriram,

A .PBR file is a text file format, it can be made in File Editor from toolbar.  In this file you put the name of files and location of extrernal resources you use in your application. When you do this files, all resources are copied into your EXE file so you do not need to redistribute those files separately.

Samples of these files are image .BMP files, icon .ICO files or cursor .CUR files.

Here is a sample content of a MyProject.PBR file:
===============================
splith.cur
splitv.cur
WCheckredWithHand.bmp
WCheck.bmp
WAPP_COPY.bmp
WError.bmp
WQuestion.bmp
WPhone.bmp
WCheckRed.bmp
WValidBad.bmp
WLetter.bmp
MyApp.ico

By the way, if you do not have resources to add to your application you can leave that option empty.

Regards,

BerX

Hi,

In PB6.5 also the procedure remains same as i said

First you open your application then open project painter and now start to proceed from step-3.

More clearification about resource file is that. Suppose you are using any icon files in your application for picture button or elsewhere. And at present for that picture control picture file is in any directory (e.g c:\your project\icon\open.bmp). Now while building your application if this icon files are not included, you need to distribute the icon files with your application and need to place in the same directory. So while building application you create simple text file with extension .pbr having list of all external image files you have used in your application. If images are not in the same directory where your pbls are there you need to specify path also.

myapp.pbr
=======

c:\your project\icon\open.bmp
c:\your project\icon\close.bmp
c:\your project\icon\save.bmp
c:\your project\icon\exit.bmp

And as BerX said if not using any external resource, there is no need to mention resource file. (It's optional)

Regards,
Sandeep




Not the solution you were looking for? Getting a personalized solution is easy.

Ask the Experts
Access more of Experts Exchange with a free account
Thanks for using Experts Exchange.

Create a free account to continue.

Limited access with a free account allows you to:

  • View three pieces of content (articles, solutions, posts, and videos)
  • Ask the experts questions (counted toward content limit)
  • Customize your dashboard and profile

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.