Click here to Skip to main content
15,906,628 members
Home / Discussions / Web Development
   

Web Development

 
Question.net Language Interoperability Pin
smadan5-Apr-06 0:14
smadan5-Apr-06 0:14 
QuestionRe: .net Language Interoperability Pin
Sarvesvara (BVKS) Dasa5-Apr-06 21:19
Sarvesvara (BVKS) Dasa5-Apr-06 21:19 
AnswerRe: .net Language Interoperability Pin
smadan5-Apr-06 21:29
smadan5-Apr-06 21:29 
GeneralRe: .net Language Interoperability Pin
RichardGrimmer11-Apr-06 7:25
RichardGrimmer11-Apr-06 7:25 
Questionhow to add only vertical scrollbar Pin
Chetan.visodiya5-Apr-06 0:13
Chetan.visodiya5-Apr-06 0:13 
QuestionRemove scroll bar from the page Pin
Chetan.visodiya5-Apr-06 0:10
Chetan.visodiya5-Apr-06 0:10 
AnswerRe: Remove scroll bar from the page Pin
cdengler6-Apr-06 8:39
cdengler6-Apr-06 8:39 
QuestionXML in Flash Pin
Anaha4-Apr-06 22:17
Anaha4-Apr-06 22:17 
QuestionServer.MapPath Pin
Larza1234-Apr-06 22:13
Larza1234-Apr-06 22:13 
AnswerRe: Server.MapPath Pin
Guffa4-Apr-06 23:42
Guffa4-Apr-06 23:42 
GeneralRe: Server.MapPath Pin
Larza1235-Apr-06 20:45
Larza1235-Apr-06 20:45 
QuestionASP Pin
casimirrex4-Apr-06 22:04
casimirrex4-Apr-06 22:04 
AnswerRe: ASP Pin
Sushant_Mathur4-Apr-06 22:44
Sushant_Mathur4-Apr-06 22:44 
Questionin asp Pin
casimirrex4-Apr-06 22:01
casimirrex4-Apr-06 22:01 
QuestionUrgent help needed : Reading from a .htm file using VBScript Pin
giftsana4-Apr-06 20:28
giftsana4-Apr-06 20:28 
AnswerRe: Urgent help needed : Reading from a .htm file using VBScript Pin
Sushant_Mathur4-Apr-06 20:51
Sushant_Mathur4-Apr-06 20:51 
This is the code you need..hope this will help you
_________________________________________________


set fso=createobject("scripting.filesystemobject")
Function read_data()
s=""
set f=fso.getfile("c:\source.htm") 'read data from source file
set ts=f.openastextstream(1,0) 'read,ascii
s=s & ts.readall
ts.close
set ts=fso.CreateTextFile("C:\destination.txt",true,false) 'overwrite,ascii
s=clearAllTags(s)
ts.write s
ts.close
End Function
'This function will remove all the HTML,BODY tags from our data and write only data from htm file
Function clearAllTags(s)
Dim re
Set re = New RegExp
re.Pattern = "(<[^>]*>)"
re.Global = True
re.IgnoreCase = True
clearAllTags = re.Replace(s, "")
End Function





_________________________________________________

Sushant Mathur
Bangalore,
INDIA.
http://n.domaindlx.com/fun2ssh/HOME.htm
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
giftsana4-Apr-06 21:18
giftsana4-Apr-06 21:18 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
giftsana4-Apr-06 22:07
giftsana4-Apr-06 22:07 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
Sushant_Mathur4-Apr-06 22:35
Sushant_Mathur4-Apr-06 22:35 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
giftsana4-Apr-06 23:06
giftsana4-Apr-06 23:06 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
giftsana4-Apr-06 23:09
giftsana4-Apr-06 23:09 
AnswerRe: Urgent help needed : Reading from a .htm file using VBScript Pin
Sushant_Mathur4-Apr-06 23:19
Sushant_Mathur4-Apr-06 23:19 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
giftsana4-Apr-06 23:36
giftsana4-Apr-06 23:36 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
Sushant_Mathur4-Apr-06 23:45
Sushant_Mathur4-Apr-06 23:45 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
giftsana4-Apr-06 23:54
giftsana4-Apr-06 23:54 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.