Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Google map of zipcode from command button
Greg Beben 
    
15 years ago
Richard, you explained in an earlier reply how I could get Google to show me the correct format for a URL to show the map of a certain zipcode.  But what is the way to invoke such a map from a command button?  Is it a SHELL command to IE?  I tried using the hyperlink property, but I don't see a way to insert the correct zipcode on the fly.  I want to have the user double click a zipcode and have a map of that zipcode pop up in IE.


Reply from Richard Rost:

Yep. SHELL will work fine.

URL = "http://www.599cd.com"
Shell """c:\program files\internet explorer\iexplore""" & URL, vbNormalFocus

The extra double-quotes are because of the spaces in the path the IE executable.

Now if you want to be real cool, you could also drop a WebBrowser control in your own form and use that instead of launching an external copy of IE. I cover that in my Web Synch seminar.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 5/22/2026 8:09:49 AM. PLT: 0s