Hi
I want to check an .html (or TXT if thats easier) file with foxpro for this line:
src="cid:image001.jpg@01C67F47.26775C40"
and replace it with
src="image001.jpg"
how can I do this, I can't figure it out :(
Hi
I want to check an .html (or TXT if thats easier) file with foxpro for this line:
src="cid:image001.jpg@01C67F47.26775C40"
and replace it with
src="image001.jpg"
how can I do this, I can't figure it out :(
reading html file in foxpro
nzracer
Did you mean you cannot see the error detail as it is in a popup (your message is not clear).
Open the Debugger (ex. SET STEP ON) then step through the code, line by line and see which line gives you an error.
Sonia Taneja
Something like this:
local lcText
lcText = FILETOSTR("c:\temp\MyFile.HTM")
lcText = STRTRAN(lcText,[src="cid:image001.jpg@01C67F47.26775C40"],[src="image001.jpg"])
STRTOFILE(lcText,"c:\temp\MyNewFile.HTM")
HonzaHornik
Gilmorenator
robc180
The code is fine. You need to have the file named "c:\temp\MyFile.HTM", in our c:\temp folder. Else you will get error
Krishna
derekR
> when I do that I get this error : Function argument value, type, or count invalid
On which line of code
Oscar in LA
when I do that I get this error : Function argument value, type, or count invalid
Aaron Lahman
vivek25
look at using :
STRTRAN() with
filetostr(), append from\type or alines()
Dave M.