Solved

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

Posted on 2006-07-07
9
323 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
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
Live: Real-Time Solutions, Start Here

Receive instant 1:1 support from technology experts, using our real-time conversation and whiteboard interface. Your first 5 minutes are always free.

 
LVL 2

Assisted Solution

by:rahulbagal
rahulbagal earned 125 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Vb.net 2008 2 59
change vba from autofit to 13.5 width? 4 29
VB6 ListBox Question 4 42
RUNRMTCMD from AS/400 12 44
I’ve seen a number of people looking for examples of how to access web services from VB6.  I’ve been using a test harness I built in VB6 (using many resources I found online) that I use for small projects to work out how to communicate with web serv…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

776 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