Solved

How to create Instance of ActiveX EXE from Remote machine.

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBA error replacing data 6 40
bit defender blocks good applications 2 101
Protecting vb6 & .Net code Obfuscation 18 151
Powerpoint 2013: Change cell reference in excel link 3 79
The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
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…
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…

839 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