+ Reply to Thread
Results 1 to 9 of 9

Thread: Need Help with internet browser

  1. #1
    Programmer wazofski is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    126

    Need Help with internet browser

    Well for so far everything is going well. I made a favorites list. (its a listbox or whatever you call it) But I want when you click the selected text in the list (the name of site), that the addressbar caption changes. but how? I tried some things but didnt work.

    If you press the link in the favo list then you go to the website (so that works )

  2. #2
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6
    What do you mean by "the addressbar caption", you mean the textbox where you write the URL?

  3. #3
    Programmer wazofski is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    126
    yes, where you write the address / url that needs to be changed when you clikc the selected text in favorites

  4. #4
    Newbie Chambered is an unknown quantity at this point Chambered's Avatar
    Join Date
    Nov 2007
    Location
    La Crosse
    Posts
    11
    Do you mean like (in Visual Studio '03+):
    Code:
    txtAddressbar.Text = "http:\\www." & lstFavorites.SelectedItem.ToString & ".com"

  5. #5
    Programmer wazofski is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    126
    yeah something like that, but now i need it for vb6

  6. #6
    K3Y
    K3Y is offline
    Newbie K3Y is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    17

    Re: Need Help with internet browser

    In a click event procedure for the listbox:

    Code:
    Dim Index As Integer
    Index = lstFavourates.ListIndex
    txtAddressBar.Text = lstFavourates.List(Index)
    i think that would get the job done, presuming the string saved in your list is the full url (including http:// etc)

    please post if theres an easier way to do this sort of thing in VB6 =D

  7. #7
    Programmer wazofski is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    126

    Re: Need Help with internet browser

    thx, now I need only one more thing and that is: If you add a page to your favorites I want that those added pages will be saved, so when you start the programm the next time and you click on Show Favorites that the favo pages will be showed that you have added. Any ideas?

  8. #8
    TcM
    TcM is offline
    Code Warrior TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM is a name known to all TcM's Avatar
    Join Date
    Aug 2006
    Posts
    11,461
    Blog Entries
    6

    Re: Need Help with internet browser

    You can use a simple text file, saving the list box into a text file.

  9. #9
    Programmer wazofski is an unknown quantity at this point
    Join Date
    Feb 2008
    Posts
    126

    Re: Need Help with internet browser

    how? tell me

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Tutorial - An Internet browser!
    By travy92 in forum VB Tutorials
    Replies: 14
    Last Post: 07-07-2009, 01:08 PM
  2. :( internet explorer
    By shibbythestoner in forum HTML Programming
    Replies: 4
    Last Post: 11-24-2007, 10:58 AM
  3. Most Used Browser
    By Saint in forum Website Design
    Replies: 54
    Last Post: 07-17-2007, 07:28 PM
  4. Reduce your temporary internet file space
    By PC101 in forum Technology Ramble
    Replies: 4
    Last Post: 10-04-2006, 09:29 PM

Bookmarks

Bookmarks

     
        Algorithms and Data Structures

        Java tutorials

        Algorithms Forum

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts