Web Activex UserControl Does Not Appear in my browser

Hi,

I have created an .OCX in VB6 for use on a web page. I created a .cab file with Package and deployment wizard, then I Signed it,
and placed this file on the web server and updated the web page with the
<OBJECT> tag with the correct guid, etc.

When I hit the web page, it prompts me and asks if I want to download and
install the component. I click yes and it appears to go through the
motions of downloading the .cab, etc. But the controls never appears on the
web page. The ocx has just a textbox and button ...all of the code is just like this:

Private Sub UserControl_Initialize()
MsgBox "UserControl initialized"
End Sub

Private Sub cmdCommand1_Click()
MsgBox txtText1.Text
End Sub

As you see, I added a textbox "txtText1" and button "cmdCommand1" on the form..

The important thing here is :
When usercontrol initialized , "UserControl_Initialize()" event runs and a messagebox appeared in the explorer. But on the other side; textbox and button never appears...

And the other one is:

I can see the button and textbox in my computer..because I created this ocx in my computer..But when I put this html and cab file to the other computer(windows server 2003) And request the webpage from another computer, UserControl_Initialize() event runs, messagebox appears, but textbox and button could not appeared..

What is the problem?

How can I correct this?

Thanks for your help..

[1500 byte] By [mobildev] at [2007-12-29]