|
-
Jan 13th, 2003, 12:09 AM
#1
Thread Starter
Addicted Member
(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
-
Jan 13th, 2003, 12:19 AM
#2
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"
-
Jan 13th, 2003, 12:29 AM
#3
Thread Starter
Addicted Member
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
-
Jan 13th, 2003, 12:31 AM
#4
Thread Starter
Addicted Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|