Click to See Complete Forum and Search --> : making EXE.


November 25th, 1999, 07:41 PM
I made a simple web browser which displays a website which is located on a floppy disk it works very nice during run time. My question is how can I make an executable so the website on the floppy is included in the executable?

I have also tried creating a website folder in my application directory on C drive, and used App.Path & "\Mysite\default.htm" as my statement to connect it. This also works great during run time but when I make it into an EXE. the only thing it makes is the webbrowser.

What am I doing wrong or is this something VB6 can't do? Know of any downloadable examples or books to help me?

Thanks in advance,
James
cjbox@msn.com

Ravi Kiran
November 26th, 1999, 04:53 AM
You dont need it in the executable.

ALl that you would need is a good steup program, which will combine the executable and this html file.

A setup is different from executable!!.
I thing even the setup wizard is good enough for your case.

WHen you create a setup, at some point, it allows you to select more files and add by hand. AT this point, you browse the folder, and add the html file to it.

Or if you want to rally include the file in the exe, check if you can add it as a resource!. The you need to write another function, which will un-bundle it and write to the disk, on first run of the program.!!
If not possible to add as a resource, then anyway since html is just ascii , put all the contents into a "heap-big-array" and on the first run, write the array to disk.. ...


RK