i want to load a javascript in my C# web browser control. but VS does not let me do that...dis
it says something like this"to help protecting your security your web browser has restricted this file from showing active content that could access your computer "
i have enabled the active scripting and all the other features required to display javascripts..but still this error keeps coming
my sample code is as follows
webBrowser1.ObjectForScripting = this; webBrowser1.Navigate(@"C:\\Documents and Settings\\Kalpa\\Desktop\\MReview\\Test.html");
javascript-
alert("Hello");Add the line
!-- saved from url=(0014)about:internet -- between angle brackets
in the Test.html.
http://msdn.microsoft.com/en-us/library/ms537628%28VS.85%29.aspx
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.