Solved

How to create Instance of ActiveX EXE from Remote machine.

Posted on 2002-05-21
5
278 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
[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
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

Industry Leaders: 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

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
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…
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…

691 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