Hey - not entirely sure which section this should be in (ASP.NET/VB.NET), but here goes...
I'm trying to set up a system whereby a distributable client connects to a central online server which hosts a database. The client then retrieves the relevant data and displays it in the window. The (Access 2007) database has been created and is successfully being hosted (localhost for now, IIS 7). Connecting a web-page to a local database with ASP.NET isn't a problem.
However, I've tried every which way to connect to an online database in the client-app with VB, with ADODB, SQL, ODBC etc.
That said, I read somewhere in my searching that it's possible to set up an ASP.NET page to retrieve the data then pass it on to the client. I've got the ASP.NET page ready (I think), but how can this connect with the client? I'd prefer not to bother with:
Dim myAddress As String = "http://localhost/db/My_DB_Readout.aspx"
Dim UWebRequest As Net.HttpWebRequest
Dim UWebResponse As Net.WebResponse
UWebRequest = System.Net.HttpWebRequest.Create(myAddress)
UWebResponse = UWebRequest.GetResponse()
UFileReader = New System.IO.StreamReader(UWebResponse.GetResponseStream)
as I need two-way access - both reading from the DB and writing new or modified data to it.
Any ideas?
Thanks in advance,
icemclean.