473,396 Members | 1,998 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,396 software developers and data experts.

Create user control library in standard edition

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
2 1533
"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
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Shashikant Khandelwak | last post by:
Hi ! I am trying to install oracle 9i Standard edition on a windows 2000 SP4 machine. I get through the entire installation up to running the Database Configuration Assistant. While it tries to...
11
by: Mr. B | last post by:
I've an application in which I use to check out the date/time stamp of a data base... and if I find that it has been updated, my application runs and does a particular update. Currently I fire...
7
by: Bil Muh | last post by:
Esteemede Developers, I would like to Thank All of You in advance for your sincere guidances. I am developing a software using Visual C++ .NET Standard Edition with Windows Form (.NET)...
10
by: robwharram | last post by:
Hi, I'm quite frustrated in the fact that I can't even display a simple "Hello World" message on .Net. I've been through all of the groups and searched all over the place and haven't been able...
2
by: Jos | last post by:
Maybe this subject is off-topic in this newsgroup, but I can't find a group about Visual Basic Standard Edition. My training book instructs me to create a new class library inside my solution...
3
by: gg | last post by:
My standard version of dotnet 2003 basic does Not have vbc.exe have class library template produce dll when outputtype is changed to classlib for .vbproj it seems that standard version is not...
12
by: pantagruel | last post by:
Hi, I'm thinking of making a WScript based JavaScript library, I can think of some specific non-browser specific scripting examples that should probably make it in, like Crockford's little...
2
by: Carl Johansson | last post by:
I'm trying to learn how to create a user control. As far as I can understand, Visual Studio contains a template named "Windows Control Library" to this end. However, this template is missing when I...
4
by: Kerem Gümrükcü | last post by:
Hi, the topic of this thread implies the question. Why does this happen. What can i do against it. App runs in admin context, then ii switch to user standard user context and open a form with...
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
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: 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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.