Solved

using files from the web as input files

Posted on 2001-06-15
1
112 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

Suggested Solutions

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
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…

770 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