Creating OCX?

B

Brian Mitchell

How do you create an ActiveX control using Visual Studio .NET? I have
successfully created a Windows Control Library project but that only creates
a .dll and when I register it (using regasm) it doesn't show up in my
references and when I try to add it to the toolbox I get "It was not
recognized as a COM server."

Thanks!!
 
A

Armin Zingler

Brian Mitchell said:
How do you create an ActiveX control using Visual Studio .NET? I
have successfully created a Windows Control Library project but that
only creates a .dll and when I register it (using regasm) it doesn't
show up in my references and when I try to add it to the toolbox I
get "It was not recognized as a COM server."

You can not create OCX controls in .NET.


--
Armin

How to quote and why:
http://www.plig.net/nnq/nquote.html
http://www.netmeister.org/news/learn2quote.html
 
D

Dick Grier

Hi,

No. If you want an OCX, you must use VB5/6 (or Visual Studio earlier and
C++ or the equivalent in other languages).

Dick

--
Richard Grier (Microsoft Visual Basic MVP)

See www.hardandsoftware.net for contact information.

Author of Visual Basic Programmer's Guide to Serial Communications, 3rd
Edition ISBN 1-890422-27-4 (391 pages) published February 2002.
 

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

Top