• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 577
  • Last Modified:

Invoke Javascript on website through AxWebBrowser Control

I have a vb.net program I am working on, and I was wondering if there is a way to initiate a call a javascript function on an html document being viewed through the AxWebBrowser control that is being used in my program.

Thanks,
0
TAF2000
Asked:
TAF2000
1 Solution
 
iboutchkineCommented:
yes. for example here you will call window.print java script

    AxWebBrowser1.Document.parentWindow.execScript("window.print();", "JScript")
0
 
TAF2000Author Commented:
Awesome!  Thanks!
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now