Simple Active-X, how-to

  • Thread starter Thread starter Morten Snedker
  • Start date Start date
M

Morten Snedker

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
 
Hello,

You might want to check out this section of the documentation:

Control Authoring for Windows Forms
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconControlCreation.asp


...and try this walkthrough:

Walkthrough: Authoring a User Control with Visual Basic .NET
http://msdn.microsoft.com/library/en-us/vbcon/html/vbconwalkthroughcreatingc
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 <[email protected]>
| Subject: Simple Active-X, how-to
| Date: Thu, 20 Jan 2005 18:45:45 +0100
| Message-ID: <[email protected]>
| 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!TK2MSFTNGP08.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
|
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top