Re: Getting into ActiveX Control
You may want to start by reading this book:
"Beginning ATL3 COM Programming" by Dr Richard Grimes
et al, Wrox Press
When you create your ATL project be sure to uncheck the
attributed ATL box and then ATL7 is just like ATL3. (There
is a very good reason not to use attributed ATL BTW - the
generated code is buggy.)
Normally I wouldn't advise starting directly with ATL though.
I'd normally advise reading an intriductory COM book first:
"Inside COM" by Dale Rogerson, MS Press
--
=====================================
Alexander Nickolov
Microsoft MVP [VC], MCSD
email: agnickolov@mvps.org
MVP VC FAQ: http://www.mvps.org/vcfaq
=====================================
"kicken" <kicken@gmail.com> wrote in message
news:1160496922.480191.172740@i42g2000cwa.googlegroups.com...
Hi
I need to build an ActiveX control for use in a web page in Internet
Explorer for a project I'll be working on. I've never done any work
with ActiveX or COM or anything of the sorts. I barely even know what
the terminology is.
From what I've been able to find out by searching, ATL seems to be the
prefered method of creating an activex control. I haven't been able to
find any information about creating one for use in internet explorer
though. Most of what I find for examples just talks about createing a
new project in <insert various ide> and clicking a few buttons,
checking a few boxes, compile and run. These don't do me any good
because I'm not using the IDE they are, and the code it generates isn't
explained.
What I'd like to know is what sites or books I can go to or get that
would help out with getting me started in this whole thing. All I
really need is some small example code that loads a control in IE
showing something like a button and some text. Something simple with
easy to understand code and some kind of an explination. If someone
would have time to create something like that I would very much
appricate it. Otherwise a push in the right direction would be nice
to.
In case it helps, what I am using is Visual Studio .NET 2003, and IE 7.
Thanks
Keith