Search
- 61. Convert a metric application to US or Imperial units
- (Discussion: PowerBuilder)
- ... like to use US units. Does anyone know of a simple, straightforward method to convert a PB application that handles data in SI units to handle data in US or Imperial units? Michael Connell. ...
- Created on 24 January 2022
- 62. RE: SQL Connection with Domain Account -- SQL User vs AD User
- (Discussion: PowerBuilder)
- Hi, Michael - If by "AD account" you mean a Windows domain/user, then in SQL Server (you neglected to mention what version of SQL Server you are using), you define the Login as follows: substitutin ...
- Created on 27 December 2021
- 63. RE: PowerBuilder-application crash (COMCTL32.dll)
- (Discussion: PowerBuilder)
- ... bit. Thank you. Regards Michael ...
- Created on 20 December 2021
- 64. RE: PowerBuilder-application crash (COMCTL32.dll)
- (Discussion: PowerBuilder)
- Hi Chris! the problem is that we don't know where the comctl32.dll is being called. We are not using it directly. The application crashes on many different actions. Regards Michael ...
- Created on 20 December 2021
- 65. RE: PowerBuilder-application crash (COMCTL32.dll)
- (Discussion: PowerBuilder)
- Hi Michael; Since this is a random crash ... I would suggest adding a TRY..CATCH PowerScript block around the "COMCTL32" logic. Often to the catch operation, the "Exception" object's information f ...
- Created on 17 December 2021
- 66. RE: PowerBuilder-application crash (COMCTL32.dll)
- (Discussion: PowerBuilder)
- Greeting, Michael - Some additional information, please: 1. Is the PB app being deployed as exe/pbd's (p-code) or exe/dll's (machine code)? 2. Compiled as 32-bit app or 64-bit? 3. Is the applicati ...
- Created on 17 December 2021
- 67. RE: Are private object level functions and instance variables only class private?
- (Discussion: PowerBuilder)
- Hi Michael, ".. private is only class private, not instance private.". Yes, that is (still) correct. afair that was also discussed in this Q&A. But I do not think that this is an argument for not ...
- Created on 09 December 2021
- 68. RE: Are private object level functions and instance variables only class private?
- (Discussion: PowerBuilder)
- Hi, Michael - The following information may help... From PB Help topic titled "Defining the access level / Defining user-defined functions": From PB Help topic titled "Access for instance variabl ...
- Created on 09 December 2021
- 69. Are private object level functions and instance variables only class private?
- (Discussion: PowerBuilder)
- ... and instance variables: "Private access right is discouraged since private is only class private, not instance private." Is this correct? Regards, Michael Connell. ...
- Created on 09 December 2021
- 70. RE: Code reformatting
- (Discussion: PowerBuilder)
- John, Thank you very much for your reply. That was exactly the sort of thing I was suspicious of. Regards, Michael Connell. ...
- Created on 16 November 2021
- 71. RE: Code reformatting
- (Discussion: PowerBuilder)
- Hi, Michael - Your alternative code only works the same as the original when the app manager object (gnv_app) and the Debug service object (inv_debug) are instantiated. In a service-based architecture ...
- Created on 05 November 2021
- 72. RE: Code reformatting
- (Discussion: PowerBuilder)
- Hi Michael; Yes, a bit of code overkill. It would make sense for the three IF's if there were further embedded code in each IF code block - say with an ELSE thrown in as well. Regards ... Chris ...
- Created on 05 November 2021
- 73. Code reformatting
- (Discussion: PowerBuilder)
- ... is valid then gnv_app.inv_debug and gnv_app must also be valid. Or is there some coding subtlety I'm not getting here? Apologies if this comes across as a dumb question. Regards, Michael Connel ...
- Created on 05 November 2021
- 74. RE: How do I find "advice" threads here?
- (Discussion: PowerBuilder)
- ... that reference the name. You could then limit it to blogs (or any other category) if there was some specific type of content you were looking for. https://community.appeon.com/index.php/component/search/?searchword=Michael%20Kramer&ordering=newest&searchphrase=all&Itemid=283 ...
- Created on 28 October 2021
- 75. How do I find "advice" threads here?
- (Discussion: PowerBuilder)
- Hello, It's not about PowerBuilder, it's about Appeon Community Q&A, but there's no such a category. More than a year ago Michael Kramer wrote that he would start an "advice" thread with tips on wri ...
- Created on 28 October 2021
- 76. RE: How to handle Array out of bounds
- (Discussion: PowerBuilder)
- Guys, Thank you very much for all your replies. I guess I'll just have to stick with using UpperBound() for the time being. Regards, Michael Connell. ...
- Created on 07 October 2021
- 77. RE: How to handle Array out of bounds
- (Discussion: PowerBuilder)
- Hi Michael; IMHO - The UpperBound command is still the best implementation in PB for this. Regards ... Chris ...
- Created on 05 October 2021
- 78. RE: How to handle Array out of bounds
- (Discussion: PowerBuilder)
- Hi Michael, conditional (lazy) AND would indeed be the clean way to write that code but it is not available in PB. I would open a feature enhancement ticket for Appeon. Try catch for handling array ...
- Created on 05 October 2021
- 79. How to handle Array out of bounds
- (Discussion: PowerBuilder)
- ... ds, Michael Connell. ...
- Created on 05 October 2021
- 80. RE: PB2019 R3 & Powerserver (PB Edition) 2020 support for iOS
- (Discussion: PowerServer 2020 or older (Obsolete))
- Hi Michael, Yes, PowerServer 2021 and newer only support Windows OS. We just didn't see a lot of demand to run PB apps on iOS/Android, and at the same time if we only ran on Windows OS we could suppor ...
- Created on 21 September 2021