Creating an application file and .pbd file

I have created a .pbl file and is ready to be distributed. How do I create .pbd and application file from pbl

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.


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.

sushmasriramAuthor Commented:
I am using PB 6.5. What is the procedure?
sushmasriramAuthor Commented:
What do I give under resource file name?
Cloud Class® Course: Microsoft Exchange Server

The MCTS: Microsoft Exchange Server 2010 certification validates your skills in supporting the maintenance and administration of the Exchange servers in an enterprise environment. Learn everything you need to know with this course.

sushmasriramAuthor Commented:
How do I create a .pbr file?
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:

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




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.


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)



Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Editors IDEs

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.