1. Paweł Kasperek
  2. PowerBuilder
  3. Tuesday, 27 September 2022 07:09 AM UTC

Hi,

I have a new question about deploying an application n PowerBuilder. I'm a developer from .NET stack. In .NET Windows (WinForms/WPF) application is possible to put runtime and custom libraries in subfolders (below the image or in the attachment). 

 

For this solution we have to set the below line in an application configuration file:

 <probing privatePath="bin;packages" />

How can I do the same folders structure for application development in PowerBuilder ? Is it possible to add a probing path to ini file ? 

Attachments (1)
Sivaprakash BKR Accepted Answer Pending Moderation
  1. Wednesday, 28 September 2022 05:18 AM UTC
  2. PowerBuilder
  3. # 1

Hello,

For PB 2019 R3 and above

Looks like you are talking about runtime file(s) path here.   You can install the runtime files, created using the utility, to a folder of your choice and put that path in an xml file.   That xml file will be created along with the exe.   Sample contents of the xml file will be like this:

<?xml version="1.0" encoding="utf-8" ?>
<Application>
    <RuntimePath>C:\Program Files (x86)\Appeon\Common\PowerBuilder\Runtime 19.2.0.2703</RuntimePath>
</Application>

HTH

Happiness Always
BKR Sivaprakash

 

Comment
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 27 September 2022 17:50 PM UTC
  2. PowerBuilder
  3. # 2

Hi Pawel;

  Since PB is a C++ based system and not based on .Net or WPF, I am not sure what your actual question is really about.

Can you try and rephrase your question. Thanks.

Regards .. Chris

Comment
There are no comments made yet.
Roland Smith Accepted Answer Pending Moderation
  1. Wednesday, 28 September 2022 14:49 PM UTC
  2. PowerBuilder
  3. # 3

As BKR said, you can specify the PowerBuilder Runtime location. The application EXE and PBD files must be in the same folder.

Comment
  1. Paweł Kasperek
  2. Wednesday, 26 October 2022 09:00 AM UTC
Why EXE and PDB must be in the same folder? I think that I could specify the library folder without any entry in the system registry.
  1. Helpful
  1. Roland Smith
  2. Wednesday, 26 October 2022 12:07 PM UTC
You can use the function SetLibraryList in the application open event to change the location of the PBD files. By default they must be in the same folder as the EXE.
  1. Helpful 1
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.