PC Review


Reply
Thread Tools Rate Thread

Create user control library in standard edition

 
 
Ellis Yu
Guest
Posts: n/a
 
      17th Nov 2004
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


 
Reply With Quote
 
 
 
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      17th Nov 2004
"Ellis Yu" <(E-Mail Removed)> 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/>

 
Reply With Quote
 
Jim M
Guest
Posts: n/a
 
      17th Nov 2004
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 ~~~ (E-Mail Removed)
Microsoft MVP (Visual Basic)


"Ellis Yu" <(E-Mail Removed)> wrote in message
news:%237N%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Windows 2003 Standard Edition VS R2 Standard Edition Diane Walker Microsoft Windows 2000 1 20th Feb 2007 06:38 PM
VS 05 Login Control and SQL Server 05 Standard Edition Scripts Rick Gamble Microsoft ASP .NET 0 30th May 2006 01:09 PM
Creating User Controls with Standard Edition carl.manaster@gmail.com Microsoft C# .NET 0 15th Dec 2004 07:52 PM
User session limits on Windows2003 srv Standard Edition =?Utf-8?B?UGluZw==?= Microsoft Windows 2000 0 26th Nov 2004 03:17 AM
move a user template into standard forms library ? =?Utf-8?B?Z2hhdGNoZXI=?= Microsoft Outlook Form Programming 1 17th Sep 2004 01:55 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:36 PM.