Solved

Javascript not working for WebBrowser Control in MS ACCESS 2007

Posted on 2014-02-01
2
767 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
SQL Server syntax 11 51
T-SQL: Stored Procedure Syntax 3 42
Oracle SQL_Error . 7 24
Importing from CSV to SSMS 2 15
Confronted with some SQL you don't know can be a daunting task. It can be even more daunting if that SQL carries some of the old secret codes used in the Ye Olde query syntax, such as: (+)     as used in Oracle;     *=     =*    as used in Sybase …
PL/SQL can be a very powerful tool for working directly with database tables. Being able to loop will allow you to perform more complex operations, but can be a little tricky to write correctly. This article will provide examples of basic loops alon…
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…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

752 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