All,
I am having a bit of a problem. What I would like to do is get all the favorite links inside a WinXP users favorites folder and then be able to display that in a combo box so they may click on a link and then hit the go button to go to that webpage. I have it setup now where all the url's are hard coded and it works fine. But I need to be able to automatically fill the combo box with each users favorites. Any help would be appreciated.
Here is the code for the button.
Thanks again for any help.
Jason
I am having a bit of a problem. What I would like to do is get all the favorite links inside a WinXP users favorites folder and then be able to display that in a combo box so they may click on a link and then hit the go button to go to that webpage. I have it setup now where all the url's are hard coded and it works fine. But I need to be able to automatically fill the combo box with each users favorites. Any help would be appreciated.
Here is the code for the button.
VB.NET:
Public Explorer As SHDocVw.InternetExplorer
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
'We need to make sure you select a web address
If (cmbFavorites.SelectedItem = "") Then
MsgBox("You must first select a web address.")
Else
Explorer = New SHDocVw.InternetExplorer 'Creates a new instance of IE
Explorer.Visible = True 'Lets you see IE
Explorer.Navigate(cmbFavorites.SelectedItem) 'Navigates URL to desired web address
End If
End Sub
Thanks again for any help.
Jason