就是一个asp用的控件。
客户端必须下载安装。
但问题是,你不应该做客户端的东西,而应该作成服务器端的CGI或ISAPI
如果真是在客户端用的访问数据库接口,那还不如直接App
和应用程序差不多的。
VC下的ISAPI我有,但VB的没有,查一下msdn

解决方案 »

  1.   


    I think it is better to do like this with out a special VB OCX.a ASP sample:
    ------------------------------------------------------------------
    <%@ language="VBscript" %>
    <object id="rs" progid="ADODB.Recordset" runat="Server"></object> 
    <% 
           Option Explicit
           Response.Buffer = true
           Dim strSQL,strConn       Response.ContentType="text/xml"
           Response.write "<?xml version='1.0' encoding='UTF-8'?>" 
           Response.Expires= 0        rs.LockType = 4   
           rs.CursorType = 1
           strSQL = "select 价格 from goods where name=textof物品的名字"
           strConn = "DSN=adotest;UID=;PWD=;DATABASE="
           rs.Open strSQL,strConn    
      
           'display 价格 here 
            rs.Close
    %>
      

  2.   

    就是呀,也可写成服务器端DLL呀