Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Visual Basic > VB 6 Visual Basic 6 > VB.NET
|
VB.NET General VB.NET discussions for issues that don't fall into other VB.NET forums.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB.NET 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 November 2nd, 2007, 10:22 AM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Application that can grab & display URL of webpage

Hello,

Could somebody please guide me how to make an application that can grab and display the URL(s) of a certain web page? What platform is best to use?

Thank you.

 
Old November 2nd, 2007, 10:28 AM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

Response.Write(Request.URL.ToString())

Your question is far to vauge, the above line of code with grab the URL of the given page and write it out to the browser.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
================================================== =========
.: Wrox Technical Editor :.
Wrox Books 24 x 7
================================================== =========
 
Old November 2nd, 2007, 09:29 PM
Registered User
 
Join Date: Nov 2007
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sorry, I did not give much information. I'm trying to make an application that will fetch all the URL(s) contained inside a web page and then display the results in a listbox or just textbox.

I'm thinking about a textbox for the user to enter the URL to search for and then a button to initiate the search process. When the user clicks that button, it will search for hyperlinks contained in the URL specified by the user. Then the results will be displayed in a listbox.

Like this tutorial as an example: http://www.codeproject.com/useritems...r_using_vb.asp

I tried to download the source code of that tutorial and run the project in visual studio 2005 but I received a lot of errors.
 
Old November 4th, 2007, 11:59 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,189
Thanks: 5
Thanked 59 Times in 57 Posts
Send a message via MSN to gbianchi
Default

hi there.. you received a lot of error because that project looks like for VB6, not VB.NET...


HTH

Gonzalo

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from dparsons signature and he Took that from planoie's profile
================================================== =========
My programs achieved a new certification (can you say the same?):
WORKS ON MY MACHINE
http://www.codinghorror.com/blog/archives/000818.html
================================================== =========
I know that CVS was evil, and now i got the proof:
http://worsethanfailure.com/Articles...-Hate-You.aspx
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
how to grab and store executed value of url method PHP How-To 0 March 30th, 2006 01:57 PM
Display icon on a webpage rroohhiitt C# 3 February 24th, 2006 08:12 PM
Grab url address Mantis Pro PHP 3 December 23rd, 2005 09:04 AM
display a pdf in a webpage crmpicco Classic ASP Basics 3 February 8th, 2005 09:59 AM





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