SdeConnect: Failed to connect. Connection error: #-102 是什么错误?
解决方案 »
- 用Jmail发送邮件时,如何验证接收方无法接收的情况。因尽管提示发送成功,但有多种情况不能到达对方,如何验证。
- 如何检测打印机状态
- 寻找第三方软件制作软件界面(XP界面化) 在线等待!!!!!!!!!!
- 关于软件加密的实现方法?
- 为什么我对数据库进行查询操作,总是Error:“超时已过期“ 大家帮帮我!!!!!!
- 请大家讨论:“应用程序自动升级软件 V1.0”要是用VB写,怎么实现?
- vb开发的预算软件,发行后,别的机器不能运行
- 文本文件的存储问题
- 请问知道TdataGride 7.0控件的用法?
- 各位高手,调用了CommonDialog.ShowPrinter怎么打印不了?---菜鸟
- datareport控件的 datafield '(empty)' not found 问题
- ■■■救命!!■■■运行时错误'5',无效的过程调用或参数
Screen.MousePointer = vbHourglass
' update the values for Server, Database, and Password
' for your particular SDE connection
With oConnection
.Server = "sde81:192.168.0.157" '"serverX"
.User = "SDE"
.Password = "sde" '"passwd"
.Database = "sde" '"DatabaseX"
If oConnection.Connect Then ' put the names of the sde layers into the listbox List1.Clear
For Each oGeoDataset In .GeoDatasets
List1.AddItem oGeoDataset.Name
Next oGeoDataset
Else
MsgBox "SdeConnect: Failed to connect. Connection error: #" & .ConnectError
End If
End With
Screen.MousePointer = vbDefault