1. Tim Rehder
  2. PowerBuilder
  3. Saturday, 14 September 2024 14:34 PM UTC

Hi,

we use several ActiveX components in our application that we have to register during installation.

To simplify this process, we are currently looking into Side by Side manifests to access the ActiveX components without the need for registration.

So far this works quite well. We have created an external manifest for our exe and with that it can find all the components.

However, as soon as we set the external manifest option during compilation, some parts of our app, like datawindows or picture-buttons, no longer use the windows classic style (which we have enabled during compilation via the checkbox).

Is there anything we can do to use the windows classic stile while also using an external manifest? Is there perhaps some option in the manifest that we could set to get the classic style?

Thanks in advance!

Tim

Bruce Armstrong Accepted Answer Pending Moderation
  1. Saturday, 14 September 2024 19:12 PM UTC
  2. PowerBuilder
  3. # 1

PowerBuilder relies on the Common Controls ActiveX to provide the more modern control styling.  You need to include that ActiveX in your manifest file.  If you do a build of PowerBuilder with the manifest setting set to external it should generate the XML you need.  It should look like this:

<dependency>
    <dependentAssembly>
         <assemblyIdentity type="win32" name="Microsoft.Windows.Common-Controls" version="6.0.0.0" processorArchitecture="X86" publicKeyToken="6595b64144ccf1df" language="*" />
     </dependentAssembly>
</dependency>

Comment
  1. Tim Rehder
  2. Saturday, 14 September 2024 20:17 PM UTC
What we are trying to achieve is to make the app use the classic style again. Adding this dependency to the manifest makes all controls use the new style. The problem that we are having is that even without this dependency added to the manifest, some parts of the app are not using the classic style (datawindows for example).
  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.