Can't create object!Why?(about DCOM VB)

dwei 2002-03-22 04:41:15
I create a ActiveX EXE or ActiveX DLL project as Server
and add function or sub in class.
Then i create a standard EXE project as Client,
i use New or CreateObject method to create object of Server class,
run it,OK.
after i setup client on other machine,running it,ERROR!
"Can't Create Object!",Why?
I find the way from MSDN and do it step by step.
...全文
47 6 打赏 收藏 转发到动态 举报
写回复
用AI写文章
6 条回复
切换为时间正序
请发表友善的回复…
发表回复
zhanghb_cn 2002-07-24
  • 打赏
  • 举报
回复
you should use

createobject("object.class",servername)
water_j 2002-03-22
  • 打赏
  • 举报
回复
up!
ferrytang 2002-03-22
  • 打赏
  • 举报
回复
你的客户端有没有dll?
shawls 2002-03-22
  • 打赏
  • 举报
回复


is publicnotcreate

dwei 2002-03-22
  • 打赏
  • 举报
回复
Thank you for your response!
But your answer is not right.
I want to use DCOM to connect remote machine,
and i had inputed remote server IP address
when i installed client program.
And i also use dcomcnfg.exe to configure server DLL or EXE
to let everyone can access this server.
in client machine,i use dcomcnfg.exe and can see my server,
it is seted as remote server.
well,my Server:WIN98+MTS.
ferrytang 2002-03-22
  • 打赏
  • 举报
回复
你的客户端上没有注册服务端的组件!

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