Updates
NewsProductsDownloadsSupportForumCredits

TEmbeddedWB 
History 
HtmlEdit 
TIEAddress 
TIEDownload 
TIEDownloadManager 
IEGuid 
TIEParser 
Favorites 
TIESecurityManager 
IE5Tools 
TIETravelLog 
TLinksBar 
Protocols 
TRichEditWB 
TWebUpdater 
ResourceTool 
UI - lessParser 
Delphi Links 
[Home][Support][TEmbeddedWB][Updates]


DialogsDownload OptionsEventsEvents OrderInterfaceMethods 1Methods 2Message HandlerMenus and shortcutsPrint OptionsPropertiesUpdatesZones & SecurityTWebBrowser Members A-LTWebBrowser Members M-ZTWebBrowser Methods


 

EmbeddedWB
until 2001
Updates

 


October 16, 2001 (ver. 1.16b):

Now compatible with Delphi 6. 


Three new events:

OnScriptError (Sender: TObject;    
                      ErrorLine, ErrorCharacter, ErrorCode, 
                      ErrorMessage, ErrorUrl: string;
                      var ContinueScript,  var Showdialog: Boolean) 



This eventhandler is called when EmbbeddedWB is about to display a script-error dialogs. You receive the error-message and other information about the script-error and can determine if you want the dialog to be shown or not. You can also discontinue running of scripts on the page. 

OnRefresh (Sender: TObject; CmdID: Integer; var Cancel: Boolean);

Called when user has invoked a refresh of the page, either by calling Embeddedwb.refresh, from the context-menu or by pressing F5.

CmdID can have one of the following values: 


IE_REFRESH_CONTEXTMENU : refresh called from contextmenu.
IE_REFRESH_F5 : refresh called with F5.
IE_REFRESH_COMMAND: Called Refresh or Refresh2.

You can cancel the refresh: Cancel:=TRUE;

NB: OnRefresh is not called if refresh is invoked from script.


OnUnload (Sender: TObject);

Called when Embeddedwb is about to unload a page. If you connect sinked event-objects to the webbrowser, you may find OnUnload to be the best place to disconnect.


The three events involves implementation of IOLECommandTarget in EmbeddedWB. It has not yet been fully tested, so please report errors.

If you don't want to run Embeddedwb with this implementation you can delete or change the compiler-directive (first line in embeddedwb.pas):

{$DEFINE USE_IOLECOMMANDTARGET}



