1. Daniel Agudelo
  2. PowerBuilder
  3. Wednesday, 20 May 2020 20:02 PM UTC

Hi guys

i want to know if maybe i could manipulate a .pbl file of a projecto of PB 2019 for add inside that some objects that i have in another folder.

i tried to do a pbg file for each library thinking that at time to open PB project maybe it would loads me the objects that i put into pbg file still knowing that the pbl file hasn't these; but isn't works, always load firstly the objects that the .pbl file has inside.

there is something that let me to do something like this? maybe with a PB Extensión of c++ or something like that

i hope that someone could help me with this, Regards.

Michael Kramer Accepted Answer Pending Moderation
  1. Wednesday, 20 May 2020 20:36 PM UTC
  2. PowerBuilder
  3. # 1

You can IMPORT classes from PB source files named .SR?  EX: User object in *.sru and window in *.srw.

You can import files from any folder on any disk. Original file remains on disk but is decoupled from the class that now lives inside your PB library file.

.PBG file is text-file of a .PBL files internal class list. It is auto-created by PB to support legacy MSSCCI-based version control systems. It only impacts version control integration incl. visual status flags. You cannot change content of a .PBL file by manual edit of .PBG.

HTH
/Michael

Comment
  1. Daniel Agudelo
  2. Thursday, 21 May 2020 13:58 PM UTC
i'll read about ORCA and your documentation to see if i can to do that i want, thank you so much.
  1. Helpful
  1. Miguel Leeuwe
  2. Thursday, 21 May 2020 15:13 PM UTC
Many many years ago, I stumbled upon some code written by someone why had managed to import objects of any type, not just datawindows. (using API functions). I'm afraid I cannot find that code anymore, but it was awesome.

Maybe he was using API functions which are also used in ORCA. I still don't understand why we can only import datawindows.
  1. Helpful
  1. Daniel Agudelo
  2. Thursday, 21 May 2020 15:54 PM UTC
Hi Miguel, what's pleasure read you again after a long time. really i can't to understand too. but i'll try to do something for that using ORCA. i hope to could get it
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.
We use cookies which are necessary for the proper functioning of our websites. We also use cookies to analyze our traffic, improve your experience and provide social media features. If you continue to use this site, you consent to our use of cookies.