Solved

Script error - Microsoft Access 2010 automation Google Maps

Posted on 2014-01-12
4
596 Views
Last Modified: 2014-01-17
I have been trying to resolve the following:

http://www.devhut.net/2013/10/18/webbrowser-activex-control-google-maps-invalid-character-scripting-error/

This was the final fix for a previous ASK:

I opened up the access database file referred to above. I anticipated the fix database would have a form with a command button to execute the registry fix. I think, though, the fix must have been applied to an open event on the form and it executed when I opened the database. I received an error on my Windows 8 system upon opening the form.

I don't know what to do from here, but the script error still persists.

Previous ASK below:


"I have created a Microsoft Access application automating the process of creating driving directions using Google Maps. The address data originates in Microsoft Access text boxes.

This used to work on my Windows 7 system. Now, I am getting the error on a Windows 8.1 and Windows 7 system. My client has one computer that is able to run the application without error. It is a Windows XP system running an older version of Microsoft Access."
0
Comment
Question by:pabrann
  • 2
4 Comments
 
LVL 84
ID: 39775271
You mention several errors, but you haven't told us what those errors are.

Can you show screenshots of the errors?
0
 

Author Comment

by:pabrann
ID: 39775334
Sure, I'll attach an access database that demonstrates the error. If it does not generate an error on your system, please let me know.. Thanks!!

GoogleMap-Access-Database.zip
0
 
LVL 74

Accepted Solution

by:
Jeffrey Coachman earned 500 total points
ID: 39787755
Not sure , ...but as a start, you are using "Global" variables, ...try changing that to "Public"

Also set the VBA option to require variable declarations for all new modules.
Then add "Option Explicit" to the top of all of your existing modules.

Are you sure that the Installed / default web browser has nothing to do with this?
0
 
LVL 74

Expert Comment

by:Jeffrey Coachman
ID: 39789996
Glad I could help
0

Featured Post

Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

Question has a verified solution.

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

The canonical version of this article is on my web site here: http://iconoun.com/articles/collisions/ A companion presentation is available here: http://iconoun.com/articles/collisions/Unicode_Presentation.pdf
We were having a lot of "Heartbeat Alerts" in our SCOM environment, now "Heartbeat" in a SCOM environment for those of you who might not be familiar with SCOM is a packet of data sent from the agent to the management server on a regular basis, basic…
In Microsoft Access, learn different ways of passing a string value within a string argument. Also learn what a “Type Mis-match” error is about.
The viewer will learn how to create two correlated normally distributed random variables in Excel, use a normal distribution to simulate the return on different levels of investment in each of the two funds over a period of ten years, and, create a …

895 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

14 Experts available now in Live!

Get 1:1 Help Now