Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

VB6 can provide ActiveX for internet usage.  How can I do the same thing using VB.net?

Posted on 2004-08-25
4
Medium Priority
?
194 Views
Last Modified: 2010-05-18
I designed lots of ActiveX using VB6 for internet HTML pages.
Now, I need to use VB.net to do the same thing.
This is what I did:
a) Created a "Windows Control Library" project, say MyActiveX
b) Put a simple program in "UserControl1.vb", say HellowWorld
c) Build the program using either "debug" or "release" .   A file MyActiveX.dll is created in "bin" sub-directory
d) Using IIS (Internet Information Service) to set virtual directory pointing to MyActiveX local directory
==================================================================
e) Created a "ASP.net Web Application" project
f) Add a HTML page
g) Add <OBJECT id="MyActiveX" classid="http://localhost/MyActiveX/bin/MyActiveX.dll#MyActiveX.UserControl1"></OBJECT>

Well, it won't work no matter what I do.  
Please help!

0
Comment
Question by:CTIGMM
[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
4 Comments
 
LVL 2

Accepted Solution

by:
Mehrdad_Y earned 200 total points
ID: 11900748
Hello, first I have to say that you soon must transfer your Axtive X objects for websites, to Web server control. Because Windows XP Service pack 2 security will make lots of problems for you.
Second, if you really need that, check this:
-> Right click on your project name and select Add-> New Item
-> In the list, select ActiveX control or Com Component
Any way, I have to tell you that even if you use this technique, you will not be able to use .net Framework, because, .net framework is not installed on every machine.
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

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

A while ago, I was working on a Windows Forms application and I needed a special label control with reflection (glass) effect to show some titles in a stylish way. I've always enjoyed working with graphics, but it's never too clever to re-invent …
Introduction As chip makers focus on adding processor cores over increasing clock speed, developers need to utilize the features of modern CPUs.  One of the ways we can do this is by implementing parallel algorithms in our software.   One recent…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In this video, Percona Director of Solution Engineering Jon Tobin discusses the function and features of Percona Server for MongoDB. How Percona can help Percona can help you determine if Percona Server for MongoDB is the right solution for …

715 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