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

Language / Re: Active Window?
October 17, 2022, 04:28:25 PM
After moving the application over to an Azure server running Windows Server 2019 (versus 2022) the focus issue has gone away.   We're good for now but suspect that somewhere down the road will have to address this again.
Language / Re: Active Window?
October 06, 2022, 05:09:13 PM
Mike, we're moving the app over to another Azure server that will be running Server 2019 (just to see if we're having some sort of compatibility issue) We're not using iNomads.  Users connect to the Azure system thru their browser and are served up a remote desktop with specific icons on it.  Will provide feedback and more info next week.
Language / Re: Active Window?
October 04, 2022, 05:55:23 PM
We did.  We feel it might be how the O/S is interacting with our app (or PxPlus in general).  We've deployed on an Azure server before however that server is running 2019 server versus 2022 server.  We've been able to run the application without the focus issue when connecting to the Azure server via an RDP session.  It's only when we use a browser (doesn't matter which one we've tried them all) to connect to the Azure workstation environment and start our application from an icon there that we experience the focus issue.  Instead of us fighting a Microsoft Server version problem we were hoping to just insert some code in our program(s) to force focus to a window after it has been drawn. 
Language / Active Window?
October 04, 2022, 03:33:55 PM
Trying to determine why a nomads panel (or character window for that matter) when launched from a program and/or our menu will not come up as the active window.  Panel appears correctly, however we have to click somewhere on the panel in order for it to receive focus.  Working in version 17.1, trying to move application to Azure server with access via browser.   Application works correctly on current Windoz server with access to app via RDP.  Azure server is running Windows Server 2022.  We are not using Windx (at the moment).  Questions are:  Is this something that has been run across before?  Is there a way to force focus to a window after it has been drawn on the screen?  We've looked at 'GOTO' mneumonic but are having trouble determining the correct window ID value to place in this command (tried using *winapi;findwindow" without any luck.
Nomads / Queries, Grids, & Folders (oh my)
November 30, 2020, 03:43:37 PM
I have a standard query assigned to a cell within a grid and the grid is on the second of a series of folders on a panel.  The query is used to look up members by name.  Use this query all over our app, however this is the first time using it in a grid.  The query has "Auto Tab" turned on in the header.  Works well, however with the "Auto Tab" on the application moves to the next folder after returning from the query and associated "on change" cell logic.  When I turn "Auto Tab" off the program returns back to the original cell on the current folder.  I'm figuring the query logic is forcing my program to move along to the next control, however I need it to stay in the same control (grid / folder).  I'm good with turning off the "Auto Tab" and adding code to move along to the next column in the grid however I'm wondering if this is really necessary. 
Thin Client/WindX / User INI file on CITRIX server
October 20, 2020, 05:26:18 PM
Trying to figure out the best way to handle this.  Not a Citrix expert (or even a novice), however my understanding is each time a user launches our application the Citrix server fires up Windx from a common location and sends the user on their way.  And, it appears that because everyone gets an instance of Windx from the same place that they all are sharing the same INI file content.  I read the documentation and saw that there is a rule applied by Pxplus for locating the INI file when an explicit folder is not named in the command line (such is my case).  According to the docs the first place searched is the "Current User's Data Directory".  That sounds like the solution to me (copy a default INI file to that location and have the user start again).  How do I determine what that location is??
Mike, they are using Windx to connect to the server (via SSH).  They are using a Powershell script on the desktop to grab active directory credentials and launch Windx.  Lots (250+) of users coming in over wide area network.  Highly suspect network issues to be at the root of this.  When I spoke with them today they had already set the KeepAlive parameter to 12 minutes.  Do you have any paperwork that explains how KeepAlive works from the client perspective?  I'd like to be able to pass that along to them to help them understand why (or why not) the client re-connection process works after a network interruption occurs. 
I have a client who is experiencing several issues (error 0's, exceeding user license count, etc) due to server side sessions staying alive after the client connection gets abnormally terminated.  They are using Telnet to connect to a Linux server.  Is there a utility available that can identify orphaned Linux sessions and terminate them?   
Nomads / EnterMode in Grid
July 29, 2020, 03:55:57 PM
I have a grid residing within a folder.  Can't figure out why when I click into a cell, change the value, then press the Enter key the program switches to the next folder.  I have EnterMode set to '3' in the presets of the panel with the grid that is misbehaving.  Funny thing is if I click into a cell and don't change anything and then press the ENTER key the cursor within the grid behaves as expected.  Also, while on the subject is there a general rule about using TabMode versus EnterMode to set cursor behavior and should you ever use both in the same grid?
Nomads / Re: Reference grid on panel (how to)
July 28, 2020, 04:53:36 PM
The "On Exit" logic for the panel.  Perfect.  Again, just feeling my way thru the folder dynamic.  Do appreciate the other info regarding the Fldr properties as it's always nice to know what's going on in the background.  Thanks for the feedback.
Nomads / Reference grid on panel (how to)
July 27, 2020, 05:55:04 PM
Working with folders for the first time.  I have a base panel with 3 folders on it (header, detail, totals).  My details folder has a grid on it that I need to reference back to when the operator is done working on the invoice (for lack of a better term).  I'm using Preserve Controls and Auto Advance (thanks for that feature).  I'm trying to figure out the best way to get the information from the details grid once the user is done (since the user can pretty much click on any tab and/or the "I'm Finished" button).  Is there a way to reference a grid on a folder that is not in focus OR do I have to keep the grid data in a work file and read out of that.  I was trying to avoid the second option to cut down on updates back and forth between the grid and file.  Really hoping there's some way to say "hey, I need to get data out of that grid on folder 2 without having to switch focus back to the folder". 
Programming / Re: Error 61 calling *winapi
January 22, 2020, 01:49:47 PM
Thank you Mike that's exactly what the issue was.

Programming / Error 61 calling *winapi
January 22, 2020, 01:19:57 PM
PxPlus 2017 nthost / ntslave configuration.  I have a client who is updating their PC's to Win10.  One of the systems is brand new.   On this system we are getting an error 61 when trying to call %wdx$+"*winapi;getsystemmetrics".  I have tried to uninstall and reinstall Windx.  Positive that correct versions are being used.  Can anyone provide me with an idea as to what might be going on?  I'm thinking some sort of permissions problem with the user account on the PC but unfortunately I'm having to work thru another IT group to resolve this and so far are not a lot of help.

Jeff DeGrendele
SDA, Inc.
Nomads / AutoCompName in Grid
March 28, 2019, 06:17:58 PM
Trying to use AutoCompName property in presets of a grid.  The Column (Number/Name) is greyed out and set to a value of zero.  I am unable to assign which column I would like for the property to be associated with.  Providex version 14.1.
Nomads / Re: Locked Cells in a Grid
July 25, 2018, 04:49:36 PM
Thank you Mike for the explanation.  We'll work around it.