Need urgent Help : ActiveX control with ASP.NET

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi Friends,

I've developed an activeX control (.ocx) with VB 6.0
it has two Public functions, which chages some values of text
boxes in the control.
Fun1(int a)
Fun2()
How to use this control in ASP.NET (C#)?
I've added reference to my web application.

But I'm not getting UserControl.Fun1(a)?
or UserControl.Fun2() in ASP.NET (C#)
However the same calls works fine in Windows forms application.
and in VB 6.0.

How to call these functions in ASP.NET?
Or any other way to deploy the control for with a web page?

Please help.

Thanks & Regards,
Sachin M
 
Hi Dennis,

Thanks for the help. The example is really good.
But my control is developed in VB 6.0. Do I need to create class library for
that?

Thanks & Regards,
Sachin M
 
Back
Top