Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
HTML to database
Message
From
24/04/2009 04:28:03
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
HTML to database
Environment versions
Environment:
VB 8.0
OS:
Vista
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01396206
Message ID:
01396206
Views:
114
I want to get the field of HTML into the database

but i am unable to understand it proparly , i am using a script which checks the active url in the current IE window and out of that i can praise the one i want to my database.

after a search i am able to do the following and got the active url from the internet explorer using the below script

Dim shellWins As SHDocVw.ShellWindows
Dim explorer As SHDocVw.InternetExplorer
shellWins = New SHDocVw.ShellWindows

For Each explorer In shellWins
Debug.Print(explorer.LocationName)
Debug.Print(explorer.LocationURL)
Me.Label1.Text = explorer.LocationName
Me.Label2.Text = explorer.LocationURL
MsgBox(Me.Label1.Text & "-" & Me.Label2.Text)
If Me.Label1.Text = "Services Network" Then
Me.Label1.Text = explorer.LocationName
Me.Label2.Text = explorer.LocationURL
MsgBox(Me.Label1.Text & "-" & Me.Label2.Text)

' Now here i want to extract the url source code and then search for various content in that
just like parsing the HTML


End If
Next

shellWins = Nothing
explorer = Nothing

kindly if any example available for getting content from HTML
Next
Reply
Map
View

Click here to load this message in the networking platform