Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

get liblist from pb.ini with pb8 ?

68 views
Skip to first unread message

Olivier

unread,
Jul 17, 2003, 9:59:12 AM7/17/03
to
Question : what is the replacement for [Application] section in pb.ini in pb8 ?
I made a pbr generator with pb7 and i try to migrate it to pb8.
It parses pb.ini file in order to get the library list.

But there are only pb application examples in the pb.ini since pb8.

I thought of parsing the workspace (.pbw) and the target (.pbt) to get the lib
list. Is it the good way to go ?

---== Posted via the PFCGuide Web Newsreader ==---
http://www.pfcguide.com/_newsgroups/group_list.asp

Andy Turiansky [TeamSybase]

unread,
Jul 17, 2003, 1:40:55 PM7/17/03
to
I have not seen of a way to do this more directly as with the [Application]
section of the pb.ini (pre PB8).

What you could do is check the registry for the list of targets and then read
each of those files to get the library list.

The registry key is (targets):
HKEY_CURRENT_USER\Software\Sybase\PowerBuilder\8.0\Target

Workspace:
HKEY_CURRENT_USER\Software\Sybase\PowerBuilder\8.0\Workspace

On Thu, 17 Jul 2003 06:59:12 -0700,
in powersoft.public.powerbuilder.powerscript

- - -
Andy [TeamSybase]

Techwave 2003 - http://www.sybase.com/techwave2003
International Sybase User Group (ISUG) - http://www.isug.com
CodeXchange - http://powerbuilder.codeXchange.sybase.com/


Olivier

unread,
Jul 18, 2003, 4:21:24 AM7/18/03
to
Thank you very much Andy.
It is clearer now.
My app select current application, but allow user to change it.
So i think i w'll start with MRU list in workspace, and then last chosen target.

But i cannot use the registry for target because it doesn't contain the libList.
It is in the .pbt file.

On Thu, 17 Jul 2003 10:40:55 -0700,
in powersoft.public.powerbuilder.powerscript

0 new messages