Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Where is The ActiveX Control Test Container?

738 views
Skip to first unread message

Larry Lindstrom

unread,
Aug 12, 2009, 8:12:44 PM8/12/09
to
Hi Folks:

Developing on XP Pro, VS 2008 Pro, WIN32, no MFC.

I'm trying to get into some COM development, and I'm starting with
MS's polygon example at

http://msdn.microsoft.com/en-us/library/599w5e7x%28VS.80%29.aspx

The idea is to learn about com and ATL at the same time.

I've gone through the first 3 sessions, and in it's time to test
what I've been doing in session 4. I'm instructed to test what I've
done by slicking "ActiveX Control Test Container" in the tools menu.

There is no ActiveX Control Test Container in the tools menu.

I've looked around, and tried to follow the instructions in the
help system, which does have an entry for this topic, but haven't had
any luck finding it in VS's samples and getting it running.

How do I get the ActiveX Control Test Container onto my toolbox
menu?

Or is this all obsolete, and should I be looking at other
approaches?

Thanks
Larry.


ScottMcP [MVP]

unread,
Aug 12, 2009, 11:00:27 PM8/12/09
to
On Aug 12, 8:12 pm, Larry Lindstrom <larryl_tu...@hotmail.com> wrote:
>    How do I get the ActiveX Control Test Container onto my toolbox
> menu?

It was included in VS2005, if you have that. In VS2008 you have to
build it yourself. It is located at:

C:\Program Files\Microsoft Visual Studio 9.0\Samples
\1033\AllVCLanguageSamples.zip\C++\MFC\ole\TstCon

Larry Lindstrom

unread,
Aug 13, 2009, 2:36:47 PM8/13/09
to

Thanks Scott:

I don't use MFC and I've never built or used OLE in my own apps.
So I'm not familiar with the process.

VS's help page for ActiveX Control Test Container directs me to a
page about TSTCON. This page includes the following directions:

To build and run the TSTCON sample

1. Open the solution tstcon.sln.

2. On the Build menu, click Build Solution.

3. Run the test container application as a stand-alone
application so it can register itself with the system.

I've expanded that zip into a directory under All Users\Shared
Documents.

I open the solution and click on Build Solution:

1>------ Skipped Build: Project: TCProps ------
2>------ Skipped Build: Project: TstCon ------

The Start Debugging and Start Without Debugging entries in the
debug menu are grayed out.

What now?

Larry

0 new messages