• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 283
  • Last Modified:

How to create Instance of ActiveX EXE from Remote machine.

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
dashish
Asked:
dashish
1 Solution
 
smeggheadCommented:
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
 
falconewCommented:
ping
0
 
gkollarCommented:
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
 
DanRollinsCommented:
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
 
SpideyModCommented:
per recommendation

SpideyMod
Community Support Moderator @Experts Exchange
0

Featured Post

[Webinar] Cloud and Mobile-First Strategy

Maybe you’ve fully adopted the cloud since the beginning. Or maybe you started with on-prem resources but are pursuing a “cloud and mobile first” strategy. Getting to that end state has its challenges. Discover how to build out a 100% cloud and mobile IT strategy in this webinar.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now