Click here to Skip to main content
15,897,187 members
Home / Discussions / Web Development
   

Web Development

 
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 
GeneralRe: Urgent help needed : Reading from a .htm file using VBScript Pin
Sushant_Mathur5-Apr-06 0:00
Sushant_Mathur5-Apr-06 0:00 
GeneralRe: got solution! Pin
giftsana5-Apr-06 0:24
giftsana5-Apr-06 0:24 
GeneralRe: got solution! Pin
Sushant_Mathur5-Apr-06 0:31
Sushant_Mathur5-Apr-06 0:31 
GeneralRe: got solution! Pin
giftsana6-Apr-06 0:52
giftsana6-Apr-06 0:52 
AnswerRe: got solution! Pin
Sushant_Mathur6-Apr-06 20:09
Sushant_Mathur6-Apr-06 20:09 
GeneralRe: got solution! Pin
giftsana6-Apr-06 20:29
giftsana6-Apr-06 20:29 
Questionfollow vertical scroll bar Pin
e32magic4-Apr-06 13:51
e32magic4-Apr-06 13:51 
AnswerRe: follow vertical scroll bar Pin
Sushant_Mathur4-Apr-06 20:11
Sushant_Mathur4-Apr-06 20:11 

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.