Solved

ocx in asp.net

Posted on 2008-06-13
2
712 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
[X]
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
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Generate Unique ID in VB.NET 21 127
Validation for Passport expiry in asp.net 2 29
What are MicroServices? 4 65
EF5 How do I stop pre-compiled views? 8 47
I will show you how to create a ASP.NET Captcha control without using any HTTP HANDELRS or what so ever. you can easily plug it into your web pages. For Example a = 2 + 3 (where 2 and 3 are 2 random numbers) Session("Answer") = 5 then we…
I found this questions asking how to do this in many different forums, so I will describe here how to implement a solution using PHP and AJAX. The logical flow for the problem should be: Write an event handler for the first drop down box to get …
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

738 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