Web OCX's

A

Ash Phillips

Hi Everyone, I need to create a web control in VB.NET - what project do I
need to select from the new project menu?

Can't seem to do it like in VB6 :S

Also, when the control is embedded into the <object> HTML commands, how do I
get the OCX to read the <param name=""> tags in the html??

I have always been puzzled by how to do that.

Thanks in advance for any help you can offer.

Ash
 
P

Paul Clement

¤ Hi Everyone, I need to create a web control in VB.NET - what project do I
¤ need to select from the new project menu?
¤
¤ Can't seem to do it like in VB6 :S
¤
¤ Also, when the control is embedded into the <object> HTML commands, how do I
¤ get the OCX to read the <param name=""> tags in the html??
¤
¤ I have always been puzzled by how to do that.
¤
¤ Thanks in advance for any help you can offer.

If I understand your question I believe you are looking to create a Web Form User Control:

http://msdn.microsoft.com/library/d...us/cpguide/html/cpconwebformsusercontrols.asp


Paul ~~~ (e-mail address removed)
Microsoft MVP (Visual Basic)
 
A

Ash Phillips

Hi, it's not a web form user control... An active x control

Anyone got any more ideas??? lol

Thanks again
Ash
 
P

PJ Olson

ActiveX no longer exists in .NET. If you want to create a control that will
function on an ASPX page then you want to create a web user control.

Not sure what you are looking for in the tag reading, but I would imagine
you can have the control parse the page, or use JavaScript to search through
the page to find the parameters you seek.

PJ
 
A

Ash Phillips

THanks PJ :)

PJ Olson said:
ActiveX no longer exists in .NET. If you want to create a control that will
function on an ASPX page then you want to create a web user control.

Not sure what you are looking for in the tag reading, but I would imagine
you can have the control parse the page, or use JavaScript to search through
the page to find the parameters you seek.

PJ
 

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

Top