I have a textbox for storing the URL to a web page. I figured the
person could simply copy the URL from IE and paste it into the text box.
The client would like to have a more automated process.
We came upon one "glitch". We pasted the URL into the Access text box
and went back to it and it didn't go to the right page. The reason is
that frames were used in the page so although the page was OK, the
content wasn't.
To overcome that, we did a File/Save within IE and saved it to an htm
file on the drive. This gave us the correct content.
I mentioned to the client that a person could have 1 or many IE windows
open at one time. I suppose I could cycle through the class/caption
names and present a popup list to select the window they want. From
there, I'd suppose I could do a file save. The problem I see is that
when you do a File/Save, the folder most likely wont be the correct
folder...the drive is different, the folder different. So it would be
nice to stuff the drive/folder/filename too.
Is IE able to be automated? Can I tell it to File/Save and stuff
requistite values in it from Access if I know which page is selected?
Another thing I could do is have them save the page to C:\HTML. In the
form I could have a timer event and if the app saw a file in it to copy
the HTML file to a standardized network folder, kill the C:\HTML file,
and stuff the new network filename into the text box. Then again, I'd
have to FORCE the user to always save those pages/html files to
C:\HTML...and that's not automated.
Any ideas?