Help with a Project
-
Hello out there I need help with a project. Retrieving information from a text file that is in a website. For example: Steve Smith, a runner, would like to retrieve his race results, stored as text files, from a number of different websites. The results gathered would pertain to him only,not all participants, and need to be stored in a database for future reference.
-
Hello out there I need help with a project. Retrieving information from a text file that is in a website. For example: Steve Smith, a runner, would like to retrieve his race results, stored as text files, from a number of different websites. The results gathered would pertain to him only,not all participants, and need to be stored in a database for future reference.
With .NET this really is ungodly simple. I'm not sure what type of help you're looking for. in VB.Net you can download a file from the web: Dim myWebClient As New WebClient() myWebClient.DownloadFile(StrSourceURL, strDestinationLocation) myWebClient.Dispose() Parse the file using a Regular Expression. Extract the values from the Regex statement, pump to SQL Server. poof! Magic :)
-
Hello out there I need help with a project. Retrieving information from a text file that is in a website. For example: Steve Smith, a runner, would like to retrieve his race results, stored as text files, from a number of different websites. The results gathered would pertain to him only,not all participants, and need to be stored in a database for future reference.
-
With .NET this really is ungodly simple. I'm not sure what type of help you're looking for. in VB.Net you can download a file from the web: Dim myWebClient As New WebClient() myWebClient.DownloadFile(StrSourceURL, strDestinationLocation) myWebClient.Dispose() Parse the file using a Regular Expression. Extract the values from the Regex statement, pump to SQL Server. poof! Magic :)
Answering programming questions in the lounge is just as bad as asking them.
-
Hello out there I need help with a project. Retrieving information from a text file that is in a website. For example: Steve Smith, a runner, would like to retrieve his race results, stored as text files, from a number of different websites. The results gathered would pertain to him only,not all participants, and need to be stored in a database for future reference.
for(int i=0; i<NumberOfWebsites; i++) { // Enter URL into address bar and hit ENTER // CTRL+F 'Steve Smith' ENTER // Add result to database through some UI. }
HTH. BW
"Get up and open your eyes. Don't let yourself ever fall down.
Get through it and learn how to fly. I know you will find a way...
Today"
-Days of the New -
With .NET this really is ungodly simple. I'm not sure what type of help you're looking for. in VB.Net you can download a file from the web: Dim myWebClient As New WebClient() myWebClient.DownloadFile(StrSourceURL, strDestinationLocation) myWebClient.Dispose() Parse the file using a Regular Expression. Extract the values from the Regex statement, pump to SQL Server. poof! Magic :)
lastmang0 said: I'm not sure what type of help you're looking for. He wants help with his homework.:sigh:
I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon
-
for(int i=0; i<NumberOfWebsites; i++) { // Enter URL into address bar and hit ENTER // CTRL+F 'Steve Smith' ENTER // Add result to database through some UI. }
HTH. BW
"Get up and open your eyes. Don't let yourself ever fall down.
Get through it and learn how to fly. I know you will find a way...
Today"
-Days of the NewThank You for the help. Can this process be automated through the use of some sort of spidering program?
-
With .NET this really is ungodly simple. I'm not sure what type of help you're looking for. in VB.Net you can download a file from the web: Dim myWebClient As New WebClient() myWebClient.DownloadFile(StrSourceURL, strDestinationLocation) myWebClient.Dispose() Parse the file using a Regular Expression. Extract the values from the Regex statement, pump to SQL Server. poof! Magic :)
Thank You for the help. Are you describing the method through which this process can be automated through a website, and have the information stored on a database for future reference.