By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
425,625 Members | 1,283 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 425,625 IT Pros & Developers. It's quick & easy.

Create user control library in standard edition

P: n/a
Hi all,

Thanks for Jim M and Herfried K Wagner first. I'd posted a question here
about building dll output file in standand edition. It works after changing
outputtype to "library". And now I want to know how to build ocx control ?
Anyone know how to do so? Please help. Thanks

Ellis
Nov 21 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
"Ellis Yu" <el******@transfield.com> schrieb:
Thanks for Jim M and Herfried K Wagner first. I'd posted a question here
about building dll output file in standand edition. It works after
changing
outputtype to "library". And now I want to know how to build ocx control ?
Anyone know how to do so? Please help. Thanks


Control libraries are basically the same as class libraries. Notice that
you cannot create OCX files using VB.NET, not even in the Professional
Edition (or "better"). Add a reference to "System.Windows.Forms.dll" (and
maybe some other DLLs you need) in your class library project and implement
your controls.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>

Nov 21 '05 #2

P: n/a
Ellis,
I think you have to use VB 6.0 to create an ocx. I found this answer when I
did a quick google search.

Is it possible to create an activex component using vb.net?

I need to make a component to be used by a Windows Scripting Host vb
script,
but wish to use some features available in vb.net for the component.

You can't create a COM component, but you can create a VB.NET component that
can be accessed through
a COM wrapper:

Exposing .NET Framework Components to COM
ms-help://MS.VSCC/MS.MSDNVS/cpguide/html/cpconexposingnetframeworkcomponentstocom.htm

Paul ~~~ pc******@ameritech.net
Microsoft MVP (Visual Basic)
"Ellis Yu" <el******@transfield.com> wrote in message
news:%2******************@TK2MSFTNGP11.phx.gbl...
Hi all,

Thanks for Jim M and Herfried K Wagner first. I'd posted a question
here
about building dll output file in standand edition. It works after
changing
outputtype to "library". And now I want to know how to build ocx control ?
Anyone know how to do so? Please help. Thanks

Ellis

Nov 21 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.