Can you please see whats wrong im doing in the below code? i can read few registry entry but not all for eg, i am able to get value of "Shell" Key from the registry path but not AutoAdminLogon which has the value of "1", is there any change i have to do to read numeric values?
Global $shello = RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","Shell" )
ConsoleWrite("This is Hello"& $shello)
above command returns proper value , but same command with AutoAdminLogon returns null as shown in below ? infact registry has the value of 1.
Global $shello = RegRead ("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon","AutoAdminLogon" )
ConsoleWrite("This is Hello"& $shello)

Hello,
I've been searching on how to select the first row in my database which includes a time column based on the latest start_time date for today's date.
This is my current code:
Local $iCurrentDate = _Now()
Local $sqlHandle = _dbOpen($sDbPath)
Local $aResult, $iRows, $iCols
_SQLite_GetTable2d($sqlHandle, "SELECT start_time FROM " & $srawDb & " ORDER BY datetime(start_time) DESC LIMIT 1", $aResult, $iRows, $iCols)
_ArrayDisplay($aResult)
_dbClose($sDbpath)
What it does is it gets the first row entry in the database however it does not select the latest start_time entry in the database, it always select the first row. I've tried changing DESC to ASC to see if that will do it but the issue still remains. Any thoughts on this? Thanks in advance.

Hello,
I Have clicked on save as option to save a file, while doing that I need to rename a file appending with sysdate. I have searched in google find the below one line of code:
FileMove("C:\somefile.txt", "C:\somefile1.txt"), When I am trying to append with sysdate. It is not happening. Please help me out with the small issue.