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: In which Procedure and Embed can I put code that will only Run Once
« on: August 20, 2026, 10:21:44 PM »
Hi Ron,
Thanks for you reply.
Your suggestion has helped me sort out another problem in another part of the system I have been battling with.
Regards
Johan de Klerk
Thanks for you reply.
Your suggestion has helped me sort out another problem in another part of the system I have been battling with.
Regards
Johan de Klerk
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, 10:19:29 PM »
Hi Jane,
Your advice for SetHostValue and GetHostValue works perfect.
Thank you very much.
Regards
Johan de Klerk
Your advice for SetHostValue and GetHostValue works perfect.
Thank you very much.
Regards
Johan de Klerk
3
Web Server - Ask For Help / In which Procedure and Embed can I put code that will only Run Once
« on: August 20, 2026, 03:14:56 AM »
Hi,
I need to set some p_web.SSV('xx',YY) variables when the Web Server starts.
It must/need run this once and not on any subsequent requests.
The p_web.GSV('xx') will be used in various browses and forms.
It will be treated as some global variables.
I looked and put a lot or Trace statements in various embeds but all of them runs every time some fields, buttons, option or variable is clicked.
Any help would be appreciated.
Regards
Johan de Klerk
I need to set some p_web.SSV('xx',YY) variables when the Web Server starts.
It must/need run this once and not on any subsequent requests.
The p_web.GSV('xx') will be used in various browses and forms.
It will be treated as some global variables.
I looked and put a lot or Trace statements in various embeds but all of them runs every time some fields, buttons, option or variable is clicked.
Any help would be appreciated.
Regards
Johan de Klerk
4
Web Server - Ask For Help / Re: NTWS load testing and other info software?
« on: August 12, 2026, 01:08:38 AM »
Hi Johan,
Maybe you are thinking about the NetTalk WebStrain.app.
It is here: C:\Your Clarion Folder\accessory\Examples\Capesoft\NetTalk\WebClient\Web Strain
Regards
Johan de Klerk
Maybe you are thinking about the NetTalk WebStrain.app.
It is here: C:\Your Clarion Folder\accessory\Examples\Capesoft\NetTalk\WebClient\Web Strain
Regards
Johan de Klerk
5
Web Server - Ask For Help / Re: How to put a Linefeed in a Tooltip
« on: August 14, 2025, 05:21:23 AM »
After a bit of searching I found this 2010 solution from Rob Mikkelsen to use: 

