Solved

How to create Instance of ActiveX EXE from Remote machine.

Posted on 2002-05-21
5
272 Views
Last Modified: 2008-03-04
Hi,
I have created ActiveX EXE and registered it as server on machine (MC1) ,
With the help of its .VBR file I have registered it as client on other machine (MC2) and tried to create its instance on that machine (MC2).
 But I failed to create instance of ActiveX server on Machine (MC2) and got Error message 'Remote machine is not available'.

 If any one came across such type of technical situaction, Please drop their valuable suggestions.

 Thanking u in anticipation.

 Regards

 dAshish
0
Comment
Question by:dashish
5 Comments
 
LVL 10

Expert Comment

by:smegghead
ID: 7024000
Are you using the createobject command or are you adding it as a reference ??

I think somewhere in the .vbr file you have to edit the machine name..

Just a couple of suggestions..

Or is there a firewall preventing access ??

I've only ever done is using the syntax.

    Dim x As Object
    Set x = CreateObject("mylib.myclass", "myserver")
0
 
LVL 1

Expert Comment

by:falconew
ID: 7025858
ping
0
 
LVL 1

Expert Comment

by:gkollar
ID: 7026831
have you test that the compoment on the server side is correctly installed (depend file, registered), use a vbscript to test it.

if test ok so, have you use the switch -d with the clireg32.exe to use dcom and not remote automation, is not the same.

best regard from france
0
 
LVL 49

Expert Comment

by:DanRollins
ID: 7818320
Hi dashish,
It appears that you have forgotten this question. I will ask Community Support to close it unless you finalize it within 7 days. I will ask a Community Support Moderator to:

    Save as PAQ -- No Refund.

dashish, Please DO NOT accept this comment as an answer.
EXPERTS: Post a comment if you are certain that an expert deserves credit.  Explain why.
==========
DanRollins -- EE database cleanup volunteer
0
 

Accepted Solution

by:
SpideyMod earned 0 total points
ID: 7909835
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

ScreenConnect 6.0 Free Trial

At ScreenConnect, partner feedback doesn't fall on deaf ears. We collected partner suggestions off of their virtual wish list and transformed them into one game-changing release: ScreenConnect 6.0. Explore all of the extras and enhancements for yourself!

Question has a verified solution.

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

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…
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
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…

832 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