Hello,
You might want to check out this section of the documentation:
Control Authoring for Windows Forms
http://msdn.microsoft.com/library/en...olCreation.asp
...and try this walkthrough:
Walkthrough: Authoring a User Control with Visual Basic .NET
http://msdn.microsoft.com/library/en...roughcreatingc
ompositewfccontrol.asp
hope that helps
Steve Stein
VB Team
This posting is provided "AS IS" with no warranties and confers no rights.
--------------------
| From: Morten Snedker <mo****@dbconsult.dk>
| Subject: Simple Active-X, how-to
| Date: Thu, 20 Jan 2005 18:45:45 +0100
| Message-ID: <69********************************@4ax.com>
| X-Newsreader: Forte Agent 2.0/32.652
| MIME-Version: 1.0
| Content-Type: text/plain; charset=us-ascii
| Content-Transfer-Encoding: 7bit
| Newsgroups: microsoft.public.dotnet.languages.vb
| NNTP-Posting-Host: 0x503e528e.hsnxx2.adsl-dhcp.tele.dk 80.62.82.142
| Lines: 1
| Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFT NGP08.phx.gbl!TK2MSFTNGP09
.phx.gbl
| Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.languages.vb:254977
| X-Tomcat-NG: microsoft.public.dotnet.languages.vb
|
| Just for the sake of learning, I'm trying to make a simple Active-X in
| VB.NET.
|
| It should contain the MonthCalendar control, a date should be picked,
| and the Active-X control would return the date to the application
| using it.
|
| I've dropped the MonthCalendar on a form (using Windows Control
| Library - is this the right one?). And then what?
|
| Craeting simple windows app's I can do, but on this Active-X thing I'm
| quite lost. Could someone push me in the right direction with a simple
| example or link(s) ?
|
| Thx for any input as well as any time spent on this thread.
|
| Regards /Snedker
|