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.


Messages - Cedric

Pages: [1] 2
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
Wish List / Re: An updated Eclipse Plugin
« on: June 26, 2023, 10:48:42 AM »
The Sage plugin doesn't work like it should... It does, but as a bunch of bugs... My colleague tried it and had to check all the programs to make sure it was compiling ok.  I believe one big issue was that it wasn't UTF8 compatible and was detecting the program as non PVX program since it wasn't recognizing some characters like "éàûêà, etc... " that may have been used in comments line.   We write comments mainly in french, so that happens a lot! ;) 

After it "detects" that the program ain't a PVX program, it markes it as an "archive ressource" and won't try to compile until you manually change it.

I think there was another issue where it wasn't recognizing the /* marker for comments.  I'm not 100% about that one though...  Anyway, maybe it was just a configuration issue at some point but we had lost too much time on it so just decided to revert to an older Eclipse version and use the original plugin which works perfectly fine on first try. 

We would also like to use VS since that's what we use for non pvx coding as well.

4
Programming / Re: merging PDFs
« on: March 31, 2023, 08:39:03 AM »
Ok, thanks... will give it a try! 

5
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?

6
Programming / Re: list_box with line borders or alternate colors?
« on: January 18, 2023, 03:01:33 PM »
Super!  Thanks guys!

7
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?

8
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!

9
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!


10
Programming / Re: Background process with no wait... INVOKE?
« on: October 22, 2021, 12:24:14 PM »
Ok, thanks Keith and Mike...  I'll try it out... It makes perfect sense, just thought the INVOKE method existed for that purpose but I guess I misread the documentation.

Thank you

11
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).

12
Programming / Re: Programer Assistance - Providex
« on: April 15, 2021, 10:00:57 AM »
Good day William,

have you had any response so far?  Not sure exactly what you are expecting as for help, but maybe I could help you from time to time.  I am in Canada as well, but on east side (Ottawa) and I know how small the community of PVX programmers is.  So, I understand your situation...  Anyway, I haven't worked with ProvideX for years (we've switched to PVXPLUS a while ago), but it's pretty similar.  I could also ask one of my retired coworker that still does consulting for us.

I'm also curious if someone reads this, is there any PVX programmers that does consulting?  We are also looking to expand our team, but the hiring process is pretty difficult these days!

13
Off Topic / Re: Suggestions for Cloud servers provider?
« on: March 24, 2021, 11:32:24 PM »
OK, thanks guys... Will have a look! 

For now, my main goal is to build a test environment in a cloud (web server and ERP server). But eventually, I'd like to move everything, including productions servers in the cloud for many reasons.

14
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

15
Thin Client/WindX / Re: Windx Memory access violation?
« on: March 08, 2021, 01:19:56 PM »
Hey Mike,

thanks for the response.  I've had this issue with another customer that was on V16... I didn't notice at that time if the users were using MsTeams.  Not all of them had only 4Gb. Some were brand new computers... The only thing I remember is that I've noticed that the users had the tendancies to open up a lot of tabs (around 20 tabs ) in their Chrome browser and it was obviously using lots or ressources.  Support said something about memory management in Windows that could've changed, but had the issue with Win7 and Win10.   That being said, it ain't normal and wish to find a fix!  If it was in my code, I could at least work on a workaround, but in this case, it's happening pretty much anywhere in the system and randomly.  There's no pattern so far which makes it really difficult to understand!

Anyway, will continue to post if I notice any relevant information that could help narrowing the cause and find a fix!


Pages: [1] 2