1. Michael Connell
  2. PowerBuilder
  3. Tuesday, 3 May 2022 13:40 PM UTC

Hi,

I'm having problems when deploying a PB app with a ribbon bar.

I understood that all that was required was to place the ribbonbar.xml file in the same folder as the executables, but this doesn't appear to work as the ribbon bar does not display.

I use ImportFromXMLFile("ribbonbar.xml") to load the ribbon bar content and the ribbon bar displays as expected when I run the application from the PB IDE.

I'm obviously missing something obvious here, but what?

Regards,

Michael Connell.

Accepted Answer
John Fauss Accepted Answer Pending Moderation
  1. Tuesday, 3 May 2022 13:48 PM UTC
  2. PowerBuilder
  3. # Permalink

Have you deployed the necessary runtime DLL's for the RibbonBar?

From the PB Help topic "runtime files":

 

Comment
  1. Michael Connell
  2. Tuesday, 3 May 2022 14:08 PM UTC
John,

Thanks for your reply. I hadn't deployed these DLLs, but deploying them hasn't solved the problem.

Michael.
  1. Helpful
  1. John Fauss
  2. Tuesday, 3 May 2022 14:17 PM UTC
Perhaps try deploying ALL of the PB runtime files in a test deployment/install and see if that works. If it is critical that you deploy a minimal set of runtime DLL's, then you can use the table of runtime DLL's listed in PB Help as a guide to gradually eliminating those that are not needed.
  1. Helpful
  1. Chris Pollach @Appeon
  2. Tuesday, 3 May 2022 15:07 PM UTC
Hi Michael;

Beside John's great suggestion .... Did you deploy the RB's XML file as well?

Regards ... Chris
  1. Helpful
There are no comments made yet.
Michael Connell Accepted Answer Pending Moderation
  1. Thursday, 12 May 2022 08:04 AM UTC
  2. PowerBuilder
  3. # 1

Guys,

Apologies for the delay in replying (I've been on vacation).

Thank you both for your suggestions.

It would appear John, that your suggestion re the ribbonbar DLLs was in fact the correct solution. It seems that in my haste to fix the problem before leaving for vacation, I accidentally deployed the 64-bit DLLs when the application is in fact 32-bit.

Deploying the 32-bit DLLs was the solution.

Regards,

Michael Connell.

 

Comment
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.