#include "fivewin.ch"
#include "ini.ch"
#include "adodef.ch"
#include "ord.ch"
#include "xbrowse.ch"
function Main()
local I, cVData
local cReturn := ""
HB_CDPSELECT( "UTF8" )
FW_SetUnicode( .T. )
aDir := directory( "C:\test\source\C*.*","DHS")
xbrowse(aDir )
cVData := aDir[1,1]
for I := 1 to len(cVData)
cReturn += (str(I) + "-" + cVData + CRLF + substr( cVData, I, 1 ) + " # "+ str( ASC ( substr( cVData, I, 1 ) ) )) + CRLF
next
? cReturn
? memoread( "C:\test\source\" + cVData )
return nil
Return to FiveWin for Harbour/xHarbour
Users browsing this forum: Google [Bot] and 77 guests