We are using PB 2017 R3 against a postgres database. We are in the process of porting our application from informix to postgres database.
I have an issue in that functions declared with reference variables - after retrieving the data - the s...
I'm having trouble viewing documents in my browser if the document name has any spaces. I'm trying to replace spaces with %20 for the browser... but when I run my code, it replaces space with %2520 ... here's an example:
I've come across a problem when using the Paste command.
The Paste actually works fine, but the return code is -1.
Sample window, RichText control, CB with paste function to the RT control.
Copy an image from Snipping Tool.
I have found a strange behavior of PB when I use a DataStore into a user function. If I run the projet directly from powerbuilder the function returns the info correctly, but if I run from .EXE it does not work as expected.
I prepared and attac...
i'm migrating from PB 12.5 to PB 2019-R2.
In PB 12.5 to get the path of the userprofile folder, I used this syntax declaring an external global function.
FUNCTION Long GetTempPath(Long nBufferLength, REF String lpBuffer) LIBRARY "KERNEL32.DLL"...
i am trying to use the getrow() function with infomaker version 2017 R2 Build 1769 however because the report i'm developing is requiring the N-Up Datawindow it is throwing the function off , see below. Is there as way i can use this function or any ...
I just want to confirm my understanding. Suppose I have the following (over-simplified) code:
nvo_myobj objobj.StringValue = "foo"w_mywindow.Post wf_do_something("The value is: " + obj.StringValue)DESTROY obj
Is that OK, because the function argume...
I have a user function object used to open a web browser that causes a crash when deploying the project but only when the option to create machine code and a .dll library is selected. Deployment with Pcode as well as machine code without a .dll libr...
I use a simple Rowscopy() function. When i test it with Debug it does the job (return 1)
When i deploy it in 32 bits... The same statement return -1
Is it a runtime DLL issue?
I.e. : It's a old system from...
I would like to write a number to words function in powerbuilder 2017
I google for some solution but I don't know whether the syntax is correct so I would to run in application.
However, I was new to powerbuilder and have no idea to find a ...
I just migrated my project to PB 2017 1681 and run into an error because the behavior of the powerscript function date(string) appears to be changed. In PB 12.6 this:
date('2018-01-53') returns 1900-01-01, what I need.
But in PB ...
Hi Can anyone help
I have a oleobject dll that I need to accesS - I have the following code
objDEPHandler = create OLEObj...
I want to use a DLL, in which Functions require as parameter and yield pointers to a certain structure.
Let's say I have a library header:
extern _declspec(dllimport) Str...
I have a Function in a parent object with an integer parameter, in the child object I have the same function but with overwritten content. Now I changed the parameter to long in the parent object and rebuild the project. After the ...
I am creating new folder in C:\Users\ through PB code (Using CreateDirectory(C:\Users\ssp)), folder is creating but i am not able to see newly created folder, when i access that folder using path C:\Users\ssp then its opening but its hidden.
Specifically, where does the PB function "PrintGetPrinter()" go to look in order to determine the current printer?
UPDATE: 24-MAY-2017 @ 2"38 PM CST.
I >>> THINK ...