Created
June 6, 2015 11:28
-
-
Save dck-jp/d883c7dd7be88a415ef5 to your computer and use it in GitHub Desktop.
SHDocVwSample12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public void JumpFramePage() | |
{ | |
var IE = new SHDocVw.InternetExplorer(); | |
IE.Visible = true; | |
object URL = "http://homepage3.nifty.com/abe-hiroshi/"; | |
IE.Navigate2(ref URL); | |
IE.Wait(); | |
var doc = IE.Document as mshtml.IHTMLDocument2; | |
object x = 1; | |
var window = doc.frames.item(ref x) as mshtml.HTMLWindow2; | |
object url2 = window.location.href; | |
IE.Navigate2(ref url2); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment