Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What does the source code look like? 1

Status
Not open for further replies.

dorianr

Programmer
Mar 26, 2001
32
US
Help! I've inherited a project from a now defunct office. I've never used PowerBuilder before, so I'm not sure if I have the source code. I have the installation files (.exe, .dll, .pbd, .pbl). I only realized it was PowerBuilder 7 after opening these files in a text editor and reading some of the text that was readable in these binary files. I heard that .PBR files contain the source code. Is this true? I can't find any .PBR files. I don't want to purchase the software if I don't have the source code. Thanks a lot for any replies!
 
The .pbl files itself contains the source code. The PBL files stores the code within objects such as windows, datawindows, userobjects and all those stuffs.

The .PBR file just stores the reference to the objects which can be associated at run time. As such it doesn't contain any source code.

The .PBD files are the compiled versions of PBLs. These are required to run the .EXE file of the application. Similarly even DLLS are required to run the .EXE file of the application.

Hope i am clear enough..
Any queries further?
 
I do have some .PBL files. Does this mean if I purchase PowerBuilder 7 that I will be able to read the code? I have the demo copy of PowerBuilder 9, but I couldn't do anything with the .PBL files. I don't want to purchase PowerBuilder 7, unless it will work. Also, I found the desktop edition for $200 - hopefully, this would work. Any ideas? Thanks so much.
 
Yes, u could very much open the .PBL files in demo copy of Powerbuilder 9.

but prior to this u need to migrate the application as it was coded in PB 7 version. u could find the migration assistant to assist u in the process.

As PB 9 contains few new concepts u need to follow them i.e, u need to first create a target object and then configure ur application object of the .PBL file as the target. After which u need to specify the whole library list.

this will then take u to the migration wizard by default. Prior to doing anything including migration, plzz take a backup of all the files and then proceed.

hope all the steps are clear. All the steps can be found in sybase.com manuals

Else u can check with me
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top