Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2015-06

pack website to an executable

3 messages · 3 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

marius matei

Hello lazarus list,

I 'd like to create a program that can run a website packed on that executable.
The website will have only html +css+images .
The website will contain the documentation for a school project. Can you please give me a hint ?

Thanks in advance.
-- Marius

Reply by email

Péter Gábor
to marius matei

Hi!

I prefer THtmlPort (from lazarus-ccr) to show html/css/images from resources stored in the application. It is not fully up to date with html/css but if you won't do very special things it can be a good choice.

HtmlPort has a lot of common and html specific event handlers.

For example: OnImageRequest
On an image request you can pass the image via TMemoryStream from resource to the THtmlViewer

You can add resources to your application here: "Project / Project Options ... / Resources"

2015-06-20 12:31 keltez?ssel, marius matei ?rta:

Show quoted text 18 lines
Hello lazarus list, I 'd like to create a program that can run a website packed on that executable. The website will have only html +css+images . The website will contain the documentation for a school project. Can you please give me a hint ? Thanks in advance. -- Marius -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
P?ter G?bor

Reply by email

Graeme Geldenhuys
to marius matei: I 'd like to create a program that can run a website packed on that executable. The…
marius matei wrote
I 'd like to create a program that can run a website packed on that executable.

I don't fully understand "pack website". Do you mean having an executable that also runs an embedded web server? Or do you simply mean an application that can view & display HTML files from a website (eg: mini web browser)?

If you want to include application help with your application, why not simply us CHM (viewable with many viewers) or INF (viewable with DocView).

Regards,
- Graeme -

fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/

Reply by email