NetTalk Central

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.


Messages - Richard I

Pages: [1] 2 3 ... 27
1
FYI Sorted
I have
1. Changed the Theme from base3d
2. Changed the checkbox from a checkbox to a button yes/no

saved/compiled and Ran, and now the checkbox buttons are visible and alive
I have no idea which worked and Im not inclined to selectively reverse.

Cheers
Richard

2
Hi Bruce,
Yes, its online from an Amazon Server
CTL-F5 doesnt seem to fix it though.

If I put the mouse cursor on the blank record  line, it brings back the detail but only while the mouse is hovering.
If there is more than one line , its always the top line blank but other line records are populated, and that too will activate with the hovering mouse.

Thanks
Richard

3
The two screen shots attached may explain the problem with the browse
The record in focus does not display the saved checkbox value

Thanks
Richard

4
I have a page loading Netweb Browse and associated form
Adding records to the browse via the form complete OK except that form selected  checkboxes are not displaying  populated unless there is more than one record and when  toggling between the records.
 
It appears that only the record  in focus does not display the populated checkboxes although other line fields are correct.
By hovering the cursor on the line displays, until moved off.

This anomaly only occurs when run online despite copying in the updated exe and web folder .
On my local machine the Browse  behaves as expected.
Can I have help with this please.

Thanks
Richard   NT 14.27
 

5
Web Server - Ask For Help / Re: Sec:Level - Multiple Ranges?
« on: September 02, 2024, 03:25:58 PM »
Have a look at the Capesoft web  server example "AccessLevels"

Richard

6
Web Server - Ask For Help / Re: FORMAT(SRIA:DOB,@D6)
« on: July 28, 2024, 09:50:46 PM »
@D06B
Too Simple!

Many thanks
Richard

7
Web Server - Ask For Help / FORMAT(SRIA:DOB,@D6)
« on: July 28, 2024, 01:32:12 AM »
When exporting records to a CSV file, using the  code, ExpCSV:Label11 = FORMAT(SRIA:DOB,@D6)
places the date as dd/mm/yyyy  when   the date is >= 10/mm/yyyy, to the right of the cell
Those dates < 10/mm/yyyy are to the left of the cell

Is there are date picture that places a leading zero in the dd/mm/yyyy  such as 09/mm/yyyy when the day date is <10
I have tried RIGHT(Format..... which extenuates and its less than elegant

Thanks
Richard

8
Web Server - Ask For Help / Re: Reboot from Running NT Application
« on: July 10, 2024, 04:52:16 PM »
Thank you Jane,
very straight forward as always

I have taken on board Bruce's caution and will await his elucidation  before implementing.
Kind regards,

Richard

9
Web Server - Ask For Help / Re: Reboot from Running NT Application
« on: July 10, 2024, 01:30:17 AM »
Thanks Bruce,
I note your comment regarding terminology, but FYI the Amazon Console gives the option to "Reboot"  selected running EC2 Instances.
Research has told me that Microsoft Defender and its  antimalware subsidiary can cause memory leakage.
Eliminating them has proved difficult.
Cheers
Richard

 

10
Web Server - Ask For Help / Re: Rebooting in Code
« on: July 08, 2024, 07:21:43 PM »
Hi Bruce,
Thank you, but why not?
When the Virtual servers become unresponsive, from the Amazon Console, I select the machine and reboot.
This retains the IP address, and frees the memory
Is there a difference ?
Richard

11
Web Server - Ask For Help / Rebooting in Code
« on: July 07, 2024, 08:29:56 PM »
Hi
Re a reboot in Code...
I found this..

MY QUESTIONS: Can this be rewritten if necessary to run from a NT app and if so where do I source the Windows API Windows.inc
I copy and paste -
"In Clarion, you can reboot a computer using the EXECUTE statement to run the appropriate system command. Here?s how you can do it:

clarion
Copy code
PROGRAM
MAP
END

CODE
  INCLUDE('windows.inc')  ! Include Windows API declarations
  MAP
    MODULE('kernel32.dll')
      ExitWindowsEx(*CSTRING),BOOL,PROC
    END
  END

  CODE
    IF ExitWindowsEx('0', TRUE)
      MESSAGE('Reboot initiated successfully.')
    ELSE
      MESSAGE('Failed to initiate reboot.')
    END
  END
Explanation:
Windows API Declaration (windows.inc):

The INCLUDE('windows.inc') statement includes the necessary Windows API declarations needed for ExitWindowsEx.
ExitWindowsEx Function:

ExitWindowsEx is a Windows API function that can be used to shut down or reboot a computer. In this case, '0' is used to indicate a reboot.
Execution:

The ExitWindowsEx('0', TRUE) line attempts to initiate a reboot ('0' means reboot, TRUE means force reboot if necessary).
Message Handling:

Depending on the result of ExitWindowsEx, appropriate messages are displayed to indicate whether the reboot was successful or not."

Thanks
Richard

12
Web Server - Ask For Help / Re: Reboot from Running NT Application
« on: July 06, 2024, 06:36:12 PM »
Thanks Alberto
Im trying to prevent users needing to RDP onto the Amazon Virtual server
Hence the need to reboot from a running app
Not sure that Halt would work, because "Halt" is a shut down without a restart
Richard

13
Web Server - Ask For Help / Reboot from Running NT Application
« on: July 05, 2024, 08:15:44 PM »
Hello,
I have the need to reboot a running NT app on a virtual Server, ideally from a button's server side code.
The application is running as a service so will/ should  restart.
I have searched the WinEvent5 documentation for clues without success

I want to do this to refresh memory lost through leakage.
 
Thanks in anticipation...
Richard
NT 14.23

14
Web Server - Ask For Help / Re: Desktop File path
« on: May 31, 2024, 04:38:40 PM »
Thanks Sean,
Cheers
Richard

15
Web Server - Ask For Help / Re: Desktop File path
« on: May 30, 2024, 04:32:15 PM »
Thanks Sean and others,
Yes I understand the limitations as outlined.
I am using Amazon virtual servers to host and if possible I am trying to limit users access to those server's desktop.
Saving to the Servers backup is currently an option in the app with the users cutting  and paste back to their local

However I have found I can using the File Download app  bring the backup folder back as a zip file.
which suits and makes it elegant but, the question now is how to programmatically get WinZip to perform the creation  of a zip file
Stu Andrews in this thread mentioned rar backups as a possible solution - i am exploring that.
 
Cheers
Richard



Pages: [1] 2 3 ... 27