Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open a .txt file in IE and go to end of file? - how

Status
Not open for further replies.

Phil0206

Programmer
Oct 30, 2001
4
0
0
GB
I have a error.txt file which is flat plan text file. I open it in VB using Internet Explorer. This displays the file in IE. I want to display the bottom of the file though rather opening and displaying the first page. How can I do this. Current code in VB6 is:

Dim IEAs InternetExplorer
Set IE = New InternetExplorer

IE.Visible = True
IE.Navigate "C:\temp.txt"

using sendkeys does not work as the new instance of IE does not necessarily have focus. how can I get IE to go to the bottom of the file?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top