Solved

Javascript not working for WebBrowser Control in MS ACCESS 2007

Posted on 2014-02-01
2
699 Views
Last Modified: 2014-02-24
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
0
Comment
Question by:vikasbapat
2 Comments
 
LVL 39

Accepted Solution

by:
thenelson earned 500 total points
ID: 39827039
Sometimes the webrowser control does not support website scripting (jave, php, etc). Use IE automation instead. This sample database will show you how to do that: http://thenelson.name/#WebAccess
0
 

Author Comment

by:vikasbapat
ID: 39884872
Thank You.
0

Featured Post

Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

Join & Write a Comment

In database programming, custom sort order seems to be necessary quite often, at least in my experience and time here at EE. Within the realm of custom sorting is the sorting of numbers and text independently (i.e., treating the numbers as number…
Composite queries are used to retrieve the results from joining multiple queries after applying any filters. UNION, INTERSECT, MINUS, and UNION ALL are some of the operators used to get certain desired results.​
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

708 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now