Can I assume everyone has Scripting Run Time (scrrun.dll) on C:\WI

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi all,

Subject says it all; Can I assume everyone has Scripting Run Time
(scrrun.dll) on C:\WINNT\sytem32\?

Apparenlty it comes with Internet Explorer 6.0.

What other alternatives do I haev to create a text file and insert some text
in lines?

Thanks for your time.
 
Sub CreateTextFile()
Dim FileNumber
FileNumber = FreeFile ' Get unused file number.
Open "C:\Test.txt" For Output As #FileNumber
Write #FileNumber, "This is a first line of data"
Print #FileNumber, "This is a second line of data"
Close #FileNumber

End Sub


--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top