Solved

using files from the web as input files

Posted on 2001-06-15
1
115 Views
Last Modified: 2010-05-02
example i have an app created and i want it to check if there is a newer version.

e.g. bij browsing to an url, and on error tell to go to the site for a new version

Or, and this i like more get an .txt file from an url and check if the contents = no or yes if yes then continue if no then tell to download a new version
0
Comment
Question by:markyvt
1 Comment
 
LVL 18

Accepted Solution

by:
bobbit31 earned 100 total points
ID: 6196100
well you could use the web browser control (under project/componenets select microsoft internet controls)

then you could do something like:
   WebBrowser1.Navigate "http://www.experts-exchange.com/jsp/qList.jsp?ta=visualbasic"

    While WebBrowser1.Busy
        DoEvents
    Wend
   
    pageString = WebBrowser1.Document.body.innertext

which will return the text (everything but html tags) of the document, from which you can then parse out the information you need.

good luck!
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

756 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