You can write to a file without using the Scripting Object.
VB supports Open, Print #, Close, and Freefile.
Dim F as Long, OutFile as String
F = Freefile
OutFile = <File Name with or without Path, as String>
Open OutFile For Output As #F
Print #F, <Output as String>
Close #F
The above code is throwback to the earliest versions of BASIC that I can remember. Still works though.