Link to home
Start Free TrialLog in
Avatar of vikasbapat
vikasbapat

asked on

Javascript not working for WebBrowser Control in MS ACCESS 2007

i  am working on ms access application which uses WebBrowserControl to show html contents. I did try with normal html and it worked. But, We got to show drildown reports, which uses javascript, when i give a try to do this with the very same apporach, it seems that  javascript is not being supported by WebBrowser Control (Microsoft Activex Control). We did try for MS ACCESS 2010, but no luck. Here is the way i followed to make it work.

Please help -

Dim browser As WebBrowser
    Set browser = Me.USLBrowser.Object  
     browser.Navigate ("C:\test.html")


test.html is

<html><head><head><body><form name="form1" id="form1" method="post" action="http://zcon-5:8080/Reports_SQL2008R2EXPADV/Pages/Report.aspx?ItemPath=%2fSSRSDrillDownDemo%2fDrillDownRpt#" /></form><script> document.form1.submit(); </script></body></html>

PS: We want to use SSRS DrilDown report in MSACCESS 2007 using WebBrowser Control

Thanks & Regards
ASKER CERTIFIED SOLUTION
Avatar of thenelson
thenelson

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of vikasbapat
vikasbapat

ASKER

Thank You.