Having a Favorites Tool in a Web Browser

I would like to have a favorites tool in the Web Browser I am working on. Although I have a few ideas, what would be the best way of doing this Thank you in advance.

Answer this question

Having a Favorites Tool in a Web Browser

  • PeterWone

    You need a capability of originating these. These are only text files with strings appended to them. They are possibly the sinplest kind of object going.

    But it's a REALLY easy thing to test... write your code and have it output into your favorites directory. when when you can see your entry, double click on it and have IE go there, you know it's soup!!!!

    Enjoy.....



  • AndrewSn

    So I get an error message when I use this code...

    Dim writer As New XmlSerializer(GetType(ArrayList))

    Dim file As New StreamWriter("Favorites.xml")

    writer.Serialize(file, TextBox1.Text)

    file.Close()

     

     ...I'm somewhat new to xml... go easy on me.

    Perhaps I could do something with a database


  • Steven Bone

    I see, I'll just replicate that then, I guess. Thanks for your help ReneeC.
  • Charles Darwin

    You're writing a web browser in VB.NET Well, I would probably store them in an XML file, I guess.



  • r_currie

    I'd tend to agree with keeping this format - that way you can simply move the favourites back and worth between IE and you browser - added functionality (completely interchangeable with IE)


  • Craig Cormier

    Yes, that may work. It's up to you how you approach it.



  • James A P

    But what about adding favorites How would you do that
  • robcw

    There already a well developed technology for this. I'm not sure why you are

    developing a new one.

    Here is the internals of a favorites link:

    DEFAULT]
    BASEURL=http://dictionary.reference.com/
    [InternetShortcut]
    URL=http://dictionary.reference.com/
    Modified=E05F892D8368C601A7
    IconFile=http://cache.lexico.com/g/favicon.ico
    IconIndex=1

    Why not replicate this.

    Actually I just did something like this in an Access database. All you really need is object identifier and object descriptor....



  • taral

    Yup .  Good idea, thats what I was thinking about doing. 

     

    Would I do something with arrays Like

    Dim writer As New XMLSerializer(GetType(ArrayList))

    Dim file As New StreamWriter("SerializedData.xml")

    writer.Serialize(file, dataToWrite)

    file.Close()


  • KRS India

    What format is that Modified key

  • Having a Favorites Tool in a Web Browser