473,385 Members | 1,356 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Active X Component to replace an ocx

Lou
How do I create a .NET ActiveX component that has a form to be hosted in a
non DotNet
environment.
Basically in VB6 I would have simply created an ActiveX ocx.

-Lou
May 11 '07 #1
5 1864

I think in dotnet they are called
"embedded controls"

try google with that search string instead. (or wait til someone else
responds)

"Lou" <lo********@comcast.netwrote in message
news:OY****************@TK2MSFTNGP04.phx.gbl...
How do I create a .NET ActiveX component that has a form to be hosted in a
non DotNet
environment.
Basically in VB6 I would have simply created an ActiveX ocx.

-Lou


May 11 '07 #2
I believe you cannot run the .Net control in a PC without .net environment.
You can have a wrapper class for the .Net control using in a non donet
application. However, you need dotnet framework at run-time.
--
cheers,
RL
"Lou" <lo********@comcast.netwrote in message
news:OY****************@TK2MSFTNGP04.phx.gbl...
How do I create a .NET ActiveX component that has a form to be hosted in a
non DotNet
environment.
Basically in VB6 I would have simply created an ActiveX ocx.

-Lou

May 11 '07 #3
Lou,

Here is some information on using a .Net form or user control in a VB6
application:

http://msdn2.microsoft.com/en-us/vbasic/bb419144.aspx

Kerry Moorman
"Lou" wrote:
How do I create a .NET ActiveX component that has a form to be hosted in a
non DotNet
environment.
Basically in VB6 I would have simply created an ActiveX ocx.

-Lou
May 11 '07 #4
You could just create a dll with a COM interface , from the dll you can
start .Net forms

simple ,,, only thingy you can`t reproduce is the behavior of a out of
process component ( like in VB6 a activex exe )

regards

Michel

"Lou" <lo********@comcast.netschreef in bericht
news:OY****************@TK2MSFTNGP04.phx.gbl...
How do I create a .NET ActiveX component that has a form to be hosted in a
non DotNet
environment.
Basically in VB6 I would have simply created an ActiveX ocx.

-Lou

May 11 '07 #5
Lou
Kerry that's exactly what I need. Can the application hosting the .NET
control be a C++ app instead of a VB6 app?
"Kerry Moorman" <Ke**********@discussions.microsoft.comwrote in message
news:53**********************************@microsof t.com...
Lou,

Here is some information on using a .Net form or user control in a VB6
application:

http://msdn2.microsoft.com/en-us/vbasic/bb419144.aspx

Kerry Moorman
"Lou" wrote:
>How do I create a .NET ActiveX component that has a form to be hosted in
a
non DotNet
environment.
Basically in VB6 I would have simply created an ActiveX ocx.

-Lou

May 11 '07 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Jason Nix | last post by:
I have created an Active Server Component (ASC) as a bridge between ASP and my existing C++ DLLs that we use in our PC-based program. Our intent is to re-use as much code as possible. But, when I...
4
by: Oscar | last post by:
I am quite new to the ASP scene. I want to display the results of a recordset into a third party grid control called VSFlexgrid. I've prepared one asp page which queries an Access database and...
1
by: Gary Townsend | last post by:
Server OS: Windows 2000 Server SP4 IIS: 5.0 Component Language: Visual Basic 6.0 Hey folks quick question hopefully be a quick answer too... I built an ActiveX DLL Component to manipulate file...
1
by: tangus via DotNetMonster.com | last post by:
Hello all, I'm really struggling with getting some Active Directory code to work in ASP.NET. Can you please provide assistance? I am executing the following code: Dim enTry As DirectoryEntry =...
4
by: ianyian | last post by:
hi experts, im doing some staff bween th the aspx + MS Word.chellcheck, and and which running on my ypc is no problem ( windows xp , activation by ASPNET ), buts someshow when i try to deploy to...
122
by: Edward Diener No Spam | last post by:
The definition of a component model I use below is a class which allows properties, methods, and events in a structured way which can be recognized, usually through some form of introspection...
0
by: fblake | last post by:
FOR IMMEDIATE RELEASE Active Up expands ever popular product line Active Web.Controls 2007 V1, Active Cells V2 and Active AutoSuggest V1.0 Belgium (February 2007): Active Up today released...
0
by: fblake | last post by:
Belgium (April 2007): Active Up today released the latest version of their .NET email component suite, ActiveUp.MailSystem. ActiveUp.MailSystem is the (r)evolution of the popular ActiveMail...
0
by: shorti | last post by:
We are running DB2 UDB 8.1 fp 14 on AIX using archival logging and online backups. I was running some disaster tests and found my database restore was not restoring to the latest active log. ...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.