Solved

Script error - Microsoft Access 2010 automation Google Maps

Posted on 2014-01-12
4
601 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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

In earlier versions of Windows (XP and before), you could drag a database to the taskbar, where it would appear as a taskbar icon to open that database.  This article shows how to recreate this functionality in Windows 7 through 10.
AutoNumbers should increment automatically, without duplicates.  But sometimes something goes wrong, and the next AutoNumber value is a duplicate.  This article shows how to recover from this problem.
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.
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

763 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