Recent Sites Viewer

Use this board to post your code snippets - tips and tricks
9 posts Page 1 of 1
Contributors
User avatar
RonaldHarvey
Top Poster
Top Poster
Posts: 113
Joined: Tue Apr 05, 2011 2:32 pm

Recent Sites Viewer
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
You do not have the required permissions to view the files attached to this post.
User avatar
Axel
Coding God
Coding God
Posts: 1928
Joined: Sun Jun 27, 2010 9:15 pm

Re: Recent Sites Viewer
Axel
Can you explain what this is for ?
http://vagex.com/?ref=25000
User avatar
mandai
Coding God
Coding God
Posts: 2585
Joined: Mon Apr 26, 2010 6:51 pm

Re: Recent Sites Viewer
mandai
This just keeps a list of the sites that are entered into the program.
User avatar
hungryhounduk
VIP - Site Partner
VIP - Site Partner
Posts: 2870
Joined: Mon Jul 27, 2009 11:58 am

Re: Recent Sites Viewer
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
Image
User avatar
RonaldHarvey
Top Poster
Top Poster
Posts: 113
Joined: Tue Apr 05, 2011 2:32 pm

Re: Recent Sites Viewer
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.
User avatar
RonaldHarvey
Top Poster
Top Poster
Posts: 113
Joined: Tue Apr 05, 2011 2:32 pm

Re: Recent Sites Viewer
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;
User avatar
Napster1488
VIP - Donator
VIP - Donator
Posts: 524
Joined: Fri Jan 07, 2011 8:41 pm

Re: Recent Sites Viewer
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.
YouTube Downloader v3.0
Image
Image
Image
User avatar
rocky4126
VIP - Donator
VIP - Donator
Posts: 258
Joined: Mon Nov 16, 2009 7:39 pm

Re: Recent Sites Viewer
rocky4126
hmm, sounds good :) and napster, with a webbrowser, you'd have to do something similar to this anyway (for custom webbrowsers)
Image
User avatar
Jg99
VIP - Site Partner
VIP - Site Partner
Posts: 453
Joined: Sun Mar 20, 2011 5:04 am

Re: Recent Sites Viewer
Jg99
Sounds Good! I like it
http://www.sctechusa.com SilverCloud Website
9 posts Page 1 of 1
Return to “Quick Snips”