Solved

ocx in asp.net

Posted on 2008-06-13
2
701 Views
Last Modified: 2012-06-27
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.
0
Comment
Question by:billkrieger
2 Comments
 
LVL 51

Accepted Solution

by:
tedbilly earned 500 total points
Comment Utility
OCX files are ActiveX controls.  I've never heard of .NET applications being developed in Visual Studio supporting ActiveX controls.
0
 

Author Closing Comment

by:billkrieger
Comment Utility
Thanks for taking the time to respond.
0

Featured Post

Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

Join & Write a Comment

There are two main kinds of selectors in CSS: One is base selector like h1, h2, body, table or any existing HTML tags.  For instance, the following rule sets all paragraphs (<p> elements) to red: (CODE) CSS also allows us to define our own custom …
Styling your websites can become very complex. Here I'll show how SASS can help you better organize, maintain and reuse your CSS code.
Viewers will learn about the different types of variables in Java and how to declare them. Decide the type of variable desired: Put the keyword corresponding to the type of variable in front of the variable name: Use the equal sign to assign a v…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

772 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now