Link to home
Start Free TrialLog in
Avatar of sushmasriram
sushmasriram

asked on

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

Thanks
Sushma
Avatar of sandeep_patel
sandeep_patel
Flag of United States of America image

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
Avatar of sushmasriram
sushmasriram

ASKER

I am using PB 6.5. What is the procedure?
What do I give under resource file name?
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:
===============================
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

ASKER CERTIFIED SOLUTION
Avatar of sandeep_patel
sandeep_patel
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial