Solved

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

Posted on 2006-07-07
9
321 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
  • 3
  • 2
9 Comments
 
LVL 13

Accepted Solution

by:
jmundsack earned 125 total points
Comment Utility
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
Comment Utility
DCOMCNFG.EXE doesn't do this in simple way for me?
0
 
LVL 13

Expert Comment

by:jmundsack
Comment Utility
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
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 2

Assisted Solution

by:rahulbagal
rahulbagal earned 125 total points
Comment Utility
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
Comment Utility
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
Comment Utility
I'm sorry - my email changed and I forgot to change it here.
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
When trying to find the cause of a problem in VBA or VB6 it's often valuable to know what procedures were executed prior to the error. You can use the Call Stack for that but it is often inadequate because it may show procedures you aren't intereste…
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

744 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

18 Experts available now in Live!

Get 1:1 Help Now