Hi,
I'm hoping somebody can help me. I would like to read and get data from a Word Document and store it in a variable.
I've tried the code below but this only seems to work with a standard TXT file, when tried with a DOC file it returns weird characters.
STORE FOPEN(m.location) TO file_handle
STORE FSEEK(file_handle, 1, 2) TO lcrow
STORE FSEEK(file_handle, 0) TO ifp_top
lcLetter = FGETS(file_handle, lcrow)
I was wondering whether it was possible to do. Any help would be much appreciated.
Thanks in Advance.
Mart
I'm hoping somebody can help me. I would like to read and get data from a Word Document and store it in a variable.
I've tried the code below but this only seems to work with a standard TXT file, when tried with a DOC file it returns weird characters.
STORE FOPEN(m.location) TO file_handle
STORE FSEEK(file_handle, 1, 2) TO lcrow
STORE FSEEK(file_handle, 0) TO ifp_top
lcLetter = FGETS(file_handle, lcrow)
I was wondering whether it was possible to do. Any help would be much appreciated.
Thanks in Advance.
Mart