Current location: Hot Scripts Forums » Programming Languages » Visual Basic » Favorites list


Favorites list

Reply
  #1 (permalink)  
Old 04-14-04, 12:58 PM
Fyrebryd01 Fyrebryd01 is offline
New Member
 
Join Date: Apr 2004
Location: Granville,New York
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Favorites list

I am a student at ITT tech and am creating an internet explorer for my personal use and i cannot get the favorites list to work on several aspects. I want to save the favorites added in to a text document and load it back into the list at startup. I also need to learn the code to visit the URL when you double click it on the favorites list in a listbox.My code is as follows.

Private Sub cmdClosefav_Click()
Dim x As Boolean
x = cmdClosefav
If x = True Then
Me.cmdFavorites.Visible = False
Me.List1.Visible = False
Me.lblFavorites.Visible = False
Me.cmdClosefav.Visible = False
End If
End Sub

Private Sub cmdFav_Click()
Dim x As Boolean
x = cmdFav
If x = True Then
Me.cmdFavorites.Visible = True
Me.List1.Visible = True
Me.lblFavorites.Visible = True
Me.cmdClosefav.Visible = True
End If

End Sub

Private Sub cmdFavorites_Click()
List1.AddItem Me.txtNavbar.Text
End Sub

Private Sub List1_DblClick()
If List1.ListIndex = 1 Then
Me.WebBrowser1.Navigate List1.ListIndex
End If
End Sub

Private Sub cmdFavorites_Click()
List1.AddItem Me.txtNavbar.Text
End Sub

I would appreciate any help..
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Why won't select list item insert into database? gavacho PHP 2 12-05-08 06:38 PM
Formmail Script Fix - Cant display multiple list selections.. zamen PHP 3 05-02-04 09:59 AM
mail list - please read Ivan Milisic Script Requests 0 04-01-04 06:37 AM
dyanamic list box based on a variable solovaz JavaScript 0 01-16-04 03:02 AM
Newsletter and mailing list Hoolines Script Requests 2 10-18-03 07:00 PM


All times are GMT -5. The time now is 01:20 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.