?
Solved

How do I call an activex.exe remotely from an activex.dll?

Posted on 2006-07-07
9
Medium Priority
?
331 Views
Last Modified: 2008-03-03
I have a VB6 activex.dll that references an vb6 activex.exe.  Works like a champ with both on my develpement machine.

When I install, I will need to put the activex.exe on a remote machine because it will open an application residing only there.  How do I register the exe so that my dll finds it?

Thanks.
0
Comment
Question by:RItoNC
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
9 Comments
 
LVL 13

Accepted Solution

by:
jmundsack earned 500 total points
ID: 17060432
This would be "DCOM" (Distributed COM), which is a very complicated technology.  Here is a link that will get you started on understanding DCOM:

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnanchor/html/dcom.asp?frame=true

HTH-Jon
0
 

Author Comment

by:RItoNC
ID: 17060571
DCOMCNFG.EXE doesn't do this in simple way for me?
0
 
LVL 13

Expert Comment

by:jmundsack
ID: 17060627
I tried this--once--and found that it's not nearly as simple as you might think.  Without a thorough understanding of Windows authentication and permissions, you could be in for an uphill battle--because much of the documentation I found for DCOM takes for granted that you have considerable understanding of these things.  But then again, it could be a slamdunk for you--I'm just going by my one experiment with it.  (Maybe someone who's had better luck with DCOM could step in here.)
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 
LVL 2

Assisted Solution

by:rahulbagal
rahulbagal earned 500 total points
ID: 17070815
you should use COM+ for this kind of Application
Check out the link for More about COM+
http://gsraj.tripod.com/com/basic_com/

Goto Administrative Tool in Control Panal
Use Component Services
 
Create New Com+ Application

Check out link
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncomser/html/vbmtsiis.asp





0
 
LVL 13

Expert Comment

by:jmundsack
ID: 17294784
It sounded like DCOM is what was needed, and I supplied a link to learn about DCOM, but wasn't much more help than that.  I think the answer about COM+ would also have worked (COM+ being a newer technology which, among other things, provides the same functionality as DCOM), but again was only a link.  If you don't hear from the asker, I suggest split the points.
0
 

Author Comment

by:RItoNC
ID: 17362344
I'm sorry - my email changed and I forgot to change it here.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Suggested Courses

762 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