|
||||||
| Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model. |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
Browse and check Links
First of all, i want to thank all those who have helped other people.
Here is my problem. I am making a program which will check links. The HTML code for the link checker is HTML Code:
<HTML> <head> <title>Rapidshare Link Checker </title> <style> body { background:black; } TABLE { font-size: 8pt; font-family: Verdana, tahoma, sans-serif; } .butt { BORDER-BOTTOM: black 1px solid; BORDER-LEFT: black 1px solid; BORDER-RIGHT: black 1px solid; BORDER-TOP: black 1px solid; CURSOR: hand ; FONT-FAMILY: tahoma,sans-serif; FONT-SIZE: 13px; FONT-weighT: BOLD; TEXT-DECORATION: none; WIDTH: 100px } .textarea { COLOR: black; FONT: 8pt Verdana,Arial,Helvetica,Sans Serif; } p { COLOR: gray; FONT: 8pt Verdana,Arial,Helvetica,Sans Serif; TEXT-DECORATION: none } h1 { COLOR: gray; FONT: 14pt Verdana,Arial,Helvetica,Sans Serif; } </style> </head> <BODY> <center> <form action="h**p://rapidshare.com/cgi-bin/checkfiles.cgi" method="post"> <h1>Rapidshare Link Checker </h1> <br> <table > <tr> <td align="center"> <b>Enter only rapidshare links in the below Text field</b> </td> </tr> <tr> <td> <textarea name="urls" rows="10" cols="100" class="textarea"> </textarea> </td> </tr> </table> <center><input type="submit" class="butt" value="Check Links"/></center> <pre> <p> Rapidshare searches for the file ids on all RS Servers, if it finds the files on any of the server u will get a file found information regarding the server on which the file located. This will be highlighted with green font at the bottom of the page. If it doesnt find the files on any server i.e. if the links are dead then u will get a file not found information with Red font </p> <pre> <br><br> </form> </font> </BODY> </HTML> h**p://rapidshare.com/checkfiles.html Now, what I want to do is that when I open a list of text files (with links) then the program checks those links and replies with either they are working or not. Here is the code to open the text file (of links) Code:
Public Class form1
Private Sub btnbrowse_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnbrowse.Click
Dim dialog1 As New OpenFileDialog
Dim resource1 As DialogResult
Dim index As ListViewItem
resource1 = browse.ShowDialog()
If resource1 = DialogResult.OK Then
txtfile.Text = browse.FileName
GetFile(txtfile.Text)
End If
End Sub
And is it possible without using the web borwser?? Thanks!!! |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
All times are GMT -5. The time now is 06:51 AM.
Amrosama.cc
Arekbulski.cc
Debtboy.cc
Guest.cc
Jaan.cc
James.cc
Mathx.cc
Tsz.cc
Vswe.cc