Lost Password?


Go Back   CodeCall Programming Forum > Software Development > Visual Basic Programming

Visual Basic Programming Discussion forum for Visual Basic, an event driven programming language and associated development environment from Microsoft for its COM programming model.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-30-2006, 12:44 PM
skilletsteve skilletsteve is offline
Learning Programmer
 
Join Date: Aug 2006
Posts: 45
Credits: 0
Rep Power: 9
skilletsteve is on a distinguished road
Default How to Process HTML in VB?

How do I use VB to access the HTML code of a website?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Sponsored Links
  #2 (permalink)  
Old 08-30-2006, 01:50 PM
TcM's Avatar   
TcM TcM is offline
Code Warrior
 
Join Date: Aug 2006
Location: In a technologic world :p
Posts: 8,332
Credits: 0
Rep Power: 68
TcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of lightTcM is a glorious beacon of light
Default

Ok so add the component named "Microsoft Internet Transfer Control 6.0" if you dont know how to add a component see one of my tuts ( link in my sig )

now on ur form add :-
a Textbox and in its properties make Multiline to True and Scrollbars Both

the Microsoft Internet Transfer Control 6.0

A command button

and add this code:-
Code:
Private Sub Command1_Click()
Website = Inet1.OpenURL("www.google.com")
Text1.Text = Website
End Sub
and now press Command1 and in text1.text after a while you will be displayed the source!

Hope this helped!

EDIT:-
Instead of a textbox you could use a Rich Text Box Component for a better display of the source!

Last edited by TcM; 08-30-2006 at 01:52 PM.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Removing HTML from a String using ColdFusion roger ASP, ASP.NET and Coldfusion 3 11-11-2008 03:19 PM
About HTML Onur Tutorials 0 08-28-2007 07:13 PM
HTML Basic Formatting clookid Tutorials 14 03-06-2007 04:10 PM
HTML Introduction clookid Tutorials 5 01-08-2007 10:43 PM
What is HTML, DHTML and XHTML? Lop HTML Programming 5 08-09-2006 12:00 PM


All times are GMT -5. The time now is 03:18 AM.

Contest Stats

WingedPanther ........ 2630.54
Xav ........ 2576.41
Brandon W ........ 1697.27
John ........ 1207.73
marwex89 ........ 1175.24
morefood2001 ........ 959.05
dcs ........ 646.09
Steve.L ........ 475.59
orjan ........ 407.96
chili5 ........ 378.6

Contest Rules

CodeCall Goal

Goal: 100,000 Posts
Complete: 97%

Ads