Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

ocx in asp.net

Posted on 2008-06-13
2
709 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:
Ted Bouskill earned 500 total points
ID: 21787215
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
ID: 31467014
Thanks for taking the time to respond.
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Shoutout to Emily Plummer (http://www.experts-exchange.com/members/eplummer26.html) for giving me this article! She did most of it, I just finished it up and posted it for her :)    Introduction In a previous article (http://www.experts-exchang…
Viewers will learn about arithmetic and Boolean expressions in Java and the logical operators used to create Boolean expressions. We will cover the symbols used for arithmetic expressions and define each logical operator and how to use them in Boole…
Viewers will learn about the regular for loop in Java and how to use it. Definition: Break the for loop down into 3 parts: Syntax when using for loops: Example using a for loop:

829 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