Description | Uses | Classes, Interfaces, Objects and Records | Functions and Procedures | Types | Constants | Variables |
RbwInternetUtilities
provides a number of cross platform routines useful in accessing the internet.
Name | Description |
---|---|
Class EInternetConnectionError |
function LaunchURL(var BrowserPath: string; const URL: string): boolean; |
function DefaultBrowserPath: string; |
procedure CloseBrowser(BrowserName: string); |
function FileNameToURL(const FileName: string): string; |
function FindFiles(const Path, Mask: string; IncludeSubDir: boolean; const Files: TStringList): integer; |
function ReadInternetFile(const URL_String: string; const Lines: TStringList; const AppName: string): boolean; |
function LaunchURL(var BrowserPath: string; const URL: string): boolean; |
LINUX Browser just needs to be the name of the web browser. The full path isn't required if the web browser is on the path. If no Browser is specified (Browser = ''), htmlview will be used which should start the default Browser. Any of the following should work. Launch('mozilla', 'http://www.kylix-patch.de.vu/'); Launch('konqueror', 'http://www.kylix-patch.de.vu/'); Launch('nautilus', 'http://www.kylix-patch.de.vu/'); Launch('galeon', 'http://www.kylix-patch.de.vu/'); Launch('netscape', 'http://www.kylix-patch.de.vu/'); Launch('htmlview', 'http://www.kylix-patch.de.vu/'); Launch('', 'http://www.kylix-patch.de.vu/'); WINDOWS BrowserPath should either be the full path of the web browser or it should be '' to use the default web browser. |
function DefaultBrowserPath: string; |
|
function FileNameToURL(const FileName: string): string; |
|