关于用COM来开发DOMINO客户端的问题?

hqywork 2006-09-04 07:24:49
用COM,怎么来获取所有用户/组的信息呀?
...全文
496 10 打赏 收藏 转发到动态 举报
AI 作业
写回复
用AI写文章
10 条回复
切换为时间正序
请发表友善的回复…
发表回复
东东 2007-03-07
  • 打赏
  • 举报
回复
http://www-128.ibm.com/developerworks/lotus/library/ls-COM_Access/
这是VB+COM的例子。可以看看。嘿嘿。
东东 2007-03-07
  • 打赏
  • 举报
回复
上面是C++ Toolkits的英文说明文档。看晕了。不过还可以,结合里面的代码,还可以勉强看明白。
东东 2007-03-07
  • 打赏
  • 举报
回复
http://www-12.lotus.com/ldd/doc/tools/cplus/3.0/lncpp30.nsf
陆君风 2006-09-12
  • 打赏
  • 举报
回复
希望Domino方面的高手和想朝Domino个方向发展的朋友能在此开心交流,也允许招聘Domino的公司来此寻找人才,群号码:27574154
hqywork 2006-09-10
  • 打赏
  • 举报
回复
能给个地址吗?我在IBM上找不到
YuLimin 2006-09-09
  • 打赏
  • 举报
回复
看Lotus API C/C++ Toolkit
zhangletao 2006-09-07
  • 打赏
  • 举报
回复
恩。 notes只提供一个静态库,必须要装notes客户端才能做
cgs1999 2006-09-06
  • 打赏
  • 举报
回复
刚做过相关的应用,将相关要点介绍给你

1 必须安装Domino或Notes,并引入Lotus Domino Objects
2 以下为VB例子
Dim ss As New Domino.NotesSession
Dim db As New Domino.NotesDatabase
Dim view As NotesView
Dim doc As NotesDocument
ss.Initialize
'若使用用户名和密码访问
'ss.InitializeUsingNotesUserName <访问用户>, <访问密码>
Set db = ss.GetDatabase("<服务器地址>", "names.nsf")
If Not (db.IsOpen) Then
Msgbox "无法打开数据库"
Exit Sub
End If
Set view = db.GetView("People")
If view Is Nothing Then
Msgbox "视图不存在"
Exit Sub
End If
Set doc = view.GetFirstDocument
While Not (doc Is Nothing)
Set doc = view.GetNextDocument(doc)
Wend

Set doc = Nothing
Set view = Nothing
Set db = Nothing
Set ss = Nothing

3 可参考文章《Common ground: COM access to Domino objects》
http://www-128.ibm.com/developerworks/lotus/library/ls-COM_Access/
陆君风 2006-09-06
  • 打赏
  • 举报
回复
希望Domino方面的高手和想朝Domino个方向发展的朋友能在此开心交流,也允许招聘Domino的公司来此寻找人才。群号码:27574154
loadagain 2006-09-06
  • 打赏
  • 举报
回复
建立会话,取得数据库,(取得相应视图)取得相应文档,取item值

536

社区成员

发帖
与我相关
我的任务
社区描述
企业开发 Exchange Server
社区管理员
  • 消息协作社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

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