|
-
November 24th, 1999, 02:02 AM
#1
VB6 is this possible?
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 executale?
(whenever I use the make project1 exe. the only thing that is made into an exe. is the web browser. I need to know how to add the information from the floppy)
Any help is greatly appreciated,
James
[email protected]
-
November 24th, 1999, 04:05 AM
#2
Re: VB6 is this possible?
Hi,
The only way is to copy your website into a folder you'll create in the install directory of you application. You will have to replace your paths into you application by paths beginning by App.Path.
e.g your page was on your floppy disk and was called index.html.
Create a directory where your app is installed, e.g. if your app is in "C:\VB\MyApp\", then create "C:\VB\MyApp\MySite"
Copy your web pages in it.
Replace all your paths like the follwing :
If your path was : MyPath = "A:\Index.html"
then replace it by MyPath = App.Path & "\MySite\Index.html"
Of course, if you create an install package of your application, don't forget to include your directory and you site in it.
Regards.
Hastur
-
November 24th, 1999, 05:26 AM
#3
Re: VB6 is this possible?
Thank you! I'll try it out.
James
[email protected]
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
|