Results 1 to 2 of 2

Thread: VB.net and WebBrowser Control - how to handle Javascript

  1. #1

    Thread Starter
    New Member
    Join Date
    Feb 2009
    Posts
    13

    VB.net and WebBrowser Control - how to handle Javascript

    How can run this javascript code loaded in a webbrowser by pressing a button in current form.

    <script type="text/javascript" src="http://assets.tumblr.com/javascript/tiny_mce_3_5_5/tiny_mce.js?1085"></script>

    This javascript code opens a new IE page with some data. Please give me an example code. Thanks.
    Last edited by cre88; Feb 19th, 2013 at 06:26 AM.

  2. #2
    Fanatic Member
    Join Date
    Oct 2011
    Location
    Sydney, Australia
    Posts
    756

    Re: VB.net and WebBrowser Control - how to handle Javascript

    Hi, you could just navigate to the url
    Code:
    WebBrowser1.Navigate("http://assets.tumblr.com/javascript/tiny_mce_3_5_5/tiny_mce.js?1085")
    My CodeBank Submissions
    • Listbox with transparency and picture support - Click Here
    • Check for a true internet connection - Click Here
    • Open Cash drawer connected to receipt printer - Click Here
    • Custom color and size border around form - Click Here
    • Upload file to website without user logins, includes PHP - Click Here
    • List All Removable USB Storage Devices - Click Here
    • Custom On/Off Slide Control - Click Here
    • Insert multiple rows of data into one database table using parameters - Click Here
    • Trigger USB/Serial Cash Drawer - Click Here

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width