私は WebBrowser コントロールを使用していません。それを制御するために変数で IE のプロセスを取得しようとしています。
私の目標は、必要に応じてページを自動的に下にスクロールすることです。コードを使用して IE を起動する方法の詳細を次に示します。
Dim IE As SHDocVw.InternetExplorer
IE = CreateObject("InternetExplorer.Application")
IE.Visible = True
IE.Navigate("C:\rptStatusProd.xml") 'load web page google.com
While IE.Busy
Application.DoEvents() 'wait until IE is done loading page.
End While
IE.FullScreen = True
それは私がIEを制御することはできません...ページを下にスクロールできるようにする方法はありますか? 会社のテレビ全体に Web ページが表示されるため、ページを自動的に上下にスクロールしたいのですが、Web ページのデータが多すぎる場合は、下にスクロールして表示する必要があります。