Results 1 to 8 of 8

Thread: [RESOLVED] Html To Exe

Hybrid View

  1. #1

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    13

    Resolved [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

  2. #2
    Addicted Member Kal-El's Avatar
    Join Date
    Jun 2007
    Location
    Fortress of solitude
    Posts
    179

    Re: Html To Exe

    How about this one.

    «Source Code»«plugins»«skin»«fav apps»«Winamp en español»«Nsis en español»
    So what if your signature move is driving a tractor? I think it's adorable. - Lois ("Crimson")
    Don't forget to when your question is resolved ...and the people who help

  3. #3
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Html To Exe

    Here's an example I wrote real quick.
    Attached Files Attached Files

  4. #4

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    13

    Re: Html To Exe

    Quote 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

  5. #5
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Html To Exe

    Quote 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.

    Quote 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.

  6. #6

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    13

    Re: Html To Exe

    Thanks

    Quote 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

  7. #7

    Thread Starter
    New Member
    Join Date
    Jun 2006
    Posts
    13

    Re: Html To Exe

    thanks
    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
  •  



Click Here to Expand Forum to Full Width