Menu

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.

Show posts Menu

Topics - Cedric

#1
Good morning everyone,

I`m curious to know... Is there a way to just check if a subprogram and entry line exist, but not execute or load that program.

Just to explain my context, I want to check if the subprogram and entry line exist.  If it does, execute something and then call that subprogram and entry line.

I'm working on improving our grid loading routine to load faster though proplist and propvalue.  But in some case, I want to make sure the grid is loaded before exexuting a specific subroutine, but only if that subroutine exists since that subroutine may try to alter the grid.  That subroutine is in another program.

I could've use the LNO function, but it only works with the current loaded program.
#2
Programming / Why use PVX?
June 14, 2024, 11:11:02 AM
Hi guys,

I am currently debating with my team on the advantage of using PVX and why we should keep it.  I do have some arguments against them who try to push me out of PVX to use a more "standard" framework, but still, I am wondering what were your thoughts on it?

We've been using PVX for almost 25 years, but with all the new frameworks available that has a lot to offer, the question is relevant.  So, how to convince them that PVX is still relevant for us?  Our main product is an ERP system built 100% in pvxplus with WindX.  Our complimentary tools (web sites and mobile app) are built in Flutter and php mainly.  Note to say, we use our "in house" GUI engine... So no Nomads... 

I like the fact that PVX stays "retro" compatible, which makes it easy to maintain.  I also like the use of WindX, for control and security mainly.  The database is grest too.  All around, the performance is great for what we do, but there is some drawbacks that makes us rethink our strategy.
#3
Hi, I would like to report 1 issue that I have juste encountered:

Unable to read compressed data like gzip for example.  Normally, I would specify in the header "accept-encoding: none" and it would result in a non compressed response, but on this particular server, it seems they force the response in gzip no matter what I do.  So, now I have to figure out how to handle this in PVX!
#4
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",


#5
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",


#6
Programming / merging PDFs
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?
#7
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?
#8
Wish List / An updated Eclipse Plugin
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!
#9
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!

#10
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).
#11
Off Topic / Suggestions for Cloud servers provider?
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
#12
Thin Client/WindX / Windx Memory access violation?
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)
#13
Programming / JSON - now array in V16?
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?



#14
Programming / *Browser object full screen?
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?
#15
Programming / Dragging cells within table
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?