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 
Get a link from the web
Masih Ostad Novin 
     
3 years ago
Hi. I want in my database to be able to automate that I can with one click go to a specific web side and copy or fetch the link into my database. This has two parts: first I have to search the article and then get the link. Do we have a video for this that you can guide me to it? Thanks.
Best,
Masih
Juan C Rivera  @Reply  
            
3 years ago
you can try the Access Web Sync Seminar
Kevin Yip  @Reply  
     
3 years ago
The basic idea is to write code that reads and parses the HTML code of a webpage, gleans through all the "a" tags (where links are stored), and obtains the link addresses.  But web pages and their HTML code may get modified without notice.  When that happens, you may have to rewrite the code at your end.  This is a problem if you have a mission-critical application that may suddenly stop working and require an immediate code rewrite.

I have a movie collection application in Access in which I use this method to retrieve movie data from IMDb; and I have to modify my code at least two times a year because IMDb gets modified pretty often, as is usually the case with busy websites.

All links are stored in "A" tags, but the trick is to find which "A" tags have the links you want.  You have to look at the "context" of the webpage.  Maybe certain links are listed under certain headings -- when you search Richard's site, results are shown under course outlines, news headers, comments, etc.  Maybe some are under certain "classes" in the HTML code.  All this has to be done with VBA, for each webpage, and updated whenever a webpage changes its HTML code, maybe even slightly.

Websites usually frown upon this kind of activities.  That's because when you try to glean info from the sites without visiting the sites yourself, you are a "bot."  Many sites have anti-bot measures.  If they ask you to do one of those "I'm not a bot" thing, you have no way to overcome that.

These are just a few issues you will face.

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/6/2026 1:56:37 AM. PLT: 1s