Closed Thread
Results 1 to 9 of 9

Thread: Need Help with internet browser

  1. #1
    wazofski is offline Programmer
    Join Date
    Feb 2008
    Posts
    126
    Rep Power
    0

    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. CODECALL Circuit advertisement
    Join Date
    Always
    Posts
    Many

     
  3. #2
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101
    What do you mean by "the addressbar caption", you mean the textbox where you write the URL?

  4. #3
    wazofski is offline Programmer
    Join Date
    Feb 2008
    Posts
    126
    Rep Power
    0
    yes, where you write the address / url that needs to be changed when you clikc the selected text in favorites

  5. #4
    Chambered's Avatar
    Chambered is offline Newbie
    Join Date
    Nov 2007
    Location
    La Crosse
    Posts
    11
    Rep Power
    0
    Do you mean like (in Visual Studio '03+):
    Code:
    txtAddressbar.Text = "http:\\www." & lstFavorites.SelectedItem.ToString & ".com"

  6. #5
    wazofski is offline Programmer
    Join Date
    Feb 2008
    Posts
    126
    Rep Power
    0
    yeah something like that, but now i need it for vb6

  7. #6
    K3Y
    K3Y is offline Newbie
    Join Date
    Feb 2008
    Posts
    17
    Rep Power
    0

    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

  8. #7
    wazofski is offline Programmer
    Join Date
    Feb 2008
    Posts
    126
    Rep Power
    0

    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?

  9. #8
    Join Date
    Aug 2006
    Posts
    11,209
    Blog Entries
    6
    Rep Power
    101

    Re: Need Help with internet browser

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

  10. #9
    wazofski is offline Programmer
    Join Date
    Feb 2008
    Posts
    126
    Rep Power
    0

    Re: Need Help with internet browser

    how? tell me

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 4
    Last Post: 02-20-2011, 04:18 PM
  2. Best Web Browser?
    By EGS in forum Linux Applications
    Replies: 23
    Last Post: 06-18-2010, 06:51 AM
  3. Tutorial - An Internet browser!
    By travy92 in forum Visual Basic Tutorials
    Replies: 16
    Last Post: 06-15-2010, 07:58 PM
  4. MDI using TabPages (internet browser style)
    By desir in forum C# Programming
    Replies: 4
    Last Post: 07-06-2009, 06:18 AM

Tags for this Thread

Bookmarks

Posting Permissions

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