Appeon Comunidad

Preguntas y Respuestas Comunidad de Appeon
Appeon Community
  1. I'm on the latest and greatest version of PowerBuilder 2022 R3 Build 3356.

    I'm attempting to demo the pbtutor application running in the PowerServer environment. I created a new PowerServer object in the pbtutor.pbl.

    I'm literally trying to assign the icon file to the shortcut icon. But I know I need to add the icon to the External Files section. Specifically, the "Files preloaded in uncompressed format." 

    When I attempt to add a folder that has the icon file, I'm finding that I can't even navigate beyond the folder where the application itself resides.

    I've done this before, so it almost feels like that something functionally happened within the IDE?

    I thought it might be an administrator issue, so I tried running PowerBuilder under administrator privileges. Still running into the same issues.

    Any ideas on if I'm doing anything wrong would be greatly appreciated. 

    Jeff Gibson
    Gainwell Technologies

     

  2. ive been searching for more info on docking windows under the mdi frame. It is my understanding that there was an example project that came with pb2017. Is there a way I can get this. We are already on 2023.

    all im trying to do is have two windows, one docked left and one docked right, split in the middle. I cant get it to work as the first window always fills up the screen.

    not sure if theres way to split the screen without manually setting the widths. In which case its not really properly docked

     

  3. Is there anyway to suppress the "WebView runtime not installed" message when opening a window that has the WebBrowser control on it and the WebView2 Runtime does not exist? 

    We are currently transitioning from using old OLE controls for URL functions to the new WebBrowser control. However, we want to be able to support both options in our next release by incorporating both the old OLE control as well as the new WebBrowser control on the same window. The code is setup to check the registry to determine if the WebView2 Runtime has been installed, and if so, make the WebBrowser control both visible and enabled and proceed down that path. However, if the WebView2 Runtime is not found in the registry, then the code will leave the WebBrowser control as disabled and invisible, and will then continue to use the old OLE objects. The problem we are running into is that even with the WebBrowser control disabled and invisible, as soon as a window that has the WebBrowser control on it is instantiated, if the WebView2 Runtime is not found, a popup message is displayed to the user stating "WebView Runtime not installed". Since we are performing our own check, and not using the WebBrowser control if the WebView2 Runtime is not found, we would like to be able to suppress this popup message.

  4. Hi All,

    I am creating a Power Client - Cloud App Launcher - in PB 2022 R3,
    how to keep the same build which will be deployed with different INI file configurations in the production.

    Currently I am adding the INI file in External file list, each time I have to remove and add another INI file to deploy build for another environment.

    How to handle it.

    Thank you,
    Sathishkumar S.

  5. I have recently added a ribbonbar to one of our Powerbuilder applications as part of our modernization efforts.  One thing I really like is that

    the history of opened windows can still be captured and the customer can move between the open windows. 

     

    I have not figured out if there is a way to capture and close the windows if there are multiple instances of a window opened. Has anyone figured this out if it is possible?