There are several "standard" methods to accomplish this. Notice that even though the methods are "standard", most are also proprietary.
|CGI||A programming method where communications are via the standard input and standard output. CGI programs may be compiled or interpreted. This technique is common on Unix servers.|
|ISAPI||A dll interface definition (api) which allows IIS/PWC to call a compiled program. Once loaded, the dll stays in memory. This is a serious problem when debugging an application, but gives significantly better performance once everything works.|
|NSAPI||A dll interface definition (api) which allows the Netscape internet server to call a compiled program. (I don't use this.)|
|IDC/HTX||Microsoft's proprietary interface which they wish would go away. In my opinion, this is one of the easiest methods to use - the only server configuration is an ODBC definition. The 2 files are interpreted.|
|ASP||Microsoft's proprietary interface which replaces IDC/HTX. This allows full programming using VB script. The program is interpreted.|
MS Access 97
Yeah, it generates a "table", but each "row" is a separate table. And columns which don't contain data are simply omitted. The required amount of hand editing is unbelievable. Every cell has width and font tags. This really sucks.
However, saving a table to static html works pretty good.
Calling Web Pages
Dim html_string As String html_string = "http://someSite.com/Somepage.cgi?Parm1=v1&Parm2=V2" ' New Window, do not add to history Call FollowHyperlink(html_string, , True, False)However, the Post method, does not work . (Get generates a url with the syntax shown above.)
Dim html_string As String Dim Query_string As String Dim Header As String html_string = "https://somesite.com/results.cfm?xx=1000" Query_string = "Crit1_FieldName=item" & _ "&Crit1_Value=12345" Header = "Content-Type: application/x-www-form-urlencoded" & vbCrLf ' Display in a new Window, do not add to history Call FollowHyperlink(html_string, , True, False, _ Query_string, msoMethodPost, Header)
From the menu, select
Basic .dpr code for ISAPI application.
uses WebBroker, ISAPIApp, exports GetExtensionVersion, HttpExtensionProc, TerminateExtension;For more information, see Delphi CGI Web Server.