I have 1 text box and 1 command button

now how do I make it so that when someone clicks on the button, it verifiyes if the textbox says "Dimava", and if it does then I want it to goto http://members.aol.com/dimava/
how do I do that

incase you didn't understand what I mean, this is what the code would look like in regularr vb:

Code:
Private Sub Command1_click()
if text1.text = "Dimava" then
Navigate.to "http://members.aol.com/dimava/" 'not sure if this line will work
end if
End Sub

thanks in advance


BTW I opened VB 6 enterprise, then I picked DHTML project from the list