Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old December 16th, 2008, 07:07 AM
Authorized User
Join Date: Dec 2008
Posts: 14
Thanks: 4
Thanked 0 Times in 0 Posts
Default Code to save html page source code?


I would need a VBA program that takes web address as input and saves a txt-file that includes the source code of the web page. I can do that already with send keys with Firefox, but I guess that's not very wise in a long run. I know how to write text files from string variables, but can a string variable hold any given web page source code (in other words, is there enough space)?

How to progress?
Old December 18th, 2008, 10:28 AM
Friend of Wrox
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts

The string variable can hold 2 Billion characters, so it will probably work. Did you need more help with this?

Look it up at: http://wrox.books24x7.com
Old July 2nd, 2019, 06:04 PM
Registered User
Join Date: Jul 2019
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts

I think 2 Billion characters are enough to handle this.

Similar Threads
Thread Thread Starter Forum Replies Last Post
results in view source but not on html page monstermash Classic ASP Basics 25 July 9th, 2007 02:22 AM
How do you save an html page on your local hd? rsalah Javascript How-To 16 January 27th, 2005 01:48 AM
Dynamically change html code of a page YiannisF ASP.NET 1.0 and 1.1 Basics 2 July 29th, 2004 01:38 AM
html page save to excel format mateenmohd Javascript 2 January 17th, 2004 05:48 AM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.