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.


Topics - MikeinFL

Pages: [1] 2
1
Nomads / Fonted text and solid fill Shapes
« on: September 28, 2022, 02:15:08 PM »
On a panel I will sometimes create a solid fill Shape with a light color and drag it over some fonted text, to create a highlighted section.  Not as background color of the text, but to highlight a section on the panel. I want fonted text to be visible if a solid fill shape is created on top of it.   

Usually, the fonted text, which was created before the solid fill shape is visible.  But sometimes the solid fill shape hides the fonted text.  Sometimes it does.  Sometimes it doesn't.  If ithe shape hides the text I will then make a new fonted text and move it over the shape, and often that works to make the fonted text visible on the shape area. 

Is there any attribute for fonted text that makes it always visible on a filled shape?  Am I not setting something?  Thanks

 

2
Programming / What is error 119?
« on: January 24, 2022, 10:04:21 PM »
What is error 119?  Documentation says reserved.

I get an error 119 in both v18.20 and v17.10, but not in v14.10 when writing to the same keyed file with this line of code:

1530 WRITE (3,KEY=A1$+VAR$+"00000000")IOL=2390

Thanks

Mike Flemmer
BASIC PC SOLUTIONS



3
Thin Client/WindX / Using INVOKE with Windx on remote RDP users
« on: January 20, 2022, 11:12:38 AM »
I'm new to setting up windx on remote RDP and need help.  I'm testing demo PXPlus Base on a 'cloud' Windows Server 2019 with our users logging in via remote RDP.  I also installed Windx on the Windows Server 2019 to use with *nthost.

Each user has their own presented RDP desktop.  On the first user's RDP desktop I created a Windx shortcut to run our start up program and it runs ok.  The INVOKE in *nthost brings up a windx screen on this user's rdp desktop like I want, and runs our code ok.  Except when our program executes INVOKE to open a freeware notepad- the notepad appears on the server desktop, not the user's RDP desktop where I want it to appear.

Usually I'm setting up nthost or cs on local PC's on a LAN.  What am I doing wrong or need to change with the RDP desktops?  The way our code works is that it will open the freeware notepad by pc name location, so that notepad, installed on each LAN PC, appears on the windx PC that invoked it.  Our code:

IF NID=%LPC_COMPUTERNAME$ THEN INVOKE QUO+LSERVER$+QUO+" "+QUO+F$+QUO
IF NID<>%LPC_COMPUTERNAME$ THEN INVOKE "[WDX]"+quo+LCLIENT$+QUO+" "+quo+F$(6)+QUO

This is not working for rdp desktop.  I can also just use notepad.exe and not the freeware.  How to have the code recognize the rdp user and invoke on that user's desktop?  Thanks.

Mike Flemmer
BASIC PC SOLUTIONS

4
Nomads / Options/Change Directory not keeping
« on: October 14, 2020, 03:56:41 PM »
I change the path in change Directory, but a new PvxPlus session defaults back to the Pvxplus directory, and I have to change it back.  How to have it store my path?  v14.10.0000 
Thx


5
Nomads / Determine previous control that had focus?
« on: September 16, 2020, 10:22:01 AM »
I looked and can find how to know the previous control that had focus? 

Have an exit button that will ask "Abort?" and if No will return to the last multi_line or control, but now the exit button has focus.


6
Programming / Open file explorer to specific directory?
« on: July 22, 2020, 06:05:20 PM »
How to programmatically open file explorer to a specified directory?  Not asking to chose a file or directory like   GET_FILE_BOX does but to have explorer just open.  SYSTEM_HELP EXPLORER.EXE opens explorer but I don't see how to indicate a path directory to open to.

Mike



7
Nomads / *WINGRP;CLEAR
« on: July 21, 2020, 11:21:24 PM »
Was CLEAR removed as an action for *WINGRP?   Documentation does not include CLEAR as a WINGRP action. However this:

CALL "*WINGRP;CLEAR",MULTI_LINES.GRP$

works ok in V5 but not the latest versions.

I think it's only meant for multi_lines.  Wish list to bring it back.

Mike

8
Nomads / _eom$ ignores F2
« on: June 19, 2020, 04:47:42 PM »
6/21/20 UPDATE:

_eom$ is not blank now (solved), but F2 brings up query when only shift-F2 should bring up the query on a multi-line.  Shift-F2 does bring up the query but so does F2.  I need to detect F2 without shift but can't.  How to stop query from coming with F2?

Mike

------------ CANCEL THIS ----------
I need to detect F2 pressed on a multi-line.  On ver5 it works ok when F2 is pressed on a multi-line I process sub to read value in _eom$ and it returns expected $82$ for F2.

But on v14.10 and v17.00 it's null.  There is nothing in e_o_m$ as well.  And F2 pulls up the query which I don't want it to.

Do I need to set something on the multi-line or panel?  And should I read _eom$ or e_o_m$ ?  Documentation shows e_o_m$ not _eom$.

Thanks,
Mike

9
Nomads / Error 26 invalid control on v16 but not v14
« on: April 13, 2020, 06:52:14 PM »
I have a string type multi-line A1.CTL on a panel.

I have this line of code:

BUTTON DISABLE A1.CTL

It's not a button.  It's a multi-line.  When run on v14.10.0000 nothing happens, ignored.  But when same code run on another machine with v16.10.0000 demo, the code produces error 26. 

After the error I do this to show it's a valid multi_line:

? a1.ctl
10002

Do I have something set different between the the two machines?  Is there an ignore set/not set in nomads somewhere?  Or is this a different error behavior between v14 and v16?  I prefer the error.  Thanks

