Need urgent Help : ActiveX control with ASP.NET

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
 
G

Guest

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top