Visual Basic 6

The source code for a Visual Basic program that uses Pocket XML-RPC (http://www.pocketsoap.com) to talk to the camera is included in the ExampleCode\vb directory.

Example:

set f = CreateObject("pocketXMLRPC.Factory")
set p = f.Proxy("http://camera/cgi-bin/rpc", "le.")
set v = p.version()
set e = p.get("exposure")
set r = p.set("exposure", e+10)

To transfer images, straight HTTP works considerably faster than XML-RPC

set req = CreateObject("pocket.HTTP")
set res = req.GetResponse("http://camera/cgi-bin/nph-image.jpg", "")