Solved

How to create Instance of ActiveX EXE from Remote machine.

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
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…

760 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now