123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

Engineering Colleges

BE Students

Training  Reports (updated)

Seminar Reports (updated

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

Terms of use

Displaying  Source Code(s)  
 

 
Make HTML File

--------------------------------------------------------------------------------

Description : This script will make a HTML file

<% Const ForReading = 1, ForWriting = 2, ForAppending = 8
Dim strFileName, objFSO, objMenuPage

Set objFSO = CreateObject("Scripting.FileSystemObject")

strFileName = "c: empMyFile2.htm"
Set objMenuPage = objFSO.createtextFile(strFileName, forWriting, True) 'overwrite

'write the HTML page
objMenuPage.WriteLine "<HTML><head><title>Test Creating file</title></title></head>"
objMenuPage.WriteLine "<BODY><P><B>List of files available</B></P>"
objMenuPage.WriteLine Now() //Write out the time Use all VBScript functions!
objMenuPage.WriteLine "</body></html>"


objMenuPage.Close %>
--------------------------------------------------------------------------------
 

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved © copyright 123ENG