Just a small Demo, which shows how to setup these kind of remote-services and -requests in as simple a manner as possible, using:
- a small WebServer of course, to get serverside http-protocol-support (here, cWebServer from the vbRichClient5-lib is used)
- a clientside http-COMponent (here, the MS-WinHttp-5.1 Object will be used)
- a transport-container-Object, which can be serialized to and from ByteArrays (we talk about ADODB.Recordsets here)
- and finally a simple RPC-call-scheme, which describes the serverside MDB-File in the http-URL - and the SQL-Select-String in the http-Body
..(then always returning an ADODB.Recordset, also in case of any Server- or Clientside Error)
All this is packed into a quite small CodeBase, which should be easy enough to study+understand.
Later "upgrading" to a "larger WebServer" (e.g. the MS-Internet-Information-Server, aka "IIS") can be done without much fuss,
e.g. from what I've already described here: https://www.vbforums.com/showthread....g-of-http-RPCs
The App looks this way:
![]()
And the Project-Source-Code is here:
MDBServer.zip
HTH
Olaf
- a small WebServer of course, to get serverside http-protocol-support (here, cWebServer from the vbRichClient5-lib is used)
- a clientside http-COMponent (here, the MS-WinHttp-5.1 Object will be used)
- a transport-container-Object, which can be serialized to and from ByteArrays (we talk about ADODB.Recordsets here)
- and finally a simple RPC-call-scheme, which describes the serverside MDB-File in the http-URL - and the SQL-Select-String in the http-Body
..(then always returning an ADODB.Recordset, also in case of any Server- or Clientside Error)
All this is packed into a quite small CodeBase, which should be easy enough to study+understand.
Later "upgrading" to a "larger WebServer" (e.g. the MS-Internet-Information-Server, aka "IIS") can be done without much fuss,
e.g. from what I've already described here: https://www.vbforums.com/showthread....g-of-http-RPCs
The App looks this way:

And the Project-Source-Code is here:
MDBServer.zip
HTH
Olaf