Solved

Javascript not working for WebBrowser Control in MS ACCESS 2007

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
TSQL - How to declare table name 26 42
date diff with Fiscal Calendar 4 54
SQL Syntax: How to force case sensitive query? 2 44
SQL - format decimal in a string 5 39
Introduction Hopefully the following mnemonic and, ultimately, the acronym it represents is common place to all those reading: Please Excuse My Dear Aunt Sally (PEMDAS). Briefly, though, PEMDAS is used to signify the order of operations (http://en.…
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.​
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

860 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