Appeon Comunidad

Preguntas y Respuestas Comunidad de Appeon
Appeon Community
  1. Hello

    Here's an interesting seemingly simple question:

    Is the IP address 172.18.13.127 between 172.17.0.0 and 172.19.0.0  ?   (note the comparison values can change)

    more generally stated is IP address1 between IP address2 and IP address3

    An IP address is a binary number -

    how to convert the IP string to a binary and then do a binary comparison in PowerScript?

    Thanks

    ==Yakov

     

     

  2. I was at PowerBuilder Version 2022 Build 1878 when we received the update about that there was a vulnerability when using ADO.NET database connection in a newer update.  I stayed at my current version.  I did not perform a PowerBuilder update until now, when it was said that Build 3356 resolved this issue.  I have performed the updates to get to Build 3356.  Now when I try to connect to the SQL Database, I get the error:

     A connection was successfully established with the server, but then error occurred during the login process. (provider: SSL Provider, error: 0 - The target principal name is incorrect.)

    SQLDBCODE= -2146893022

     

    Just trying to understand what has changed in this latest PowerBuilder upgrade that now gives me an error when connecting to the SQL Server database.

  3. Hi

    We are converting from our old SMTP object (Rolands) to the new SMTPClient and we seem to be missing functionality. We are adding images in an email that are inline, but there is no option in the new smtp object to achieve this.

     

    Looking at the old code it used 'Content-Disposition: inline;' as apposed to 'Content-Disposition: attachment;' to denote the different methods of inclusion. It also uses 'Content-ID: <attach.' + filename + '>' 

    Am I missing something in the new smtp object or has this functionalty been missed and I need to ask for an enhancment?

    Thanks

    David

  4. I am working on customizing a menu.  One of  the menu choices is called Favorites, and you can have up to 9 favorite items in this submenu.  I have a function that will rename the 9 items and make them visible (if you only have 6 then only 6 are visible).  Your favorite is stored in an array that contains the menu option you want to select.

    For example, variable gm_menu_favs[1] = m_mdi_frame.m_report.m_all_sales.  The menu text Favorites\Favorite1 has been changed to Sales Report.

     

    When Favorites\Sales Report is selected, in the clicked event I want to execute this script.

     

    gm_menu_favs[1].triggerevent(Clicked!)

     

    however this will not work as it says "Invalid operand type for Dot operator:string

     

    Makes sense, but how do I create a menu object and identifiy the menu item I want to trigger?

     

    this also does not work.

    menu lm_this
    lm_this = this

    lm_this.gs_menu_favs[1].triggerevent(Clicked!)

     

    Thanks

     

     

  5. Hello everyone and thanks in advance for any help .

     

    We developed appeon application that generates xml for filing tax forms. Thay displays nicely using the new and latest webrowser2. 

    We discoverd a sytly sheet that can be used with our xml but I'm not sure how to open the or view the xml and apply the sytle sheet (xsl) using the browser or some other method. Is this possible and if so can I get any clues on how to do it.

     

    Thank You,

    Richard Carrier