Solved

Javascript not working for WebBrowser Control in MS ACCESS 2007

Posted on 2014-02-01
2
735 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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

'Between' is such a common word we rarely think about it but in SQL it has a very specific definition we should be aware of. While most database vendors will have their own unique phrases to describe it (see references at end) the concept in common …
Occasionally there is a need to clean table columns, especially if you have inherited legacy data. There are obviously many ways to accomplish that, including elaborate UPDATE queries with anywhere from one to numerous REPLACE functions (even within…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

773 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