Foros del Web » Programación para mayores de 30 ;) » Programación General »

VB.....con INTERNET

Estas en el tema de VB.....con INTERNET en el foro de Programación General en Foros del Web. Que talca !!! alguien sabe como acceder a una Base de Datos Access,que esta en un Servidor de Internet, desde una aplicacion Visual Basic!! Please!!!...... ...
  #1 (permalink)  
Antiguo 07/01/2002, 07:55
 
Fecha de Ingreso: enero-2002
Mensajes: 2
Antigüedad: 22 años, 4 meses
Puntos: 0
VB.....con INTERNET

Que talca !!!

alguien sabe como acceder a una Base de Datos Access,que esta en un Servidor de Internet, desde una aplicacion Visual Basic!!

Please!!!......

Gracias....y..... chabela!!
----------------------------
  #2 (permalink)  
Antiguo 07/01/2002, 14:20
 
Fecha de Ingreso: mayo-2001
Mensajes: 452
Antigüedad: 23 años
Puntos: 1
Re: VB.....con INTERNET

Busca el codigo en www.vbcode.com es un "remote.dsn" o algo asi...
set cnnGeneric = new Connection
'
cnnGeneric.Open "Provider=MS Remote;" _
& "Remote Provider=MSDataShape;" _
& "Remote Server=http://www.eviciti.com;" _
& "Data Source=Products;" _
& "User Id=Distributor;Password=trythis1;"
'
set rsGeneric = new Recordset
'
With rsGeneric
.CursorLocation = adUseClient
.Open strQuery, cnnGeneric, adOpenStatic, adLockReadOnly
.ActiveConnection = nothing
End With
'

The crux of the connection lies in the connect string (duh!). You must
specify, the provider as "MS Remote" - notice the space in the keyword.
I then must provide the address to the "Remote Server". Note that I
could just as well have said "http://192.168.1.1";. "Data Source" is the
DSN you are trying to open on the server. User Id and Password are self
explanatory.
Atención: Estás leyendo un tema que no tiene actividad desde hace más de 6 MESES, te recomendamos abrir un Nuevo tema en lugar de responder al actual.
Respuesta




La zona horaria es GMT -6. Ahora son las 04:10.