Saving a File

Im trying to use this code from VB6 in VB .NET but some functions don't work

Filenum = FreeFile

Open Path For Output As Filenum
Print #Filenum, strHTML
Close Filenum

Note strHTML is not empty it is full.
"Open", "Output" and "Close" don't work >_<
Is there a way to do this in VB .NET



Answer this question

Saving a File