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 - Jeffrey Ferreira

Pages: 1 2 3 [4] 5 6 ... 12
46
Programming / Associative Arrays
« on: October 17, 2022, 11:06:23 AM »
Hello All,

If I have a small associative array of items like this
INSTALL_ITEM_ARRAY["INS1"]=1
INSTALL_ITEM_ARRAY["INS2"]=1
INSTALL_ITEM_ARRAY["INS3"]=1

 If I check to see if item is in the array it adds that item to array with a value of 0.
Question -> Is there a way i can check the array without it adding it to array. Is this taking up room in memory ...
if i'm checking a few million invoices lines - i dont want to run into an error 31

I know i can use a memory file but the associative array is quite convenient.

thanks

jeff

47
Web Services / Re: EZWeb Server
« on: September 26, 2022, 02:59:28 PM »
Hi Mike

the program name is parts.pxp
i'm using http://localhost:8080/parts.pxp
i'm not using a query string at this time
it is an older version of pxplus 10.2

here is my program parts.pxp

0010 print (%PRINT_FN)"<html>"
0020 print (%PRINT_FN)"<head>"
0030 print (%PRINT_FN)"</head>"
0040 print (%PRINT_FN)"<body>"
0041 print (%PRINT_FN)"<h1>Hello Jeff</h1>"
0042 print (%PRINT_FN)"</body>"
0043 print (%PRINT_FN)"</html>"
0050 end

i'm pretty sure it is finding my program because in firefox here is what it shows on screen

[Pvxprg]�Ù���Õ�½�cai         ����������������������������������������c1’þ���������������X9�������Ù���Õ���½�������Ù��������������������������������������������������������������������������������������������������������������������������������������������€�'�   text/htmlÿ��
Ç$€&�<html>ÿ��Ç$€&�<head>ÿ��Ç$€&�</head>ÿ��(Ç$€&�<body>ÿ��)Ç$€&�<h1>Hello Jeff</h1>ÿ��*Ç$€&�</body>ÿ��+Ç$€&�</html>ÿ��2¦ÿ�ýè¦ÿ
%CONTENT_TYPE   %PRINT_FN���

48
Web Services / Re: EZWeb Server
« on: September 26, 2022, 02:04:29 PM »
Hi Mike when i do this it seems to go into the Downloads Folder and when i open it , it is my program but in an encrypted format [pvxprg]

49
Web Services / EZWeb Server
« on: September 26, 2022, 12:23:17 PM »
Hello List,
I was able to get ezweb server running and rendering static html pages.
when i use print(%PRINT_FN) - it seems to return a file
i'm trying to create a dynamic html page on the fly

so if user goes to localhost:8080/part=A123

i want to return an html page but i want to modify some of the info...
does anyone know how i can do that....
thanks
jeff

50
Language / *plus\web\request
« on: September 07, 2022, 04:50:17 PM »
Hi All,
I am running pxplus 13.1
I have been using *plus\web\request with a fair amount of success with both http and https sites.
Recently a web service provider made some changes. I can no longer connect to certain https urls  using "*plus web request" ->  msg(-1) = "Unable to connect securely"
But i can connect using powershell and postman.

Does anyone have any thoughts suggestions?
i can rewrite my program to use powershell but i would prefer not to if i dont have to.

thanks

jeff

p.s. the web service is to get an access token.

51
Web Services / Re: *web/email not working for smtp.office365.com
« on: June 30, 2022, 05:00:51 PM »
Hi All,

I keep hearing people mention that Microsoft is doing away with basic Authentication for emailing thru an App an instead we will need to use something called OAuth. But then i read that there will be an exception for SMTP. I heard the date October 1, 2022 mentioned.  Can anyone shed any light on this? I'm concerned that our Office 365 email integrations could potentially stop working.

thanks
jeff

52
Language / Trapping for Escape Key
« on: May 18, 2022, 10:58:45 AM »
Hello,

Is there any way to trap for the ESC key being hit. I tried _EOM$ and ctl but i cannot seem to distinguish it from clicking the X-Close .
or would i need to modify *UCK

thanks

jeff

53
Programming / Re: providex.usr - Auto Create
« on: April 29, 2022, 04:57:03 PM »
Thanks Mike - i will give it a try.

54
Programming / providex.usr - Auto Create
« on: April 29, 2022, 03:57:47 PM »
Hello List,

In old pxplus. Is there a way i could automatically create the providex.usr file.
A client is looking for me to make a wizard to create a USER by just answering a few questions.
i should have posted this in "Language"

Thank

jeff

55
Programming / Re: Converting HTML to PDF
« on: April 26, 2022, 09:50:48 AM »
Devon, i tried that (wkhtmltopdf) and it worked perfect.. thank you

56
Programming / Re: Converting HTML to PDF
« on: April 26, 2022, 09:45:58 AM »
i did see that. I might try it. thank you

57
Programming / Re: Converting HTML to PDF
« on: April 26, 2022, 09:34:46 AM »
Thank you Devon. I appreciate all this information. The only reason was I was looking to use HTML is because I had it formatted they way I wanted ...I'll look for another way to get my html into a pdf.

58
Programming / Converting HTML to PDF
« on: April 25, 2022, 03:59:58 PM »
Hi All,
I have a need to convert an HTML Page to a PDF programatically. I've done it manually and it converts real nice.  I was curious about that pxplus chromium object....do you think that could do it?

I should elaborate...when you have a web page open thru chrome...you can print it to pdf and it comes out really nice...i was wondering if i opened a web page thru that chromium object if i could that...i did try it and i could not seem to access any of the methods/properties...that is when i posted to list...

jeff

59
Language / Re: Convert PxPlus File to CSV
« on: March 01, 2022, 08:58:38 AM »
Hi Devon,

Thank you. I didn't think it would be too bad but I just wanted to make sure. I wanted to do it for clients who want to use a BI tool but don't have ODBC or an Architecture conflict (32 bit vs 64 bit app). I appreciate you helping me on this.

Jeff

60
Language / Convert PxPlus File to CSV
« on: March 01, 2022, 08:02:21 AM »
Hello All,

I know you can convert a grid or list box to an csv.  Are there any Utilities out there that will take a PxPlus and convert it to a CSV file. I figured I would ask before creating it.

thanks

jeff

Pages: 1 2 3 [4] 5 6 ... 12