Solved

Questions about an ActiveX exe example

Posted on 2006-06-25
5
335 Views
Last Modified: 2013-11-25
Hi,

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

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconcreatingoleserver.asp

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

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbcon98/html/vbconcreatingoleserver.asp

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?

0
Comment
Question by:cschene
  • 3
5 Comments
 

Author Comment

by:cschene
ID: 16986198
Updated points
0
 
LVL 3

Accepted Solution

by:
Dimkov earned 200 total points
ID: 16990345
cschene,
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
0
 
LVL 1

Assisted Solution

by:chandurs
chandurs earned 200 total points
ID: 17003670
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
0
 

Author Comment

by:cschene
ID: 17115120
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
0
 

Author Comment

by:cschene
ID: 17127635
On second thought: Is it possible to move this to the VB topic area?

Thanks.
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
mapBully challenge 6 114
create an incrementing variable name AutoHotKey 5 78
wordcount challenge 11 107
tidtcpserver connection lost handle 2 71
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
A short article about a problem I had getting the GPS LocationListener working.
The viewer will be introduced to the member functions push_back and pop_back of the vector class. The video will teach the difference between the two as well as how to use each one along with its functionality.
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

920 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now