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

Messages - EVa

#1
When using WindX with the application server, opening the viewer causes a new WindX session to be started (through the *server/*client programs).  This means that PxPlus will execute the START_UP program (on the WindX side of the connection).  Just create a START_UP program with these contents (on the WindX PC - or create it on the server and move it to the WindX PC as you can't create programs {easily} on the WindX side of the connection):

0010 ! START_UP
0020 MSGBOX "You're in "+PGN,"Info"
0030 SET_PARAM '+A'=1
0040 STOP

When you open a viewer, you should see the msgbox appear.
#2
Programming / Re: Using *web/email with a gmail account
September 03, 2025, 04:39:41 AM
I'm using v22 and in order to use a Gmail account for sending emails from PxPlus, you need follow these steps as outlined in the manual:

https://manual.pvxplus.com/?Google%20Workspace%20Objects/App%20Setup.htm

Then run this code:

0010 LET clientid$="Client ID from Google"
0020 LET clientsecret$="Client secret from Google"
0030 LET oAuth2=NEW("*obj/oauth2")
0040 LET oAuth2'Authorization_URL$="https://accounts.google.com/o/oauth2/auth"
0050 LET oAuth2'Token_URL$="https://oauth2.googleapis.com/token"
0060 LET oAuth2'client_id$=clientid$
0070 LET oAuth2'client_secret$=clientsecret$
0080 oAuth2'Enable_Certification("Message to appear in browser to inform you that access has been granted")
0090 WAIT 1
0100 LET url$=oAuth2'Get_Authorization_URL$("https://mail.google.com")
0110 SYSTEM_HELP url$
0120 INPUT "Press any key to continue after logging into account and allowing PxPlus access:",'CI',*; PRINT ""
0130 oAuth2'Get_Access_token()
0140 LET refreshToken$=oAuth2'Refresh_token$
0150 LET accessToken$=oAuth2'Access_token$
0160 DROP OBJECT oAuth2
0170 !
0180 CALL "*web/email","your_email@gmail.com","","eric@edias.com","","","Test GMAIL","This is a test - email from *web/email","","","smtp.gmail.com;465-secure;your_email@gmail.com;your_password",0,-1,"",0,ERROR$,"",savedfilename$,accessToken$
#3
Did you try FIN(0,"SYSTEM_JRNL") ?
#4
Programming / Re: PDF Printing
May 20, 2025, 06:41:15 AM
SYSTEM_HELP PRINT "pdffile" should work.
#5
Webster Plus / Re: Webster+ Help
January 21, 2025, 06:40:21 AM
You should probably test if PxPlus works correctly after setting

export PXP_SSL_LIB=/usr/lib/x86_64-linux-gnu/libssl.so.3
export PXP_CRYPTO_LIB=/usr/lib/x86_64-linux-gnu/libcrypto.so.3

Just start PxPlus and enter this at the prompt in console mode:

OPEN (1)"[TCP]google.com;443;secure"

That should not return an error.  If it does show an error, PRINT MSG(-1) will tell you why that is failing.
#6
Nomads / Re: Data Dictionary auto create
December 04, 2024, 03:34:04 AM
If I'm not mistaken, the program is looking for providex.ddf and providex.dde.  Just run the data dictionary utility in order to create these files (enter dd in console mode or run "*nomads" and select Dictionary/Maintenance from the menu).
#7
Language / Re: 'rb' escape sequece
December 04, 2024, 02:47:48 AM
'RB' should be defined in your terminal driver program - for example in *dev/vt100:

->*['rb]
1110 MNEMONIC (LFO)'RB'=$07$

Certain emulators also have a 'dump data to screen' mode that will display whatever they are receiving.
#8
Nomads / Re: Data Dictionary auto create
December 03, 2024, 04:52:12 AM
Run "*PLUS/UTIL/DICTDEF" should work.
#9
Language / Re: 'window' behavior
October 29, 2024, 11:10:33 AM
Are you sure parameter 'B0' (Window base '0') is set when running TinyTERM ?
#10
Programming / Re: no txt-attachments with *web/email
August 14, 2024, 03:04:12 AM
I just tried:

0100 CALL "*web/email","sender@edias.com","","receiver@gmail.com","","","Test TXT","This is a test","listing.txt?Q","","server.com;port-secure;login;pswd",10,60,"",0,error$

and received 'listing.txt' as attachment (in text format).
#11
Are you starting the same shortcut on the client PC multiple times, or are these different shortcuts ?  If these are different, can you show us the target commands ?
#12
This only happens to me when I use different WindX versions (say v12 and v16) on the client PC to connect to the host.  So if the first connection uses WindX v12 and the second (and all following) one(s) use v16, it will consume 2 licenses.
#13
Programming / Re: def object x,"[wdx]*"
July 17, 2024, 05:03:49 AM
AFAIK, that listbox shows registered ActiveX controls that have a 'Control' subkey.  In other words, when you start REGEDIT and go to HKEY_CLASSES_ROOT\WOW6432Node\CLSID, all keys in there that have a 'Control' subkey, like for example:

HKEY_CLASSES_ROOT\WOW6432Node\CLSID\{CA8A9780-280D-11CF-A24D-444553540000}\Control

(Adobe PDF Reader).  So if one PC shows sigsign.sigsignctrl.1 and another one shows sigplus.sigplusctrl.1, I would expect the registry entries to be different.
#14
When you connect to the server and click the icon in the upper left corner of the window and select 'About PxPlus' in the menu that appears, does it show serial number 799995 or something else ?
#15
ODBC / Re: [OBD] CONNECT=
July 12, 2024, 03:07:33 AM
Allright - change line 20 to:

0020 OPEN (CHAN,OPT="CONNECT="+"'"+CONNSTRING$+"'")"[ODB];;"

(add ;; after [ODB]).