To open a URL ("Uniform Resource Locator") stored in a Sesame database, you would have programming which
would run @Shell( ). This would launch your web browser with the stored url passed as an argument separated by one space. @Shell is described in the PG on pages 111-113.
Example:
This is on-element-entry programming in the element named "URL" and contains the url of a website, eg
http://www.lantica.com/Support/KBase/sesame_faq.html (you can omit the "http://" bit). It assumes your browser is Internet Explorer and that it is located as shown.
var IEpath as String
var IEfailure as Int
IEPath = @Chr(34) + "C:\Program Files\Internet Explorer\IEXPLORE.EXE" + @Chr(34)
// The @Chr(34) wraps double quotes around the pathname of Internet Explorer
IF url <>"" THEN
IEfailure = @Shell(IEpath + " " + url)
IF NOT IEfailure = 0 THEN
@Msg("Couldn't open web browser")
// @Shell returns a 0 if it is successful, a 1 if it fails