Results 1 to 4 of 4

Thread: (Problem Solved) How to display webpages offline in Web Browser

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    Atlanta, GA
    Posts
    177

    (Problem Solved) How to display webpages offline in Web Browser

    For all of you in need it's your friend in deed! Here is the code to display Web Pages offline in a Web Browser control:

    'WebBrowser must first navigate to a HTML file.
    WebBrowser1.Document.Open
    WebBrowser1.Document.Write rtfEdit.Text
    WebBrowser1.Document.Close


    Stay tuned to find out how to display ASP pages offline!

    HOLLA!!!!!!!

    NOTE: This should work with any type of text box. Sorry about the other two post I didn't know if they went through becuase they didn't show up.
    212 will lead you to the truth

  2. #2
    PowerPoster Static's Avatar
    Join Date
    Oct 2000
    Location
    Rochester, NY
    Posts
    9,390
    exactly... Navigate to an HTML page such as Blank.html

    then write to the open page.

    theres alot more that can be done... change the text style, bgcolors, etc....to any html pages
    JPnyc rocks!! (Just ask him!)
    If u have your answer please go to the thread tools and click "Mark Thread Resolved"

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    Atlanta, GA
    Posts
    177
    I got all the color changing working. Here is the method for displaying an ASP page:

    1) Make sure your PWS (Personal Web Server) is active
    95/98 Install NT Option Pack 4
    2000 Go to Add/Remove Programs Add windows
    component IIS (Internet Information Server)
    2) Point your browser to your Inetpub folder (This is the folder where you you should house all of your asp files in your project).

    WebBrowser1.Navigate "http://<YOUR COMPUTER NAME>/<YOUR ASP FILE NAME DONT'T FORGET THE ASP EXTENTION>

    Example:
    WebBrowser1.Navigate "http://locutus/localstart.asp"

    Have fun!
    212 will lead you to the truth

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Location
    Atlanta, GA
    Posts
    177
    Now can anyone tell me how I can allow the user to edit the page like MS FrontPage design view?
    212 will lead you to the truth

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