Programming Forums
User Name Password Register
 

RSS Feed
FORUM INDEX | TODAY'S POSTS | UNANSWERED THREADS | ADVANCED SEARCH

Reply
 
Thread Tools Display Modes
Old Nov 28th, 2006, 1:22 AM   #1
fluffy
Newbie
 
fluffy's Avatar
 
Join Date: Nov 2006
Location: My House
Posts: 11
Rep Power: 0 fluffy is on a distinguished road
Displaying HTML from a webpage

I am making a web browser at the moment known as T.I.B. wich stands for Tank's Internet Browser. But I have come across a couple of problems. With internet explorer and mozilla firefox you can view a web pages scripting by activating a command known as "View Source". How can i do this with my web browser that i am making? Oh yeah and just incase you need to know... it is made using C#.

If you want to take a look at my test version of T.I.B. here it is:
Go to: http://tanks_bunker.sitesled.com/TIB_beta_2.zip
Password for zip file: projecttib
Also note that this program is not fully functional yet, it is incomplete. Just a test thats all.
fluffy is offline   Reply With Quote
Old Nov 28th, 2006, 4:05 AM   #2
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
The source is what you receive in response to your request. It's what you use to determine what additional requests to make, if any, such as style, additional scripting, images, and so forth. You use all this to determine how to render the page. Just display it.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 28th, 2006, 7:39 AM   #3
Iftikhar
Programmer
 
Iftikhar's Avatar
 
Join Date: Oct 2006
Location: London
Posts: 40
Rep Power: 0 Iftikhar is on a distinguished road
Send a message via MSN to Iftikhar
Is there a way to uninstall this. thereis no unistall utility with it. I deleted the files. By the way good browser. But I think behind the scene you are using IE component so it IE with diferent interface. Isn't it.
__________________
Iftikhar Ahmed Khan
For doing an experiment on programmer's mood please visit http://uxisfyp1.brunel.ac.uk/cspgiak

Last edited by Iftikhar; Nov 28th, 2006 at 7:51 AM.
Iftikhar is offline   Reply With Quote
Old Nov 28th, 2006, 10:59 PM   #4
fluffy
Newbie
 
fluffy's Avatar
 
Join Date: Nov 2006
Location: My House
Posts: 11
Rep Power: 0 fluffy is on a distinguished road
Quote:
Originally Posted by DaWei View Post
The source is what you receive in response to your request. It's what you use to determine what additional requests to make, if any, such as style, additional scripting, images, and so forth. You use all this to determine how to render the page. Just display it.
Is there any chance somebody could help me write the code for it?

Yeah it is pretty much just IE with a new interface.... but me and a couple of mates are working on making it so that it uses our own components instead of IE, which we almost have in the bag... just got a few bugs thats all.

P.S. Sorry for all the trouble about the uninstalling program, but the test version you kinda have to do it manually. If you need help just give us a yell.
fluffy is offline   Reply With Quote
Old Nov 28th, 2006, 11:08 PM   #5
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
I take it then, that your aren't "making a web browser", but assembling a web browser from off-the-shelf components. Nothing wrong with that, but if you don't research the basic principles, you'll have difficulties really tailoring things. The source, after all, is the basic data with which you work. You might find someone to write the code for you, but most people are playing with their own toys.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 28th, 2006, 11:27 PM   #6
fluffy
Newbie
 
fluffy's Avatar
 
Join Date: Nov 2006
Location: My House
Posts: 11
Rep Power: 0 fluffy is on a distinguished road
I am just having trouble with doing this code that i want so much. I would love for somebody to help me with it. I will mention the person who helps me out with it, in the credits as a sign of my appreciation.
fluffy is offline   Reply With Quote
Old Nov 29th, 2006, 12:41 AM   #7
DaWei
Resident Grouch
 
DaWei's Avatar
 
Join Date: Jun 2005
Posts: 6,453
Rep Power: 10 DaWei is on a distinguished road
Good luck, but I think you should temper your expectations with realism. Your offer is probably an inducement only to those whose survival needs are being met entirely by someone else, and who have no other credentials or track record.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code.
Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers
DaWei is offline   Reply With Quote
Old Nov 30th, 2006, 6:54 PM   #8
fluffy
Newbie
 
fluffy's Avatar
 
Join Date: Nov 2006
Location: My House
Posts: 11
Rep Power: 0 fluffy is on a distinguished road
There is no harm in asking.
fluffy is offline   Reply With Quote
Old Dec 5th, 2006, 5:30 PM   #9
milot
Programmer
 
milot's Avatar
 
Join Date: Nov 2006
Location: Kosovė/Prishtinė
Posts: 47
Rep Power: 0 milot is on a distinguished road
fluffy,

If you are trying to show the page source, you can do that in this way below:

create a multiline textbox put in in your form somewhere and you must have the webBrowser component, and then write this:

YourMultilinetextbox_name.Text = YourwebBrowserComponent.DocumentText.ToString();
milot is offline   Reply With Quote
Old Dec 5th, 2006, 6:29 PM   #10
fluffy
Newbie
 
fluffy's Avatar
 
Join Date: Nov 2006
Location: My House
Posts: 11
Rep Power: 0 fluffy is on a distinguished road
Hey thanks man... i'll give it a try.

Also is there another way to display the cody using a similar process on another form?
fluffy is offline   Reply With Quote
Reply

Bookmarks

« Previous Thread in Forum | Next Thread in Forum »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Basics of HTML Tutorial crawforddavid2006 HTML / XHTML / CSS 14 Jul 11th, 2006 8:40 AM
Basic HTML Tutorial - Reuben Keeney ReubenK HTML / XHTML / CSS 14 Mar 26th, 2006 6:50 AM
HTML =/= Programming Sane Coder's Corner Lounge 32 Mar 8th, 2006 3:50 AM
Want to upload, show as HTML and other things.... Invisible Other Web Development Languages 4 Jun 19th, 2005 8:51 PM
displaying html in java freddiemercury Java 1 Feb 1st, 2005 12:06 PM




DaniWeb IT Discussion Community
All times are GMT -5. The time now is 6:08 AM.

Powered by vBulletin® Version 3.7.0, Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Copyright ©2007 DaniWeb® LLC