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

Pages: 1 [2] 3 4
16
iNomads / Re: %inomads'upload_file() times out
« on: July 08, 2022, 09:46:01 AM »
You need to set parameter IZ (SET_PARAM 'IZ'=1) in the PxPlus session that is running the EzWeb Server or else it will run out of memory (error 31) and terminate.

17
Nomads / Re: not a graphical device -- can not use nomads panels
« on: April 28, 2022, 03:16:52 AM »
When you get that message during a PROCESS, the message comes from the GET_VERSIONS routine in *WINPROC:

14320 LET _X$=MSE
14325 IF MID(_X$,1,1)=$FF$ THEN PRINT "Not a graphical device -- cannot use Nomads panels"; EXIT

Can you enter these commands in PxPlus console mode and show us the output:

PRINT CVS(FIN(0),16)
PRINT HTA(MSE)

18
Nomads / Re: not a graphical device -- can not use nomads panels
« on: April 27, 2022, 04:42:24 AM »
That message comes from *Nomads:

->load"*nomads
->list 26
0026 IF TCB(88)=0 AND TCB(82)<0 THEN PRINT "Not a graphical device -- cannot use Nomads"; END

So if you're not using WindX (tcb(88)=0) and your OS isn't Windows (tcb(82)<0), you're not allowed to run a Nomads application.

19
iNomads / Re: Calendar Objects in iNomads
« on: March 10, 2022, 04:47:17 AM »
I think the trick is to create a 'Calendar Control Definition' that doesn't use any separation characters, like 'YYYYMMDD' or 'MMDDYYYY' (instead of 'YYYY/MM/DD' and 'MM/DD/YYYY').

In the multiline that receives the date, you want to use an 'Input Mask' with separation characters (0000/00/00 or 00/00/0000 in my examples).

And the 'Initial Value' should be a true date, for example Expression DTE(0:"%Yl%Mz%Dz") or Expression DTE(0:"%Mz%Dz%Yl") - again without any separation characters. 

I've attached an example. Import 'calendar.txt' in a Nomads library.  Create the Calendar Control Definitions (all three) like shown in the pictures (same names and properties).

Should work in v15 up to v18.

20
Programming / Re: .doc to .pdf
« on: January 06, 2022, 03:24:41 AM »
Try this:

0010 ! Instantiate object
0020 LET W=NEW("*obj/word")
0030 !
0040 ! Open document
0050 LET PATH$="c:\temp\test.docx"
0060 LET DOC1=W'OPENDOCUMENT(PATH$)
0070 !
0080 ! SaveAs PDF file
0090 W'SAVEASDOCUMENT("c:\temp\nowpdf.pdf")
0100 !
0110 DROP OBJECT W
0120 END

-Eric-

21
Off Topic / Re: BBx to Notepad
« on: October 27, 2021, 08:32:41 AM »
Call "*cmd/system/loadbbx","name_of_bbx_program"

will transfer a BBx program to PxPlus program memory and

Call "*cmd/system/clip","1-64999"

will transfer the PxPlus program to the clipboard.  Both commands also work from console mode:

->loadbbx bbx_program
-:clip 1-64999

22
Programming / Re: login
« on: October 26, 2021, 03:05:52 AM »
%aps'ServerUserName$ should work.

23
Can you check if you have a *plus/dll/pluslib_base.dll file (on the WindX side) ?  If not, you need to download the v17.10 PxPlus Windows ZIP download, extract that file and copy it to your Windx lib/_plus/dll folder.  Then restart WindX and try again.

24
You're getting an error at line 500 in *winproc where it performs *winproc.dsp;DISP_SCRN.  You need to add PASSWORD *,"password" to your start program and open a trace window with 'Log all errors' enabled before you display that panel.  It should tell you on what line in *winproc.dsp the error 17 happens.

Also make sure that your product activation is OK - pxpreg should display two activated products, one for V17 and one for package 7587.

25
Can you add these commands to your start program:

SET_PARAM 'TU'=0; LET  %NOMAD_Turbo_Off=1

Regarding the missing HTML - if you installed v17.10 on top of a previous version, you may want to repair the v17 installation (first stop all processes/services that are running v17).

26
The syntax would [MySQL]Database;Table;host=ip_addr;user=name;pswd=password;etc...



27
Web Services / Re: *web/email stops when adding large attachments
« on: April 22, 2021, 02:57:35 AM »
When at the 3} prompt, can you enter PRINT PGN and PRINT TCB(5) ?

28
Tips and Techniques / Re: Silent Installation
« on: January 26, 2021, 05:05:29 AM »
Stéphane,


If you extract the MSI file from the installation executable, you can use those settings:

msiexec /i "C:\Temp\MSI\PVX Plus Development Suite 2017.msi"  /quiet /qn /log C:\temp\msi.log TARGETDIR="C:\" INSTALLDIR="C:\WindX V13"

29
Programming / Re: PasteFilter cannot be turned off
« on: December 10, 2020, 05:04:19 AM »
PRINT 'option'("PasteFilter","0"),

works for me.

30
Thin Client/WindX / Re: WindX auto-download and Application Server
« on: December 03, 2020, 04:12:16 AM »
Are you talking about the 'dynamic downloads' (parameter '+U') or the 'static downloads' (sync.conf file) ?  I've set up an application server (*appserv/config) and tried both, and they both work.

-Eric-

Pages: 1 [2] 3 4