Link to home
Start Free TrialLog in
Avatar of bcp5190
bcp5190

asked on

How can i validate the DCOM?

How can i validate the DCOM object before i used it.
For Example:

Function CheckDCOMConnection(DcomObjectName)
  CheckDCOMConnection = False
  'or
  CheckDCOMConnection = True
Function End

How can i write above function so i can verify if the DCOM object is install and working properly, or all of the basic setup is fine on server.

Avatar of ataplin
ataplin

try and create the object on the server and trap any errors that are returned.

Andrew

e.g. Set x = CreateObject(DcomObjectName, Server:=myserver)

Avatar of bcp5190

ASKER

who would i know if dcom object is not regisred properly, server is not configured, server is not on, or timeout error.
only listining
ping
Avatar of bcp5190

ASKER

how can i ping or listen the dcom object?
can you show me a example.
Avatar of bcp5190

ASKER

can you please be more specify for listining and pinging.
bcp5190,

I just want to monitor the responses to this question, that's why I ping.

Sorry for the confusion.

Chandu
bcp5190,

Some of these questions have been open for some time, and our records show you logged in as recently as Jan 23, 2002. Please resolve them appropriately as soon as possible.

https://www.experts-exchange.com/jsp/qShow.jsp?ta=osgen&qid=20250789
https://www.experts-exchange.com/jsp/qShow.jsp?ta=win2k&qid=20224108
https://www.experts-exchange.com/jsp/qShow.jsp?ta=win2k&qid=20224027
https://www.experts-exchange.com/jsp/qShow.jsp?ta=win2k&qid=20218730
https://www.experts-exchange.com/jsp/qShow.jsp?ta=msoffice&qid=20249772
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20255121
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20250781
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20248828
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20247239
https://www.experts-exchange.com/jsp/qShow.jsp?ta=mssql&qid=20244374
https://www.experts-exchange.com/jsp/qShow.jsp?ta=java&qid=20189160
https://www.experts-exchange.com/jsp/qShow.jsp?ta=javascript&qid=20241876
https://www.experts-exchange.com/jsp/qShow.jsp?ta=javascript&qid=20187022
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20249686
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20248047
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20246855
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20246318
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20244409
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20242375
https://www.experts-exchange.com/jsp/qShow.jsp?ta=visualbasic&qid=20093765
https://www.experts-exchange.com/jsp/qShow.jsp?ta=asp&qid=20249476
https://www.experts-exchange.com/jsp/qShow.jsp?ta=asp&qid=20158800
https://www.experts-exchange.com/jsp/qShow.jsp?ta=html&qid=20235587
https://www.experts-exchange.com/jsp/qShow.jsp?ta=iis&qid=20186130

Thanks,

Netminder
Community Support Moderator
Experts Exchange
ASKER CERTIFIED SOLUTION
Avatar of Netminder
Netminder

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Force/accepted by

Netminder
Community Support Moderator
Experts Exchange