Dear Borislav,
I copied my keyboard file in dbf as memo using these codes.
************************
Function ExtractFile(tcFilename As String, tcDestPath As String)
LOCAL lcDestFilename
IF !USED("table1")
USE table1 IN 0
ENDIF
SELECT table1
LOCATE ALL FOR table1.mfilename=tcFilename && Field1 - its field where stored filename. no binary data.. just filename)
lcDestFilename = ADDBS(tcDestPath)+tcFilename
STRTOFILE(table1.mbinary,lcDestFilename) && Field2 - its field where stored binary file data, written with filetostr()
Return(FILE(lcDestFilename))
Endfunc
***********************
and copy in windows\system32\ with these codes
Declare Integer GetSystemDirectory In Kernel32.Dll ;
STRING @lpBuffer, Integer lnSize
lcFolder = Space(255)
lnLength = GetSystemDirectory(@lcFolder,255)
If lnLength>0
lcFolder = Left(lcFolder,lnLength)
Endif
ExtractFile("khubaibu.dll",lcFolder)
in these codes can i registerd my keyboard thanks
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only