I localize a file to my drive then try to change the html to point to it and get "invalid property assignments". The file saves fine. The error only happens when I try to change the href to point to it.
The href prop is not read-only. Please help me stop feeling so damn stupid. Thx
dim im As HTMLImg
For Each im In tc.getElementsByTagName("img")
f = "c:\temp\" + id + "-" + Trim(Str(i)) + ".jpg"
If URLDownloadToFile(0&, img.href, f, BINDF_GETNEWESTVERSION, 0&) <> ERROR_SUCCESS Then Stop
f = "file:///" + f
---> im.href = f <----
i = i + 1