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.
1
Web Server - Ask For Help / Anyone have passkeys implemented
« on: Today at 02:47:01 AM »
Hi
NT 14.31 C11
I am looking into implementing passkeys for secure access to my APP. Has anyone done any work with these or have any insights?
Thanks,
ROn
NT 14.31 C11
I am looking into implementing passkeys for secure access to my APP. Has anyone done any work with these or have any insights?
Thanks,
ROn
2
Web Server - Ask For Help / Re: session values in NetWebService not visible???
« on: November 14, 2025, 03:45:55 AM »
HI Jane,
I did some reading and evaluating. WHile I could put it in Host Value by Transaction number, e.g. SetHostValue('mytransactionNumber', 'data for transaction'), I am not sure that this is ever cleared.. Worse to run out of memory than to have a few extra database reads! So, I am going back to checking my file.
Ron
I did some reading and evaluating. WHile I could put it in Host Value by Transaction number, e.g. SetHostValue('mytransactionNumber', 'data for transaction'), I am not sure that this is ever cleared.. Worse to run out of memory than to have a few extra database reads! So, I am going back to checking my file.
Ron
3
Web Server - Ask For Help / Re: session values in NetWebService not visible???
« on: November 14, 2025, 03:21:28 AM »
hi Jane,
Last night I realized that the API client-NetWebService may have a different Session ID than the NT member procedure and the NetWebService. I had ruled out spelling and clearing the values and I know that they were written correctly in the WebService procedure. The only thing is the SesionID. May look at Set Host Value.....
Thanks,
Ron
Last night I realized that the API client-NetWebService may have a different Session ID than the NT member procedure and the NetWebService. I had ruled out spelling and clearing the values and I know that they were written correctly in the WebService procedure. The only thing is the SesionID. May look at Set Host Value.....
Thanks,
Ron
4
Web Server - Ask For Help / Net Refresh
« on: November 13, 2025, 04:19:50 PM »
HI
NT 14.31 C11
I want to watch a table to see if it is refreshed. This works automagically with the Templates for a Browse.
However, When my NetWebServiceMethod makes changes to a File. e.g "SHOPS.TPS', when I have other procedures watching the file, they update immediately.
Now, I want to watch the "SHOPS.TPS" with another procedure to see if the record has been updated. It is NOT a BROWSe or Form. It is HandCoded. So, how can I check in code if the "SHOPS.TPS" file has been updated (by checking the Socket value somehow?) so that I know to read the File and grab the new values in my hand code procedure.
Looking at this as an alternative to p_WEB.GSV('Somevalue') set by the NetWebServiceMethod does not appear to the other procedures in my app.
Thanks,
Ron
NT 14.31 C11
I want to watch a table to see if it is refreshed. This works automagically with the Templates for a Browse.
However, When my NetWebServiceMethod makes changes to a File. e.g "SHOPS.TPS', when I have other procedures watching the file, they update immediately.
Now, I want to watch the "SHOPS.TPS" with another procedure to see if the record has been updated. It is NOT a BROWSe or Form. It is HandCoded. So, how can I check in code if the "SHOPS.TPS" file has been updated (by checking the Socket value somehow?) so that I know to read the File and grab the new values in my hand code procedure.
Looking at this as an alternative to p_WEB.GSV('Somevalue') set by the NetWebServiceMethod does not appear to the other procedures in my app.
Thanks,
Ron
5
Web Server - Ask For Help / session values in NetWebService not visible???
« on: November 13, 2025, 02:20:25 PM »
Hi
NT 14.36 C11
I have a NetWebService and it has p_web as the parameter.
I set some sessionValues. p_Web.SSV('Someitem','one') in the NetWebService procedure.
I have another Net Talk procedure ( actually a Memform not on a table). I am trying to read the values set by the NetWebService procedure.
e.g. in my Memform procedure, I want to check these values periodically. However my p_Web.GSV('Someitem') is ALWAYS blank - even after I see that my NetWebService procedure has set them using Trace statements.
YIKES - these should be working as they are part of the same session.....
Any ideas?
Thanks,
Ron
NT 14.36 C11
I have a NetWebService and it has p_web as the parameter.
I set some sessionValues. p_Web.SSV('Someitem','one') in the NetWebService procedure.
I have another Net Talk procedure ( actually a Memform not on a table). I am trying to read the values set by the NetWebService procedure.
e.g. in my Memform procedure, I want to check these values periodically. However my p_Web.GSV('Someitem') is ALWAYS blank - even after I see that my NetWebService procedure has set them using Trace statements.
YIKES - these should be working as they are part of the same session.....
Any ideas?
Thanks,
Ron
6
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« on: November 02, 2025, 05:41:29 PM »
Hi,
Found that this requires .Net Framework 3.5. I have it on my machines but I am running my app on WIndows 2022 Server and you have to jump through hoops to put it on a Server.
Ron
Found that this requires .Net Framework 3.5. I have it on my machines but I am running my app on WIndows 2022 Server and you have to jump through hoops to put it on a Server.
Ron
7
Web Server - Ask For Help / Re: NetRefresh
« on: November 02, 2025, 05:39:19 PM »
Hi Jane,
This is Refresh is awesome. I had 3 procedures that I had working with 2 second polling - mostly because there were under the hood changes in some of the tables that I needed to keep up to date. With a little work, I got rid of all the polling - my WebServer now just sits there with nothing to do. It is just amazing. Got all three procedures running with web sockets - and it it instant whereas with 2 second polling, I had to "wait" for the update. THanks for the critical insight you supplied.
ROn
This is Refresh is awesome. I had 3 procedures that I had working with 2 second polling - mostly because there were under the hood changes in some of the tables that I needed to keep up to date. With a little work, I got rid of all the polling - my WebServer now just sits there with nothing to do. It is just amazing. Got all three procedures running with web sockets - and it it instant whereas with 2 second polling, I had to "wait" for the update. THanks for the critical insight you supplied.
ROn
8
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« on: November 02, 2025, 10:56:30 AM »
Hi Osquibro,
Got it working. Pretty slick.
THanks,
Ron
Got it working. Pretty slick.
THanks,
Ron
9
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« on: November 01, 2025, 03:27:22 PM »
HI Osquiabro,
Is there a link library that goes with QRCode.dll?
Thanks,
Ron
Is there a link library that goes with QRCode.dll?
Thanks,
Ron
10
Web Server - Ask For Help / Re: NetRefresh
« on: November 01, 2025, 12:31:16 PM »
HI Jane,
I added the line to SetTableValue to my table and MAGICALLY - it worked!!!
Better than having polling every 2 seconds!
Thanks,
Ron
I added the line to SetTableValue to my table and MAGICALLY - it worked!!!
Better than having polling every 2 seconds!
Thanks,
Ron
11
Web Server - Ask For Help / Re: NetRefresh
« on: October 31, 2025, 01:09:01 PM »
Hi Jane,
Thanks for that. I saw that but the templates seem to suggest that they will write that code to trigger refresh when you identify the File for Refresh. I will give that manual entry a try.
Ron
Thanks for that. I saw that but the templates seem to suggest that they will write that code to trigger refresh when you identify the File for Refresh. I will give that manual entry a try.
Ron
12
Web Server - Ask For Help / NetClient.Send error??
« on: October 31, 2025, 02:36:56 AM »
HI
NT 14.36 C11.
I added NetRefresh to my NT app. Now when I Save an Update to a record, I get the following error message:
A nettalk network communication error has occurred.
Error = Anerror occurred while attempting to send a packet from service.
The error number was -12 which means you are trying to send data to someone who is not in the receivers (servers) list.
Error occurred in function (parent) NetClient.Send
ServiceName = (blank)
Can anyone shed some light on this? My NetRefresh is not working correctly and maybe this has something to do with it?
Thanks,
Ron
NT 14.36 C11.
I added NetRefresh to my NT app. Now when I Save an Update to a record, I get the following error message:
A nettalk network communication error has occurred.
Error = Anerror occurred while attempting to send a packet from service.
The error number was -12 which means you are trying to send data to someone who is not in the receivers (servers) list.
Error occurred in function (parent) NetClient.Send
ServiceName = (blank)
Can anyone shed some light on this? My NetRefresh is not working correctly and maybe this has something to do with it?
Thanks,
Ron
13
Web Server - Ask For Help / NetRefresh
« on: October 31, 2025, 01:47:14 AM »
HI
BT14.36 C11 ABC
I am starting to play with NetRefresh. I have a case where user B is watching a NT BROWSE on table called J_SRVREQ. This Browse is set in NetRefresh Local Extension to Refresh table J_SRVREQ and sending J_SRVREQ.
I have a client who INSERTS a record into table J_SRVREQ. The client is set to Refresh J_SRVREQ. Insert is done using the UPDATE for this table but it is called in code and not from the Browse.
I would think that anyone then watching J_SRVREQ with a NTBrowse which is open (user B) would see that a record was added and NetRefresh would kick in and REFRESH the NTBrowse on J_SRVREQ for any user that has this table open and is using NetRefresh.
However, after client creates a new record for J_SRVREQ, the NTBROWSE on J_SRVREQ is NOT UPDATING - I have to do a manual refresh to see the new inserted record.
What am I missing to tell the user B that the Browse needs to be refreshed when a record is added?
Thanks,
Ron
BT14.36 C11 ABC
I am starting to play with NetRefresh. I have a case where user B is watching a NT BROWSE on table called J_SRVREQ. This Browse is set in NetRefresh Local Extension to Refresh table J_SRVREQ and sending J_SRVREQ.
I have a client who INSERTS a record into table J_SRVREQ. The client is set to Refresh J_SRVREQ. Insert is done using the UPDATE for this table but it is called in code and not from the Browse.
I would think that anyone then watching J_SRVREQ with a NTBrowse which is open (user B) would see that a record was added and NetRefresh would kick in and REFRESH the NTBrowse on J_SRVREQ for any user that has this table open and is using NetRefresh.
However, after client creates a new record for J_SRVREQ, the NTBROWSE on J_SRVREQ is NOT UPDATING - I have to do a manual refresh to see the new inserted record.
What am I missing to tell the user B that the Browse needs to be refreshed when a record is added?
Thanks,
Ron
14
Web Server - Ask For Help / Re: Use DRAW to Create QR Code in NT app?
« on: October 30, 2025, 01:30:02 PM »
Hi, got the answer from NT User Group. Short answer - you need an image field for QR to work its magic.
I created a window and added the QRCODE template ( that put an image on the window for QR Gen to use. I am passing p_web to the procedure so I pass in my QRTEXT and QRSaveFileName and call the QR_Window, generate the QR CODE, Display it and save it and close the widow and save it and return to my NT procedure. works great.
I will have to try the method Osquiabro described.
Thanks Osquiabro and Don,
Ron
I created a window and added the QRCODE template ( that put an image on the window for QR Gen to use. I am passing p_web to the procedure so I pass in my QRTEXT and QRSaveFileName and call the QR_Window, generate the QR CODE, Display it and save it and close the widow and save it and return to my NT procedure. works great.
I will have to try the method Osquiabro described.
Thanks Osquiabro and Don,
Ron
15
Web Server - Ask For Help / Use DRAW to Create QR Code in NT app?
« on: October 29, 2025, 12:19:02 PM »
Hi,
NT 14.36 C11.0136
I want to generate a QR code with DRAW. I am currently doing it with ezCam but if I can do it with DRAW it will be much cleaner.
PROBLEM. DRAW requires an Image. I have tried creating QR without the Image on a window and it does NOT work.
If I place an IMAGE on the window, I have to DISPLAY the image and then I can write it to a PNG file.
The documents state that displaying the image is optional- however, If I don't display the image, it will not save ( save writes a black square ).
Anyone with insight?
Do I have to try to write it to an Image file in NT first?
Thanks,
Ron
NT 14.36 C11.0136
I want to generate a QR code with DRAW. I am currently doing it with ezCam but if I can do it with DRAW it will be much cleaner.
PROBLEM. DRAW requires an Image. I have tried creating QR without the Image on a window and it does NOT work.
If I place an IMAGE on the window, I have to DISPLAY the image and then I can write it to a PNG file.
The documents state that displaying the image is optional- however, If I don't display the image, it will not save ( save writes a black square ).
Anyone with insight?
Do I have to try to write it to an Image file in NT first?
Thanks,
Ron