Page 1 of 1

Recent Sites Viewer

Posted: Mon May 23, 2011 4:49 pm
by RonaldHarvey
Hello there,

I am sharing this snips on tracking recent sites viewed.

Here is the screen shot.
SiteViewer.png
Here are the codes:
Code: Select all
Public Class Form1

    Dim URLsVisited As New Collection()

    Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
        btnRecent.Enabled = False
        btnNew.Enabled = False
    End Sub

    Private Sub btnVisit_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnVisit.Click
        URLsVisited.Add(TextBox1.Text)
        System.Diagnostics.Process.Start(TextBox1.Text)
        btnRecent.Enabled = True
        btnNew.Enabled = True
    End Sub

    Private Sub btnRecent_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnRecent.Click
        Dim URLName As String = ""
        Dim ALLURLs As String

        For Each URLName In URLsVisited
            ALLURLs = ALLURLs & URLName & vbCrLf
        Next URLName

        MsgBox(ALLURLs, MsgBoxStyle.Information, "Websites Visited")
    End Sub

    Private Sub btnNew_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnNew.Click
        TextBox1.Clear()
        btnRecent.Enabled = True
    End Sub
End Class
Here is the exe file
Recent Sites.zip
Thanks

Re: Recent Sites Viewer

Posted: Mon May 23, 2011 5:36 pm
by Axel
Can you explain what this is for ?

Re: Recent Sites Viewer

Posted: Mon May 23, 2011 6:04 pm
by mandai
This just keeps a list of the sites that are entered into the program.

Re: Recent Sites Viewer

Posted: Mon May 23, 2011 6:35 pm
by hungryhounduk
Yeah I DELETED the NEGATIVE POST BY NAPSTER :)

If you haven't worked it out by now, This SITE is for everyone, wether they are begineers or complete Anorak's :) So lets respect everyone who posts apps on here.... You all had to start somewhere = RIGHT?

Chris

Re: Recent Sites Viewer

Posted: Mon May 23, 2011 6:52 pm
by RonaldHarvey
mandai wrote:
This just keeps a list of the sites that are entered into the program.
Yes mandai is right since it was him who helped me about the topic on How to make a Recent Files Used by giving me the site with the tutorials. Unfortunately I am still in trouble with that how to code maybe soon.

Thanks mandai you're supportive my friend.

Re: Recent Sites Viewer

Posted: Mon May 23, 2011 7:06 pm
by RonaldHarvey
hungryhounduk wrote:
Yeah I DELETED the NEGATIVE POST BY NAPSTER :)

If you haven't worked it out by now, This SITE is for everyone, wether they are begineers or complete Anorak's :) So lets respect everyone who posts apps on here.... You all had to start somewhere = RIGHT?

Chris
Chris what I understand, you mean NAPSTER made a negative post? We'll, if I offended someone.....I am so sorry. What I know that this was a sharing site for everyone. Honestly speaking, I was happy that I knew this site since I learned here so I also share what i had read from ebooks only. Even I am not an IT or computer science Grad, I am still happy being Civil Engineer (Registered) that I learned programming in my spare time since I had a dream to make an application for heavy engineering projects soon with the help of those IT or computer science grads. Again sorry Napster if I offended you with my small apps today.

Chris, thanks for your understanding.

This is my challenge to learn more from ebooks and share God's Will. angel;

Re: Recent Sites Viewer

Posted: Mon May 23, 2011 7:31 pm
by Napster1488
Anyway my Post isnt Negative meant.
I mean Program looks Good but i meant that its useless someway cause in WebBrowser etc we can already see the Visited Sites.
So dont feel be attacked anyway,my Comment wasnt negative against you.

Re: Recent Sites Viewer

Posted: Fri May 27, 2011 6:25 pm
by rocky4126
hmm, sounds good :) and napster, with a webbrowser, you'd have to do something similar to this anyway (for custom webbrowsers)

Re: Recent Sites Viewer

Posted: Fri May 27, 2011 10:09 pm
by Jg99
Sounds Good! I like it