https://www.nettalkcentral.com/forum/index.php?topic=1720.msg6457#msg6457
Works perfect in the Tooltip for the Linefeed.
https://www.nettalkcentral.com/forum/index.php?topic=1720.msg6457#msg6457
Works perfect in the Tooltip for the Linefeed.
6
Web Server - Ask For Help / How to put a Linefeed in a Tooltip
« on: August 14, 2025, 01:53:06 AM »
Hi,
I have this text in my Tooltip:
Select for Orders. Else leave as NONE.
I would like it to show as two lines in the Tooltip:
Select for Orders.
Else leave as NONE
if the user hovers over the field.
I have tried: Select for Orders.<br /> Else leave as NONE.
but it shows the >br /> in the text and no Linefeed.
Any help would be appreciated.
Regards
Johan de Klerk
I have this text in my Tooltip:
Select for Orders. Else leave as NONE.
I would like it to show as two lines in the Tooltip:
Select for Orders.
Else leave as NONE
if the user hovers over the field.
I have tried: Select for Orders.<br /> Else leave as NONE.
but it shows the >br /> in the text and no Linefeed.
Any help would be appreciated.
Regards
Johan de Klerk
7
Web Server - Ask For Help / Re: FORMAT(SRIA:DOB,@D6)
« on: July 28, 2024, 01:59:20 AM »
Hi Richard,
Don't know if it will help.
Take a look at Carl's "Date-Time-Number-Tool".
https://github.com/CarlTBarnes/Date-Time-Number-Tool
Regards
Johan de Klerk
Don't know if it will help.
Take a look at Carl's "Date-Time-Number-Tool".
https://github.com/CarlTBarnes/Date-Time-Number-Tool
Regards
Johan de Klerk
8
Web Server - Ask For Help / Re: Date and lookup
« on: May 30, 2024, 04:34:44 AM »
Hi Johan,
See this thread: https://www.nettalkcentral.com/forum/index.php?topic=9310.msg38141#msg38141
p_web.SetOption(loc:options,'changeMonth','true')
p_web.SetOption(loc:options,'changeYear','true' )
p_web.SetOption(loc:options,'yearRange:','-117:+0' )
Regards
Johan de Klerk
See this thread: https://www.nettalkcentral.com/forum/index.php?topic=9310.msg38141#msg38141
p_web.SetOption(loc:options,'changeMonth','true')
p_web.SetOption(loc:options,'changeYear','true' )
p_web.SetOption(loc:options,'yearRange:','-117:+0' )
Regards
Johan de Klerk
9
Web Server - Ask For Help / Re: msvcr140.dll is missing
« on: May 28, 2024, 02:48:50 AM »
Hi Heinz,
You did not install the Visual Studio 2017 (x86).
https://www.capesoft.com/docs/NetTalk14/NetTalk.htm#DeployingAtlsClientOrServer
Regards
Johan de Klerk
You did not install the Visual Studio 2017 (x86).
https://www.capesoft.com/docs/NetTalk14/NetTalk.htm#DeployingAtlsClientOrServer
Regards
Johan de Klerk
10
Web Server - Ask For Help / Re: Creating CSV need first row to have the names of the fields
« on: February 01, 2024, 04:54:01 AM »
Hi Richard,
If you have StringTheory then it is easy and fast.
IF ~EXISTS('yourfilename.CSV')
ST.SetValue('Name,Login,Datein,TimeIn'&'<13,10>')
ST.SaveFile('yourfilename.CSV',FALSE)
ST.SetValue(ExpCSV:Label1&','&ExpCSV:Label2&','&ExpCSV:Label3&','&ExpCSV:Label4&'<13,10>')
ST.SaveFile('yourfilename.CSV',TRUE)
ELSE
ST.SetValue(ExpCSV:Label1&','&ExpCSV:Label2&','&ExpCSV:Label3&','&ExpCSV:Label4&'<13,10>')
ST.SaveFile('yourfilename.CSV',TRUE)
END
Not tested and there might be a better and faster way.
Regards
Johan de Klerk
If you have StringTheory then it is easy and fast.
IF ~EXISTS('yourfilename.CSV')
ST.SetValue('Name,Login,Datein,TimeIn'&'<13,10>')
ST.SaveFile('yourfilename.CSV',FALSE)
ST.SetValue(ExpCSV:Label1&','&ExpCSV:Label2&','&ExpCSV:Label3&','&ExpCSV:Label4&'<13,10>')
ST.SaveFile('yourfilename.CSV',TRUE)
ELSE
ST.SetValue(ExpCSV:Label1&','&ExpCSV:Label2&','&ExpCSV:Label3&','&ExpCSV:Label4&'<13,10>')
ST.SaveFile('yourfilename.CSV',TRUE)
END
Not tested and there might be a better and faster way.
Regards
Johan de Klerk
11
Web Server - Ask For Help / Re: Another problem with NT 14.14
« on: January 22, 2024, 03:00:18 AM »
Hi Bruce,
Thanks.
Can confirm Generating Modules and Opening Embeds is back to normal speeds.
Regards
Johan de Klerk
Thanks.
Can confirm Generating Modules and Opening Embeds is back to normal speeds.
Regards
Johan de Klerk
12
Web Server - Ask For Help / How to get File Name of file to be uploaded before it is uploaded
« on: January 21, 2024, 01:04:50 AM »
Hi Bruce,
I need to get the file name that the user selected to be uploaded as soon as it was Selected via the "Add File" button.
If the File Name is wrong or it has already been uploaded I want to run some clarion code and Clear the File Name/Selection and popup an Alert Message and the Start button should not show.
Or check the file name, run my clarion code, popup alert message and press the "Clear" button.
I need to verify the file name before the user uploads a 50MB file and then only in the Save File Embed I reject it if the file name is wrong or it has already been uploaded.
Each user on the system have a specific format and file name to check.
Can you please explain how I can achieve the above.
In the FireFox Developer Tools I see the File Name and Size in this section after it was selected:
<table id="Tngv24" class="nt-upload-table ui-corner-all" style="">
<tr id="Xmh993e">
<td>XTest_FileForUpload.json</td>
<td id="ZXmh993e">41 KB</td>
<td id="WXmh993e">
<span class="">Waiting</span>
</td>
Clarion 10, NetTalk 11.57.
Regards
Johan de Klerk
I need to get the file name that the user selected to be uploaded as soon as it was Selected via the "Add File" button.
If the File Name is wrong or it has already been uploaded I want to run some clarion code and Clear the File Name/Selection and popup an Alert Message and the Start button should not show.
Or check the file name, run my clarion code, popup alert message and press the "Clear" button.
I need to verify the file name before the user uploads a 50MB file and then only in the Save File Embed I reject it if the file name is wrong or it has already been uploaded.
Each user on the system have a specific format and file name to check.
Can you please explain how I can achieve the above.
In the FireFox Developer Tools I see the File Name and Size in this section after it was selected:
<table id="Tngv24" class="nt-upload-table ui-corner-all" style="">
<tr id="Xmh993e">
<td>XTest_FileForUpload.json</td>
<td id="ZXmh993e">41 KB</td>
<td id="WXmh993e">
<span class="">Waiting</span>
</td>
Clarion 10, NetTalk 11.57.
Regards
Johan de Klerk
13
Web Server - Ask For Help / Re: Another problem with NT 14.14
« on: January 18, 2024, 08:31:59 PM »
Hi,
On my system the slow compiles (Generating Modules) and slow opening of embeds started about 2 weeks ago.
Windows 11, Clarion 10, NT 11.57.
All other CapeSoft templates up to date.
The only templates that was updated on this system is all the other CapeSoft templates.
I don't think this slow thing could be related to NT 14, well not in my case.
There is a thread on ClarionHub about this: https://clarionhub.com/t/extremly-slow-compile-clarion-11/3637/39
Regards
Johan de Klerk
On my system the slow compiles (Generating Modules) and slow opening of embeds started about 2 weeks ago.
Windows 11, Clarion 10, NT 11.57.
All other CapeSoft templates up to date.
The only templates that was updated on this system is all the other CapeSoft templates.
I don't think this slow thing could be related to NT 14, well not in my case.
There is a thread on ClarionHub about this: https://clarionhub.com/t/extremly-slow-compile-clarion-11/3637/39
Regards
Johan de Klerk
14
Web Server - Ask For Help / Re: Tree control
« on: December 22, 2023, 04:39:21 AM »
Hi Thys,
As far as I know there is a Tree Control in NT.
See this thread:
https://www.nettalkcentral.com/forum/index.php?topic=8944.msg36640#msg36640
Regards
Johan de Klerk
As far as I know there is a Tree Control in NT.
See this thread:
https://www.nettalkcentral.com/forum/index.php?topic=8944.msg36640#msg36640
Regards
Johan de Klerk
15
Web Server - Ask For Help / Re: Determine from where a Memory POPUP form is called
« on: November 14, 2023, 09:09:16 PM »
Hi Stu,
Thanks for your reply.
I think I tried it and if I remember correctly it did not work as expected.
Will try again.
Regards
Johan de Klerk
Thanks for your reply.
I think I tried it and if I remember correctly it did not work as expected.
Will try again.
Regards
Johan de Klerk