i think the scenario is like this:
database -> web -> vb app
database <- web <- vb app
in this case, you cannot make a direct ado connection to the database because the data has to pass through the web platform (id assume iis). to pass data and retrieve data to and from the database you need to code a script at the web platform.
at the web platform (id assume you know asp) create the following:
a) a listening code -
listen.asp that reads a querystring and passes it to the databases (e.g. listen.asp?name=rcaluste&id=10)
the code for the listen.asp could be:
<% set conn = server.createobject("adodb.connection)
rs.open mytablename, conn
rs.addnew
rs!name = request.querystring("name"

rs!id = request.querystring("id"

rs.close
set rs = nothing
conn.close
set conn = nothing
%>
b) a relay code -
relay.asp queries the database and persists the recordset as an xml file to the response stream. the vb app can then open the stream and convert it back to a recordset.
for your vb app you can use the internet transfer control:
e.g. pass data to the database
inet1.openurl("
& varname & "&id=" & varid)
to get data from a database
varXmltoRS = inet1.openurl("
convertXMLtoRS(varXmltoRS)*
refer to the Microsoft Knowledge Base article on Convertin an XML stream back to Recordset for further information.
hope this helps.
arcanist