VB6远程调用ACTIVEX失败
在服务器的C盘建立了一个myserver文件夹,并设置为共享。里面放了一个VB6写的DLL,并注册。
在客户端的代码如下:
Dim obj As Object
Dim strsql As String
Dim con As ADODB.Connection
With con
.CursorLocation = adUseClient
End With
strsql = "select * from TABLE1"
Set obj = CreateObject("GetRecordset.clsGetRecordset", "\\192.168.88.221\myserver")
结果失败提示远程服务器不存在。各位帮忙。谢谢。