Hi, I am new to Active X controls but I have made an Active X control which I have embedded into my webpage successfully.

The control is just a text box with a command button. What I want to do is when someone clicks the command button the information inside the text box is saved to a file.

I thought that I could just go (Pseudo code here)

' When the button is clicked
Public sub command1_Click()

' Call a function that saves the text file
funcsave (text1.text)

End Sub

I wrote the code and I can view the ocx but the command button does not seem to do anything.

Any help appreciated as like I said I am new to Active X controls

Cheers
MarkusJ