Hi all,
I am trying to create a text file in VB, but getting an error ...
User -defned type not defined. suggest me ...
Code:Private Sub Command1_Click() Dim FS As New FileSystemObject Dim Stream As TextStream Set Stream = FS.CreateTextFile(App.Path & "\ashoks.txt", True) Stream.Close End Sub
Thanks....




Reply With Quote