StreamWriter+(VB)

Dim sWrite As IO.StreamWriter = New IO.StreamWriter("G:\Addresses.doc") sWrite.WriteLine( "First Name: " & objPerson.strFirstName) sWrite.WriteLine( "Last Name: " & objPerson.strLastName) sWrite.WriteLine( "Street Address: " & objPerson.strStreetAddress) sWrite.WriteLine( "City: " & objPerson.strCity) sWrite.WriteLine( "Postal Code: " & objPerson.strPostalCode) sWrite.WriteLine( "Email: " & objPerson.strEmail) sWrite.WriteLine( "Phone Number: " & objPerson.strPhone) sWrite.WriteLine( "Cell Number: " & objPerson.strCell)
 * Declaring a new StreamWriter object!! Telling the StreamWriter which document to write to, and where it is to be located!!!!**
 * Specifying what to include in the file!!!!!**

sWrite.Close