• Log in or sign up for an account here: https://www.sythe.org/login

how come

kharg0

Active Member
Joined
Feb 25, 2007
Sythe Gold
0
Messages
131
how come
ok i have created a bookmarks form and i have a favorites button how do i make the button bring up the bookmarks form?

My Code:

Public Class bookmark

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim regedit
regedit = CreateObject("WScript.Shell")
regedit.RegWrite("HKEY_CURRENT_USER\Software\CoolBrowser\bookmarks", textbox1.Text)
regedit = Nothing
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim regedit
On Error Resume Next
regedit = CreateObject("WScript.Shell")

textbox1.Text = regedit.RegRead("HKEY_CURRENT_USER\Software\CoolBrowser\bookmarks")
regedit = Nothing
End Sub

Private Sub Favorites_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub
End Class
 
how come
do you have a textbox1.text in the Favorites forum
 
how come
Ya umm here.....

Public Class bookmark

Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim regedit
regedit = CreateObject("WScript.Shell")
regedit.RegWrite("HKEY_CURRENT_USER\Software\CoolBrowser\bookmarks", textbox1.Text)
regedit = Nothing
End Sub

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
Dim regedit
On Error Resume Next
regedit = CreateObject("WScript.Shell")

textbox1.Text = regedit.RegRead("HKEY_CURRENT_USER\Software\CoolBrowser\bookmarks")
regedit = Nothing
End Sub

Private Sub Favorites_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load

End Sub

Private Sub TextBox1_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles TextBox1.TextChanged

End Sub
End Class

here...

textbox1.Text

rite there yup i do ya and i've tried show (bookmark) it says i need to set it's visible valuse to false

nvm i fixed it but how do i make it so it saves pages and can reload them??

thx :)
 
Runescape Gamblingrunescape gambling
Back
Top