CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    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]






  2. #2
    Join Date
    Nov 1999
    Location
    France
    Posts
    10

    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


  3. #3
    Guest

    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
  •  





Click Here to Expand Forum to Full Width

Featured