Questions about an ActiveX exe example


I am working through the microsoft msdn activeX example in this link. Two questions:

1) When I create the activeX exe, shouldn't I see "coffee.exe" running in the task monitor when the activeX exe is instantiated? It seems to work, but I don't see anything in the task monitor.

2) in this link

The show two references to the "coffee monitor component", but mine only shows one. Why the difference? Is it important if there is only 1 reference?

Christopher ScheneSystem Engineer/Software EngineerAsked:
Who is Participating?
DimkovConnect With a Mentor Commented:
activeX controls are meant to be used by another applications, and this is the reason why most of them are put in dll's or ocx's.
However, if you decide to use it in exe, you need another program that will call it.
The task monitor shows only the current open tasks, and in this case it should show you the main program you are running, not the activeX exe file
for the second question, can you post exactly where the problem is, because you have given us the same link twice and it is quite a big page :)
Hope i was from any help, Dimkov
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
Updated points
chandursConnect With a Mentor Commented:
1) You can only Use (run/execute) ActiveX exe by referencing that in another another project

2) Are they referencing to the same file and location. when you place click on the reference you can find the name including path at the bottom
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
I have actually decided to use a differnt approach: I will use an execitable and DDE to communicate to it

I will close this question

Tank you for your response
Christopher ScheneSystem Engineer/Software EngineerAuthor Commented:
On second thought: Is it possible to move this to the VB topic area?

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.