Bugs fixed in function FrameCount 
(Thanks to Brian Lowe: http://groups.yahoo.com/group/delphi-webbrowser/message/4194)


Shell32-functions in IECONST now called dynamically, since some of the functions are not available in WIN95. (Thanks to Johannes Berg for bringing attention to the problem).

This version of Embeddedwb also implements IDochostUIHandler2 and the eventhandler  OnGetOverrideKeyPath. Any registry changes located at the registry path specified by this method override those located in HKEY_CURRENT_USER/Software/Microsoft/Internet Explorer. For more info:

IDocHostUIHandler2--GetOverrideKeyPath Method

 

January 14, 2001 (ver. 1.15):

This version includes a couple of the most requested features: DeleteIEHistory, DeleteIECache.

Also added: procedure GetThumbnail(var Image: TImage); You can call this method at any time (e.g. in OnProgressChange).

New property addded to printoptions, so it is possible to include HTML in header-files. (Similar to printout from Outlook Express).
 
Fixed Result in OnGetDropTarget, so the browser as default accept dropped urls. (Thanks, Christian)

Undocumented functions SHLockShared, SHUnlockShared and SHFreeShared is not available in Windows 95 and caused problems when loaded dynamically. Fixed in IEConst.

Fixed problem in procedure Hook (dynamically created instances caused AV if not destroyed in same order as they were created order).

You will need IECommon 1.01 to install Embeddedwb 1.15



July 27, 2000 (ver. 1.14):

DDE enhancements and Property UseDDE added to enable/disable DDE-fix for folder-navigation. (Thanks to Mathias Walter).

Fixed resource leak (TMargins, NavigatePidl).

DDE-fix for folder-navigation  now works on a non-toplevel form (Thanks to Mauro Castaldo for useful hints).

Moved function Loaded to Public.

Fixed subrange error in function Invoke.

Replaced IDochostUIHandler with IDocHostUIHandler2 and  added new Eventhandler  OnGetOverrideKeyPath for IE 5.5 users. It is never called if you use IE 5.0.

Added new IE 5.5 constants to IEConst (Thanks, Pete) and added ENABLE_INPLACE_NAVIGATION, IME_ENABLE_RECONVERSION to UserInterfaceOptions.

New Property fpExceptions to disable/enable 
floating-point exceptions. For more info, see discussion in the Delphi-Webbrowser Mailinglist, message 1472, message 1668 (Alexei Reatov) and message 2214 (Ian Bakker).

Utility functions moved to IEUtils. IEUtils is used by most components on this website.

Fixed bug in OnDropTarget. (Thanks to Christian Lovis).

 

May 13, 2000 (ver. 1.13):

EmbeddedWB no longer opens an instance of IE when it navigates in folders. See more info:

http://support.microsoft.com/support/kb/articles/Q189/6/34.ASP


(Thanks to Mauro Castaldo for help with declarations to the undocumented shell32 function calls).


New properties:

  PrintProperties: Portrait/landscape, margins, header, footer.
  ReplaceCaption: Replace caption on dialogs.
 
Useragent

New Events:

 
OnShowDialog


New Functions:

Frame functions:

GetFrame(FrameNo : Integer) : IWebbrowser2;
FrameCount : Integer;
SaveFrameToStream(FrameNo : Integer; AStream: TSTream);
SaveFrameToStrings(FrameNo : Integer; AStrings : TStrings);
SaveFrameToFile(FrameNo : Integer; FName : String);
LoadFrameFromStream (FrameNo : Integer; AStream : TStream);
LoadFrameFromStrings (FrameNo : Integer; AStrings : TStrings);


Replaced and removed properties:
 
UseHook
  SetPrintHeader

Fixed bugs:
  in Function Encode. (Thanks, Henri)
  in Downloadoptions.

 

January 23, 2000 (ver. 1.12):

Mathias Walter improved messagehandling code.

Access Violation on exit from application has been reported. It seems to be related to IE 5.01 128-bit after visiting pages with Scripts.
 

 

January 8, 2000 (ver. 1.11):

Mathias Walter has again improved the messagehandling. It fixes the accelerator-keys problem. With D5, it uses the browser window proc instead of the global message handler. With D4, the global message handler is still necessary.
See the Delphi-Webbrowser newsgroup for discussions about key-problems in TWebbrowser. 

New event Added: OnQueryClose. It's fired, every time a browser windows close procedure is called. Useful to prevent closing of the webbrowser from window.close-buttons etc. (Thanks to Mathias Walter).

Since must users have removed the default "Internet Explorer Components" package in Delphi 5 and replaced it with newer version of shdocvw_tlb.pas and mshtml_tlb.pas, the uses clauses in EmbeddedWB is changed from shdocvw to shdocvw_tlb. 



December 27, 1999 (ver. 1.10)

Property UseHook added. If TRUE your application.icon will be added to all dialogboxes and "Internet Explorer" or "Microsoft Internet Explorer" be replaced with your application.title. You can also use this feature to disable script-error dialogs by adding a single line of code.
(I have not tested this implementation much, but if it does not turn out to have unpredicted sideeffects (comments welcomed!) I will use it for adding extended print options (direction, copies, margins, header, footer etc) to coming versions of the component).

also added following functions:

ShowMailClient;
ShowNewsClient;
ShowAddressBook;
ShowCalendar; //If installed
ShowInternetCall; (Messenger) //If installed
PrintPreview; (IE 5.5 only)

OnQueryService; 

Created easy access to SecurityManager and ZoneManager objects. See Zones & Security for examples of use.

Updated constants and fixed bug in GetHostInfo.

December 1, 1999 (ver. 1.09)

Quick new update: All known bugs fixed in messagehandler(!!!) Big thanks again to Mathias Walter.
Also fixed the missing D4-compatibility in 1.08 and a stupid bug in function Invoke.

Changed Webpage Getting Started. Fix in D4 forms.pas no longer needed for messagehandling.

November 29, 1999 (ver. 1.08)

Messagehandling is the never ending Webbrowser-problem. The Delphi 5-fix did not fix much of the problem.
Thanks to Mathias Walther a new powerful messagehandler has been added to EmbeddedWB. There are still a few problems, but in my opinion the best messagehandler seen yet.

Thanks to Neil Moss for improving the code for Download Options. His code also gave me the idea to make it easier to set user interface (DOCHOST_UI_FLAGS).

Following functions has been added:

RegisterNameSpace(clsid : tguid);
UnRegisterNameSpace;
RegisterMimeFilter(clsid : tguid; mime: pwidechar);
UnRegisterMimeFilter(mime : pwidechar);

See utilities and Section APP for more info.

September 5, 1999 (ver. 1.07)

Updates for Delphi 5
Changed messagehandling (see Getting Started)

added webpage: Getting Started
Fixed bug in sample on OnGetHostInfo (Thanks Marino)

August 20, 1999 

Added  Tips & Tricks page

August 10, 1999 (ver. 1.06)

Added functions: (see Utilities)

function SaveToStream
function SaveToStrings
function SaveToFile
function LoadFromStream
function LoadFromStrings
procedure AssignDocument

Minor changes to:

Function Encode
Function Invoke
DownloadOptions
PageSetup

Added webpage: OnNewWindow2
Updates: Utilities
Changed samle in OnShowContextMenu

 

August 7, 1999 (Ver. 1.05)

Fixed bugs in:

IEMessageHandler (thanks, Gerard)
OnDropTarget (thanks, Suat)
Go (Thanks, Zareh)
SetFocusToDoc

Added webpage: OnShowMessage
Added sample to OnGetHostInfo


july 31, 1999 (ver. 1.04)

Changed code for messagehandling so Webbrowser can receive focus. 

Added procedure SetFocusToDoc. (see Utilities)

fixed bug in Zoomvalue (thanks, Chris)

Added property DownloadOptions and implemented Idispatch and handling of DISPID_AMBIENT_DLCONTROL in Idispatch.Invoke.

Added HtmlHelp ApiCall and property HelpFile for OnShowHelp.

Added Webpages: DownloadOptions and OnShowhelp

july 28, 1999 (ver. 1.03)

Added version for Delphi 5 (preview). In Delphi 5 is THTML replaced with MS Webbrowser.

Added helper-functions for Navigate2: StringtoVarArray, VarArraytoString and Encode.

 

 

[Home][News][Products][Downloads][Support][Forum][Credits]

Created   by
Per Lindsų Larsen

Copyright (c) 2005 bsalsa productions. All rights reserved.

bsalsa@bsalsa.no-ip.info