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 
Web Browser Active X Control
Scott Adkins 

13 years ago
I have an Active X Microsoft Web Browser control that is used to look up business addresses.

One of the things I look up is Gas Station address, city, phone#, etc.

I build link that looks like (https://www.google.com/q=" & & & &

Since URLS now use + for space, %something-or-other for various characters, I loop through a string to build the URL. This works beautifully. I can navigate to the page with the change of characters - no problem! However, the page seems to load several times. (I have tried different sites, and even mobile.wunderground.com as in the Web Sync Seminar does the same.

I am spitballing here but I imagine there are events on the web form that have to happen in some order that might cause this? Im quite sure that there is an illogical reason, but I don't want to test the illogic of some Microsoft Software Engineer!! HaHa

I hoped that since it loaded 4 times, It surely completes 4 times. My first thought was that if it download begin 4 times, then it surely document complete 4 times.....Nope it doesn't. There also seems to be no correlation with begin/complete events! (I get that it does probably happen, but one event fires on top of the other and heirarchy takes over?!)

So for a simple man, one would think that I could build a time delay into the code! ....Tried it ..... doesn't work either. (It causes the code to track around the document complete event and carries on with other code that has yet to run. This obviously reeks havoc, as the code has to be written around the proper hierarchy to function appropriately.

My first question is; Is there an effective way to pause the execution of code until a specific event is completed? I've tried While/End Loops - Useless, because the events to pause cannot be specified, and it just holds the current process, goes to the next and then forgets to complete the process which created the hold.

Second question, same control! I am sure that I am causing this!... When you originally put the Web Browser Control into the form, it does not have a Go To address, so it appears blank white on the form.

I sometimes get in a hurry and forget to save the changes from the VBA editor, and if the browser has loaded a page, it will default to that page from now on!

Is there a way to remove this default URL address from the code?

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/17/2026 10:12:52 AM. PLT: 0s