?
Solved

Script error - Microsoft Access 2010 automation Google Maps

Posted on 2014-01-12
4
Medium Priority
?
634 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 85
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 2000 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

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

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

Excel can be a tricky bit of software to get your head around. Whilst you’ll be able to eventually get to grips with the basic understanding of how to get by, there are a few Excel tips that not everybody will even know about let alone know how to d…
Audit trails are very important in any system to hold people responsible for certain transactions and hold them to take ownership of their actions. This article is dedicated to all novice "Microsoft Access" developers.
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses

607 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