ocx in asp.net

In a visual Web Developer 2008 Express ASP.net web form (vb.net)
I have an OCX control named magview.ocx
I have referenced the file and have the following resource in my Bin: Interop.MAGVIEWLib.dll
My understanding is that I can't drag & drop the control like I can with the other controls in my toolbox because it is . ocx.

I have seen people reference that you can embed the control in object tags.

Can you please show  how this is done? How would the class be created?
I was able to add the ocx control to a MS Access page successfully

Thank you in advance.
billkriegerAsked:
Who is Participating?
 
Ted BouskillConnect With a Mentor Senior Software DeveloperCommented:
OCX files are ActiveX controls.  I've never heard of .NET applications being developed in Visual Studio supporting ActiveX controls.
0
 
billkriegerAuthor Commented:
Thanks for taking the time to respond.
0
All Courses

From novice to tech pro — start learning today.