Jason first thing to check (I dont have the time) is is there a
Webbrowser.loadfromresource call available? If not, then this idea is a
waste of time.
Also, it is not common practice to make HTML resource. There is not reason
why not, it just isnt usually done.
I will show you how to make a resource using BRCC32 <myres.rc>
but I dont know what TYPE you would give the html code eg for icon a RC file
would be something like:
//filename miniicon.rc. Use text editor and do similar to below but with
your HTML files
//eg frame1
//use UPPERCASE
PREVARR ICON DISCARDABLE "prevarr.ico"
^^ ^^
The ^^ are the types which I dont know for HTML.
I continue with icon and how to use it, which you may be able to relate to
html. If you figure it out let us know pse:
//insert here
implementation
{$R *.DFM}
//say you called your RC file miniicon.rc then BRCC32 would name the
Resource 'miniicon.res'
{$R miniicon.RES}
//load ther resource (calls differ with different resources) - usually in
formcreate
//note the prevarr now relates to prevarr.ico
RxTrayIconPrev.Icon.Handle := LoadIcon(hInstance, 'PREVARR');
// now u can use, but dont forget to free them (:-)
> How do I make an HTML Resource file using delphi and how do I call it from
> code, I am wanting to use the TWebBrowser component and html
> forms within my
> application.
>
> Thanks in advance
> Jason Coley
>
> ------------------------------------------------------------------
> ---------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
>
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz