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 / Re: DNSimple DNS method for Lets encrypt fails.
« on: August 26, 2026, 02:42:23 AM »
Hi,
I am using dnssimple.
NT does have a DNS app which connects to DNSsimple account and can edit it.
Ron
I am using dnssimple.
NT does have a DNS app which connects to DNSsimple account and can edit it.
Ron
2
Web Server - Ask For Help / Re: In which Procedure and Embed can I put code that will only Run Once
« on: August 20, 2026, 12:49:31 PM »
Johan,
BTW, the procedures are STATELESS - that means that they do not stay open until closed. The NT code keeps cycling through the procedure and keeps track of the stage it was in when NT engine last went though it. So, the code keeps cycling through the form until the user closes it with some action. SO, watch the stage in a trace as your app runs and you will see it cycling through stages. There is even a check box on forms to write the stage to the trace.
Ron
BTW, the procedures are STATELESS - that means that they do not stay open until closed. The NT code keeps cycling through the procedure and keeps track of the stage it was in when NT engine last went though it. So, the code keeps cycling through the form until the user closes it with some action. SO, watch the stage in a trace as your app runs and you will see it cycling through stages. There is even a check box on forms to write the stage to the trace.
Ron
3
Web Server - Ask For Help / Re: In which Procedure and Embed can I put code that will only Run Once
« on: August 20, 2026, 12:45:46 PM »
Hi Johan,
Again, I ask the same question that Jane asked. What are you trying to do?
I am doing some file upload and manipulation and then save. The code runs several times but I only wanted it to run ONCE. So, I looked at the stage number for the stuff I wanted to do and found that it would run only ONCE if I limited it to a certain stage - there are equates for the stage numbers in a form. So, looking at the stage number when your code fires might help you limit it to only a certain stage.
Ron
Again, I ask the same question that Jane asked. What are you trying to do?
I am doing some file upload and manipulation and then save. The code runs several times but I only wanted it to run ONCE. So, I looked at the stage number for the stuff I wanted to do and found that it would run only ONCE if I limited it to a certain stage - there are equates for the stage numbers in a form. So, looking at the stage number when your code fires might help you limit it to only a certain stage.
Ron
4
Web Server - Ask For Help / Re: NT CLient for updating DDNS for DNSSIMPLE
« on: August 16, 2026, 03:11:24 PM »
HI Bruce,
This is new to me as I rely on Net Talk products to do the work for me! I did not know that I could run curl from command line. That is a great way to test the login authorization. Will give it a go. Thanks for the info.
Ron
This is new to me as I rely on Net Talk products to do the work for me! I did not know that I could run curl from command line. That is a great way to test the login authorization. Will give it a go. Thanks for the info.
Ron
5
Web Server - Ask For Help / Re: NT CLient for updating DDNS for DNSSIMPLE
« on: August 14, 2026, 07:58:20 AM »
HI Jane,
I did re-look at DNS stuff. Indeed, it is the FULL API for DNSSIMPLE. However, DNS Simple has their own lightweight Dynamic DNS (DDNS) implementation, available at ddns.horse.
They provide a Curl example: Here is an example using curl: curl -i "https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334" -u "accountid:token"
On capesoft I got the conversion
net.Start()
net.Authorization = net.CreateAuthorizationString ('accountid','token', Net:WebBasicAuthentication,true)
net.Get('https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334')
I am using my Account ID for the authorization string "accountid" and my OAuthToken for the 'token' part of it.
However, I am getting authorization failure.
So, I can't get past the authorization with my credentials. I did double check my credentials and they are correct.
That is where I am at,
Ron
I did re-look at DNS stuff. Indeed, it is the FULL API for DNSSIMPLE. However, DNS Simple has their own lightweight Dynamic DNS (DDNS) implementation, available at ddns.horse.
They provide a Curl example: Here is an example using curl: curl -i "https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334" -u "accountid:token"
On capesoft I got the conversion
net.Start()
net.Authorization = net.CreateAuthorizationString ('accountid','token', Net:WebBasicAuthentication,true)
net.Get('https://ddns.horse/nic/update?hostname=example.com&myip=1.2.3.4&myipv6=2001:db8::8a2e:370:7334')
I am using my Account ID for the authorization string "accountid" and my OAuthToken for the 'token' part of it.
However, I am getting authorization failure.
So, I can't get past the authorization with my credentials. I did double check my credentials and they are correct.
That is where I am at,
Ron
6
Web Server - Ask For Help / NT CLient for updating DDNS for DNSSIMPLE
« on: August 13, 2026, 11:13:12 AM »
Hi,
I have a DNSSIMPLE account for my DNS resolution. My ISP gives me a Dynamic IP address. DNSSIMPLE has an API to update DNS records when your HOST IP address changes.
Anyone with NetWebClient code to update DNS record when the host IP address changes.
I have set up an OAUTH token on my DNSSIMPLE account.
They have an API but I have not got it working.
Anyone have working code that they can share?
Thanks,
Ron
I have a DNSSIMPLE account for my DNS resolution. My ISP gives me a Dynamic IP address. DNSSIMPLE has an API to update DNS records when your HOST IP address changes.
Anyone with NetWebClient code to update DNS record when the host IP address changes.
I have set up an OAUTH token on my DNSSIMPLE account.
They have an API but I have not got it working.
Anyone have working code that they can share?
Thanks,
Ron
7
Web Server - Ask For Help / Re: How to translate C# API call to NT
« on: August 13, 2026, 07:53:52 AM »
HI,
THe code above was AI Generated and did NOT WORK!
However, I massaged the code to get this to work:
URL =('https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVIN/' & VINData & '?format=xml')
net.contentType = 'application/x-www-form-urlencoded'
net.SetAccept('json')
net.Get(url)
And, As Bruce said, the return is in the .PageReceived where I trap errors and then parse the return message:
log = clip(log) & '<13,10>------<13,10>' & self.ThisPage.GetValue()
st4.SetValue(log) ! put the log into st object
do Extract_it ( routine to extract out the fields.)
Ron
THe code above was AI Generated and did NOT WORK!
However, I massaged the code to get this to work:
URL =('https://vpic.nhtsa.dot.gov/api/vehicles/DecodeVIN/' & VINData & '?format=xml')
net.contentType = 'application/x-www-form-urlencoded'
net.SetAccept('json')
net.Get(url)
And, As Bruce said, the return is in the .PageReceived where I trap errors and then parse the return message:
log = clip(log) & '<13,10>------<13,10>' & self.ThisPage.GetValue()
st4.SetValue(log) ! put the log into st object
do Extract_it ( routine to extract out the fields.)
Ron
8
Web Server - Ask For Help / Re: Syslog 'Server'
« on: August 12, 2026, 07:39:10 AM »
Hi Paul,
Not sure what you are really trying to do. Do you want to take log entries from your NT server and filter them and send an SMS text to your phone with the ones you want?
Ron
Not sure what you are really trying to do. Do you want to take log entries from your NT server and filter them and send an SMS text to your phone with the ones you want?
Ron
9
Web Server - Ask For Help / Re: form refreshes and shows from the top
« on: August 12, 2026, 07:36:53 AM »
Ooooh, that hurts. If you don't have one procedure per module, then reset your app with one procedure per module. If that doesn't help, then maybe you need to re-visit your very large table?
Ron
Ron
10
Web Server - Ask For Help / Re: Update field/variable on lose focus?
« on: August 11, 2026, 10:53:10 AM »
Hi Johan,
I did separate top menu items for Reset Password and for Create New User Account. They do not have to be logged into the app to use these. For password resets, they just enter their E mail address and press the Send Button - My code checks the e-mail and if it is a registered E mail I send them a link for Password reset. That is a separate form from the login page - got too messy trying to do logins and password resets on same memform. I allow new users to fill in a form and they need to enter their mobile phone number and their email ( their e mail address is their login). I then send them a text with pin code and the link to use pin code to sign in and get new password.
I am not sure that you can trap the "Save" button on a memform.
Ron
I did separate top menu items for Reset Password and for Create New User Account. They do not have to be logged into the app to use these. For password resets, they just enter their E mail address and press the Send Button - My code checks the e-mail and if it is a registered E mail I send them a link for Password reset. That is a separate form from the login page - got too messy trying to do logins and password resets on same memform. I allow new users to fill in a form and they need to enter their mobile phone number and their email ( their e mail address is their login). I then send them a text with pin code and the link to use pin code to sign in and get new password.
I am not sure that you can trap the "Save" button on a memform.
Ron
11
Web Server - Ask For Help / Re: Update field/variable on lose focus?
« on: August 10, 2026, 10:33:27 AM »
HI Johann,
I have seen the same issue. In those cases I put a button on the form that says something like 'Press to Validate your entry'. That way, they are told to do something. SO, if they complain that "they put in a value and it didn't work" then you can ask them if they pressed the "Validate button" - and it becomes your chance to educate them!
I am not sure if there is a $Script command that you can trigger before the form is closed but then it may not have the value they entered because they did not acknowledge it with a Tab or Enter.
Ron
I have seen the same issue. In those cases I put a button on the form that says something like 'Press to Validate your entry'. That way, they are told to do something. SO, if they complain that "they put in a value and it didn't work" then you can ask them if they pressed the "Validate button" - and it becomes your chance to educate them!
I am not sure if there is a $Script command that you can trigger before the form is closed but then it may not have the value they entered because they did not acknowledge it with a Tab or Enter.
Ron
12
Web Server - Ask For Help / Re: Get name of parent procedure calling child update
« on: August 09, 2026, 03:17:01 PM »
Hi,
After lots of testing, I figured out that I really don't want the customer to INSERT records ( they are inserted in another procedure - so they only need to VIEW/Update the record. So, just disabling the INSERT button in the Child Form solves my problem.
Ron
After lots of testing, I figured out that I really don't want the customer to INSERT records ( they are inserted in another procedure - so they only need to VIEW/Update the record. So, just disabling the INSERT button in the Child Form solves my problem.
Ron
13
Web Server - Ask For Help / Re: form refreshes and shows from the top
« on: August 09, 2026, 03:13:09 PM »
HI Mike,
Having difficulty figuring out exactly what you are doing? Do you have multiple embedded Memory Forms? Why don't you have one form with multiple tabs to update the file?
Ron
Having difficulty figuring out exactly what you are doing? Do you have multiple embedded Memory Forms? Why don't you have one form with multiple tabs to update the file?
Ron
14
Web Server - Ask For Help / Get name of parent procedure calling child update
« on: August 08, 2026, 12:18:36 PM »
Hi,
I have a MemForm with 2 Tabs.
Tab1 has a Browse on Auto File and calls Child procedure ?See Keys? based on AUTO:GUID as a Filter.
Tab2 Has a Browse on JoinedAuto File and calls the same Child procedure ?See Keys? based on a different filter - JOINAUTO:GUID.
So, both browses call the same ?See Keys? procedure but with different filters.
My problem is that when I call the procedure to Update_SeeKeys - I want to know if it was called from ?AutoFile? as a parent OR ?JoinedAuto? as a parent as they will populate the form with slightly different values.
I have tried finding Parent settings in browse and child and update and loc:parent and loc;filter. However, I have not been able to key in on something that will tell me which the original calling procedure was. Anyone with any insight or tricks? Maybe have to set a Server Value based on which Tab is active?
THanks,
Ron
I have a MemForm with 2 Tabs.
Tab1 has a Browse on Auto File and calls Child procedure ?See Keys? based on AUTO:GUID as a Filter.
Tab2 Has a Browse on JoinedAuto File and calls the same Child procedure ?See Keys? based on a different filter - JOINAUTO:GUID.
So, both browses call the same ?See Keys? procedure but with different filters.
My problem is that when I call the procedure to Update_SeeKeys - I want to know if it was called from ?AutoFile? as a parent OR ?JoinedAuto? as a parent as they will populate the form with slightly different values.
I have tried finding Parent settings in browse and child and update and loc:parent and loc;filter. However, I have not been able to key in on something that will tell me which the original calling procedure was. Anyone with any insight or tricks? Maybe have to set a Server Value based on which Tab is active?
THanks,
Ron
15
Web Server - Ask For Help / DNSimple DNS method for Lets encrypt fails.
« on: July 08, 2026, 11:55:24 AM »
Hi,
Using C11.1 and NT14.38
I have my DNS Simple set up and running. I have filled in all of the information on the Server. I test my DNS credentials and they are OK.
"Call to WhoAmI was Successful
HTTP/1.1 200 OK"
I go to test getting a Certificate and it goes through the process and hangs at :
[ 7/08/26-15:49:57] DNS Record not yet propogated. Rechecking. <<<<<<<<<<<<==========
This is the precursor message:
[ 7/08/26-15:49:56] Checking DNS Record propogation
[ 7/08/26-15:49:55] DNS Challenge for pdmginc.com being created
Where do I look for a problem?
Thanks,
Ron
Using C11.1 and NT14.38
I have my DNS Simple set up and running. I have filled in all of the information on the Server. I test my DNS credentials and they are OK.
"Call to WhoAmI was Successful
HTTP/1.1 200 OK"
I go to test getting a Certificate and it goes through the process and hangs at :
[ 7/08/26-15:49:57] DNS Record not yet propogated. Rechecking. <<<<<<<<<<<<==========
This is the precursor message:
[ 7/08/26-15:49:56] Checking DNS Record propogation
[ 7/08/26-15:49:55] DNS Challenge for pdmginc.com being created
Where do I look for a problem?
Thanks,
Ron