10
Nomads / 2nd list box not responding to single click
« on: April 06, 2020, 09:45:49 PM »
Help with a list box.

Got a panel with two 2 list boxes set the same way as: report view and automatic signal all changes, and full line highlight on.  Listbox1 is detail lines.  Listbox2 is completed contract#'s.   Multi-line1 is contract#.  When entering qty, price, etc they click ADD and I load listbox1.  The focus goes back to QTY multi-lines so they can enter details for a new row.  Even with focus (blinking cursor) on QTY, they can click on any row in listbox1 and Listbox1 performs the logic setup under When Entry is Selected from List Box first time, and each time.

However listbox2, a list of completed contract#s requires a double click first, and then afterwards a single click works as long as it has focus.  How can I fix this so listbox2 responds on a single click the first time like listbox1?  I want this to happen when focus is on contract# multi-line. 

I found that after the invoice is done instead of putting focus on the contract#, if I put focus on the listbox2, THEN it works with single click. I did this with NEXT_ID=LISTBOX2.CTL   But I want focus on contract#, not listbox2.  Possible?

I've tried all kinds of this/that.  Perplexed.

PxPlus Version 14.10.0000

11
Programming / *CONTROL displays error 12 popup
« on: March 30, 2020, 11:29:31 AM »
I have a button -999 in a program.  I have my _CTL-999 program in my app folder.  Using ProvideX v5 it the button runs my -CTL-999 ok.

Same code using Pxplus 2017 v14.10.0000 and 2019 v16.20.0000I get an error 12 popup box. 

As a test, I renamed *CONTROL in 2017 \lib\ and copied the old *CONTROL from ProvideX to it.  I no longer get error 12 box with my button and _CTL-999 and they work. 

I need my button -999 to work.  The newer *CONTROL is pw protected.  Is it ok just to use the old *CONTROL program in PxPlus?  Is there a quick fix or should I submit as a ticket?

Thanks Mike

12
Nomads / SHOW/HIDE Fonted_Text?
« on: March 27, 2020, 12:30:14 PM »
I searched the documentation and can't find how to SHOW or HIDE the FONTED_TEXT control on a panel?  My guess it's not really a control?  It can be initially hidden in general attributes which works.  Thanks

13
Trying to get new customer setup and have run into this issue.  Help please.

I run simple client with a remote rdp (my customer's network support seutp) and it usually runs my startup program fast in 1 second.  But after 3 hours off I tried again and it delayed.  This has been happening since I've set them up.  After 2 minutes of no connection, and ae blank dialogue screen with a cursor in the top left corner, but my startup pgm not running,  I did one thing- I clicked on the desktop of the host (I have remote access) and when I did my startup program ran the moment I clicked on the host server desktop.  The server desktop was not in sleep or saver mode.

It's as if something is going idle on the host server and a mouse click on the desktop wakes it up.  The network support tech has no idea why this happens.   Display sleep was already set to never.  Wakeup was always enabled.  Power management is balanced.  I just set it to High Perf to see if that helps.

Setup:
1. Simple client host runs PxPlus V16.10.0000 DEMO on Windows Server 2019 Standard, port 4093:

Simple client host shortcut:
TARGET
"C:\PVX Plus Technologies\PxPlus 2019 Upd 1\pxplus.exe" -bkg *plus\cs\host -arg "4093;RECON=180"
STARTIN
"C:\PVX Plus Technologies\PxPlus 2019 Upd 1\"

2. Simple client client shortcut is located on another server with Windows 7 Ultimate:

TARGET:
 "C:\PVX Plus Technologies\Windx Plugin 2019 Upd 2\pxplus.exe" *plus\cs\client -arg SERVER1 mystartpgm
STARTIN
"C:\PVX Plus Technologies\Windx Plugin 2019 Upd 2\"

3. My remote rdp the network tech setup for me runs the the above client shortcut located on a different server, not the host


It seems unusual to me to setup a remote rdp not to a client shortcut on the the host server, but to a client shortcut on a different server.  Is this ok?  Also they tell me these windows servers are in a virtual environment.

Their network tech said the no connect might be that the second server, Windows 7 Ultimate, gets bogged down. But everyone was off the second server when my program could not connect.   Remote rdp app always connects ok.  Rdp starts client screen but the client doesn't run my startup program although the dialogue screen comes up and the cursor is 'stuck' at the top left of a blank screen.  As if waiting for a response from the host. 

The host server has no issues in task manager and everything looks normal.  Clicking on the host server desktop (not the second server where the client shortcut is located) makes my startup program run immediately. I've done this several times and clicking on desktop of server makes it run.  This no connect only happens after some time has gone by.   I just tried an hour later and it was ok. 

How to fix?

Mike

14
Using v16 and simple client I want to write a program that will display all active client processes on the host and have the ability to close a client process.  I did this on ProvideX by logging each fid and PID whenever a client logged in, and then checking that window was active and using the old *SNDMSG.API to find the open window and used PID to close it by executing kill.exe on the host..

On v16 simple client *winapi like this is not finding any window: 
CALL "*winapi;FindWindow",WIN_TEXT$,WIN_HANDLE

What's the right way to do this?

15
Registration and Setup / PDF port range?
« on: March 16, 2020, 12:20:13 AM »
What port range do I need to open in the server firewall to allow remote pdf printing?   

I have nthost set on 20000-21999 and ntslave remote (rdp) works ok except pdf does not open unless I open firewall ports 59000-65000.    v16.10.0000






Pages: [1] 2