PDA

View Full Version : executable html


mike's ugly dog
01-22-2003, 07:29 PM
this is a stupid question.

how would i go about creating an executable file that would load an HTML file?

cg9com
01-22-2003, 07:39 PM
*pretends to move thread to computer programming section*
<edit>no there really is a computer programming section</edit>

mike's ugly dog
01-22-2003, 08:38 PM
is my question beyond anyone here then?

Borgtex
01-22-2003, 11:43 PM
There are programs that can pack the HTML (or an entire site) in a exe file. Just do a search on google

Spookster
01-23-2003, 12:00 AM
Originally posted by mike's ugly dog
this is a stupid question.

how would i go about creating an executable file that would load an HTML file?

Are you referring to burning a site to CD and having the homepage opened in the browser when the CD is inserted?

mike's ugly dog
01-23-2003, 12:04 AM
Originally posted by Spookster
Are you referring to burning a site to CD and having the homepage opened in the browser when the CD is inserted?
yeah, sort of

mike's ugly dog
01-23-2003, 12:15 AM
here's what i have planned and what i have accomplished so far.

as Borgtex suggested, i went and found a program that can compile an html file into an executable.

i'll compile an html file that is set up to load a smaller browser window (and from there you have all the content).

the exe file will be set as an autorun file. the entire project will be burned to a CD.

if anyone has a better or cleaner way of approaching this, i'd be open to the suggestion.

Tails
01-23-2003, 08:09 PM
I think you can autorun a BAT file on the CD, but I haven't tried that. Or some kind of autorun shortcut. That's the only problem, right? When you said executable HTML, that gave me the impression that you'd get from the idea of SFX archives -- to extract on machines that don't have a program to extract from that kind of archive. For instance, a portable browser?

mike's ugly dog
01-23-2003, 11:30 PM
i don't need to have a portable browser for this; having the program call upon MIE or Netscape will suffice.

i don't know an awful lot about HTML (as you might have already guessed); would someone know the kind of script i'd need that would first open up a new window that's smaller and has no tool bar, location, directories, status, menu bar, scroll bars, and is not resizeable, and also closes the original browser window?

"learn javascript you freeloader!"

Borgtex
01-24-2003, 12:30 AM
I was thinking in SFX files too. Well, anyway two programs to autorun an HTML file

http://www.northcode.com/resources/utilities/run.html

http://asp.xcentrixlc.com/john/index.htm (look in creations - runshell) btw, this site is from John Krutsch

CRASH_OVERRIDE
01-24-2003, 09:33 PM
Aaah...
You need HTML Applications (HTA)
They only work in Windows and have the extension .hta, but they are treated and run just like an executable. The only difference is theyre written in HTML and other client-side web languages, and theyre not compiled.
Go here to learn more:
http://www.msdn.microsoft.com/library/?url=/workshop/author/hta/hta_node_entry.asp?frame=true