Account Options

  1. Sign in
The old Google Groups will be going away soon.
Switch to the new Google Groups.
Google Groups Home
« Groups Home
Getting Libary list from another exe...
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  7 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Linda Johnston  
View profile  
 More options Feb 21 2001, 10:38 am
Newsgroups: powersoft.public.powerbuilder.general
From: Linda Johnston <x...@xxxx.com>
Date: Wed, 21 Feb 2001 10:01:51 -0500
Local: Wed, Feb 21 2001 10:01 am
Subject: Getting Libary list from another exe...
I need to get the library list of an application, given just the
application pbl.
My program, call it List.exe, will prompt for a pbl, find the
application object (if any), and then display the library list. Is there
a way to do this?

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Simon Caldwell  
View profile  
 More options Feb 21 2001, 10:38 am
Newsgroups: powersoft.public.powerbuilder.general
From: "Simon Caldwell" <simonDOTcaldwellATgetrealsystemsDOTcom>
Date: Wed, 21 Feb 2001 15:06:58 -0000
Local: Wed, Feb 21 2001 10:06 am
Subject: Re: Getting Libary list from another exe...
You could try reading the pb.ini file and extracting the list for the
appropriate application.  But bear in mind that reading this file isn't
supported by Sybase, and its contents may change slightly in future
versions, eg PB8.
S.

--
Simon Caldwell
Get Real Systems Ltd
Holtby Manor, Stamford Bridge Road, York, YO19 5LL
Tel 01904 481999 Fax 01904 481666
Visit us at www.getrealsystems.com

Specialists in e-Procurement and supply chain technology

"Linda Johnston" <x...@xxxx.com> wrote in message

news:3A93D85F.CEABE485@xxxx.com...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Uwe Sauerbrey  
View profile  
 More options Feb 21 2001, 10:38 am
Newsgroups: powersoft.public.powerbuilder.general
From: Uwe Sauerbrey <sauerb...@solution-execute.de>
Date: Wed, 21 Feb 2001 16:31:23 +0100
Local: Wed, Feb 21 2001 10:31 am
Subject: Re: Getting Libary list from another exe...
May be that I misunderstood, but isn't this a proper way to get e.g.
datawindow-syntax from user-defined reports from an external pbl? Someone told
me this would be the way to achieve that functionality and the functions
librarydirectory(), libraryexport() ... could easily be used for this. And
what I actually do is a library-export from one pbl to build a report.

As much as I understand, this could easily be done.

HTH
Uwe


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Linda Johnston  
View profile  
 More options Feb 21 2001, 11:02 am
Newsgroups: powersoft.public.powerbuilder.general
From: Linda Johnston <x...@xxxx.com>
Date: Wed, 21 Feb 2001 10:46:30 -0500
Local: Wed, Feb 21 2001 10:46 am
Subject: Re: Getting Libary list from another exe...
Uwe,
Your method requires that I know the library names within the app - but that is
the problem - I only know of one;  the pbl in which the application object lives.
I need to get the list of  all libraries defined in the application properties.
Simon's method is the one I went with, but I just wondered if there was a simpler
way (there is a SetLibraryList function, but not GetLibraryList, which is exactly
what I need)
Thanks,
Linda


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Linda Johnston  
View profile  
 More options Feb 21 2001, 11:02 am
Newsgroups: powersoft.public.powerbuilder.general
From: Linda Johnston <x...@xxxx.com>
Date: Wed, 21 Feb 2001 10:47:33 -0500
Local: Wed, Feb 21 2001 10:47 am
Subject: Re: Getting Libary list from another exe...
Thanks Simon,
I had looked into that, I just wish there was a simpler way like a
GetLibraryList() function!

Thanks again,
Linda


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Bill Green[TeamSybase]  
View profile  
 More options Feb 21 2001, 11:38 am
Newsgroups: powersoft.public.powerbuilder.general
From: "Bill Green[TeamSybase]" <bill.gr...@teamsybase.com>
Date: Wed, 21 Feb 2001 11:25:42 -0500
Local: Wed, Feb 21 2001 11:25 am
Subject: Re: Getting Libary list from another exe...
There is a GetLibraryList  function, but like it's counterpart SetLibraryList, only
apply to the application they are being called in. So the only way to do it is by
looking in the INI file as Simon said.

Regards,
Bill

--
Bill Green[TeamSybase]
-----------------------------------------------------------
Vote Now: Readers Choice Awards
http://www.sys-con.com/java/readerschoice2001/

Good Links to know, good places to go:

Developer stuff on my.sybase.com - Sign up, visit often
Find things like:
-- EAServer 3.6.1 maintenance release is available
-- PowerBuilder 7.03 maintenance release available
-- Components, White papers, articles and more
-- Web DataWindow Article Series (Author: Larry Cermak)
-- Jaguar Agent for Web Servers (HTTP access to PB components)

PFC Guide - http://www.pfcguide.com

Power3 - Custom Training  - http://www.power3.com
Bill Green @ Power3 - wgr...@power3.com
-----------------------------------------------------------


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
jeff  
View profile  
 More options Feb 21 2001, 1:38 pm
Newsgroups: powersoft.public.powerbuilder.general
From: Jeff
Date: Wed, 21 Feb 2001 12:47:32 -0500
Local: Wed, Feb 21 2001 12:47 pm
Subject: Re: Getting Libary list from another exe...
I don't believe the PBL files "know" what their library list is.  When you
alter the library list PB puts that info out to PB.INI.

Once compiled into PBD/EXE/DLLs they seem to know what files to look for,
but short of disassembling the app.exe I don't know of any sybase-supported
way of doing this.

Now, if you could get access to the project object in the PBL you might
have something.

Jeff <uselessbuttrying.sru>


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »