Jul 21st, 2007, 10:25 AM
#1
Thread Starter
New Member
[RESOLVED] Html To Exe
I need to make a project that take a html file and outputs it into a EXE File.
The outputted file must just have a web browser with the HTML that will be written from our builder
This project is mostly same as this source
Code:
http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=40144&lngWId=1
but can you please help me how to do that webbrowser thing.
It must take html and either write it to the webbrowser control of output file
Code:
webbrowser.document.write
or make a html file and write the refrence to output file
Code:
webbrowser.navigate2 app.path & "\file.html"
Please help me as soon as possible !!
Md.Ameenuddin Atif
Beginner Programmer
VB 6.0, PHP, HTML
Jul 21st, 2007, 12:29 PM
#2
Addicted Member
Jul 21st, 2007, 02:44 PM
#3
Re: Html To Exe
Here's an example I wrote real quick.
Attached Files
Jul 22nd, 2007, 01:02 AM
#4
Thread Starter
New Member
Re: Html To Exe
Originally Posted by
DigiRev
Here's an example I wrote real quick.
SuperB Code, thanks you very much for the code !!
However I need 2 more things 1 is urgent 1 is if you have some time to spare
Urgent is can you teach me how to write such kind of programs, (or how that code works) I did understand the propertbag thing.
Another is , is it possible to define custom icon for built exe.
Thanks once again
Md.Ameenuddin Atif
Beginner Programmer
VB 6.0, PHP, HTML
Jul 22nd, 2007, 02:02 AM
#5
Re: Html To Exe
Originally Posted by
cuteboyatif
SuperB Code, thanks you very much for the code !!
However I need 2 more things 1 is urgent 1 is if you have some time to spare
Urgent is can you teach me how to write such kind of programs, (or how that code works) I did understand the propertbag thing.
PropertyBag is used for custom controls. (It stores the control's properties. The ones you see in the property window).
It is an object and has built in methods for reading/writing properties. You can get the raw contents through the .Contents property.
This just writes the property bag (which contains the HTML) to the end of the EXE file. When the EXE file loads, it reads from itself and loads the HTML.
Originally Posted by
cuteboyatif
Another is , is it possible to define custom icon for built exe.
Thanks once again
Use the form's Icon property.
Jul 22nd, 2007, 02:07 AM
#6
Thread Starter
New Member
Re: Html To Exe
Thanks
Originally Posted by
DigiRev
Use the form's Icon property.
No not that one, can we change EXE Icon !!
Md.Ameenuddin Atif
Beginner Programmer
VB 6.0, PHP, HTML
Jul 22nd, 2007, 02:14 AM
#7
Thread Starter
New Member
Md.Ameenuddin Atif
Beginner Programmer
VB 6.0, PHP, HTML
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width