R
RD Holland
Guest
I have a tool that reads html files from disk with the intention of modifying the code by doing some simple string replacements. I ended up using the Web Browser Control to load the page so I could get to the elements and do some string replacements. After doing so I tried to get the control to show the modified page but failed (Update rereads the file from disk). However, I could spin thru the elements again and see the changes were in the DOM. So I kicked off the print preview dialog. It shows the changes I made.
Then I kicked off the save as dialog and saved the file to a new location. But, none of the changes showed up. So, print preview (and I assume print) shows the changes, but save as does not. I was hoping to use save as to output my changes.
Why are print and save using different data? I want to save the changes I made, not just "copy" the file on disk to a new location.
R.D. Holland
Continue reading...
Then I kicked off the save as dialog and saved the file to a new location. But, none of the changes showed up. So, print preview (and I assume print) shows the changes, but save as does not. I was hoping to use save as to output my changes.
Why are print and save using different data? I want to save the changes I made, not just "copy" the file on disk to a new location.
R.D. Holland
Continue reading...