PxPlus User Forum

Twitter Twitter Twitter

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Cedric

Pages: [1]
1
Programming / JSON from Array with numeric and string
« on: March 27, 2024, 12:12:59 PM »
Hi,

I'm wondering if there was a way I could "force" a json value to be a numeric when the Array is set to string.   I have a case where I need to send the data in a specific format for the end user (not pvx) who uses variable types.

So my data is all sent as if they were string, but I'd like one specific value to be without quotation mark, so as a numeric value.

I thought that maybe there was a prefix I could put before the value so that PVX would recognize it as a numeric for the end result of :

"value": 1,

instead of

"value": "1",



2
Programming / JSON from Array with numeric and string
« on: March 27, 2024, 12:02:48 PM »
Hi,

I'm wondering if there was a way I could "force" a json value to be a numeric when the Array is set to string.   I have a case where I need to send the data in a specific format for the end user (not pvx) who uses variable types.

So my data is all sent as if they were string, but I'd like one specific value to be without quotation mark, so as a numeric value.

I thought that maybe there was a prefix I could put before the value so that PVX would recognize it as a numeric for the end result of :

"value": 1,

instead of

"value": "1",



3
Programming / merging PDFs
« on: March 28, 2023, 03:05:27 PM »
Hi, I'm wondering if someone ever attempted to merge multiple PDF files into one via pvxplus?  I have some PDFs saved on the server where my goal is to open them up on the client side at once. (not file by file).  In some cases, there could be like 25 files to open at once.

I know there's some linux tools I could use, but wondering if it's doable in PVX?

4
Programming / list_box with line borders or alternate colors?
« on: January 18, 2023, 08:26:45 AM »
Hi,
my customer complains about readability of a specific list_box and would like borders or alternate colors between each line?  I was looking in the documentation, but couldn't find anything about this?  I know I could use mnemonic to manually change the color line by line, but was wondering if there was a property or function that already existed before I alter my program to force this?

5
Wish List / An updated Eclipse Plugin
« on: January 10, 2023, 06:11:08 PM »
It would be nice to have an update Eclipse plugin since the old one isn't compatible with the newer versions.  I think the latest compatible version is dated 2018 or 2019!

6
Thin Client/WindX / Has anyone tried Windx in a Windows 11 environment?
« on: January 25, 2022, 09:21:16 AM »
Hi,

I'm wondering if I should expect some issues if my users upgrade to Windows 11?  We use pvxplus version 17 or version 18...

There has been issues with COM objects (MsExcel) with pvxplus and Win10 while extracting data where it shuts down randomly without finishing the task.  PvxPLus was not able to find a fix for it, saying it was related to the memory management of Win10 (memory gets freed and some memory access violation occurs).  I know Win11 has considerable changes in memory management and thinking that it could help for that specific issue or worsen's it!


7
Programming / Background process with no wait... INVOKE?
« on: October 22, 2021, 08:23:10 AM »
Hi,

I`m looking to improve a function we have that searchs for products via 3 different APIs...  Right now, everything is synchronous, so was looking for a way to go asynchronous to launch 3 queries at the same time and use some sort of data control record to flag when all 3 process are done.  I was trying to use INVOKE in a linux environment where I thought it was creating a new process and executing the command without waiting for the response?

It seems to work pretty much the same as SYS() except I don't receive the response code from OS?  The main process seems to wait until the invoke command is done processing to continue its process...I thought that maybe I had to set param IW to 0, but that didn't do anything!


So, my question is:

Is there a way to execute a background process so that our main process doesn't wait for that background process to finish in linux?  Worst case, I guess I could use a linux shell script... Note that this function could be executed in a WindX session or directly on the server (web queries).

8
Off Topic / Suggestions for Cloud servers provider?
« on: March 23, 2021, 05:09:29 PM »
Greetings fellow Pvx programmers,

I'm wondering if you guys had a suggestion for a Cloud server provider?  I know there's high end providers like IbmCloud, AWS, Google, etc.. These are probably the safest to consider, but since PVX is so light, I was thinking maybe using Digital Ocean?  Anyone is using them in development and/or production environment?

We currently own our servers that are hosted in a bunker.  The servers are starting to get old and cost a lot to maintain (warranty and services) and the bunker is crazy expensive as well.  Digital Ocean is so cheap that I wonder how reliable and good they are.

Anyone has an opinion or suggestion?

Thanks

9
Thin Client/WindX / Windx Memory access violation?
« on: November 30, 2020, 02:42:25 PM »
Am I the only one having problems with "memory access violation" randomly on the client side (windx) while loading a screen since updated to V16.  It's not necessarily the same screen loading... could be any screen.  Some day, users don't experience the issues at all,  but other days it could happen 5-6 times a day.  Not all client has the issues, but I'd say probably 50 out of 90 clients has reported the problem.

Somebody understands the log attached? (from windx)

10
Programming / JSON - now array in V16?
« on: September 20, 2020, 10:28:16 AM »
Hey guys,

I'm struggling with JSON strings!  PxPLus has changed something at some point and the format is now different causing my third party applications (mobile app and website) to not work with this newer Pxplus version.

Here's a simple code:

test$["44451"]="dfgdfgd"
test$["66662"]="tttteeee"
print Dim(List test${ALL})            


In PxPLus V15 or lower it returns:
{"44451":"dfgdfgd","66662":"tttteeee"}

In PxPLus V16 or Higher, it returns:
["dfgdfgd","tttteeee"]


Evertime the key is a number, it does that!?  This is causing big issues as we use JSONs a lot to send structured data.  I have patched a few of my critical functions to add some special characters in front of the key to remove it after the Json string generation.  But this requires me to revise all my programs which is far from ideal!

Is there a fix for this?




11
Programming / *Browser object full screen?
« on: September 04, 2020, 10:45:29 AM »
Hi,

wondering if possible to open a Browser object in full screen just like a normal window/browser?

12
Programming / Dragging cells within table
« on: August 28, 2020, 04:59:17 AM »
Hi,

I'm trying to make my appointment module a bit more user friendly and was trying to use the drag and drop feature within the same table.  Is that even doable in Pxplus?  I think not since cells do not have IDs?   

Pages: [1]