code_junkie

How to set current document.domain in WebBrowser Control to avoid “Access is denied”?

Nov 13th, 2011
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.13 KB | None | 0 0
  1. CurrentDocument = WebBrowserControl.Document
  2. CurrentDocument.domain = "example.com"
  3. Console.writeline("xx" & CurrentDocument.domain)
Add Comment
Please, Sign In to add comment