From: @   
      
   Randy,   
      
   I got it; however, thanks for the references--I'll be sure to check them   
   out.   
      
   Best regards,   
      
   Todd   
      
   "Randy Birch" wrote in message   
   news:EP6dnSmoLKTU-GHcRVn-sQ@rogers.com...   
   >   
   > This group is really for VB6 and earlier. I recommend you take a look at   
   > the   
   > groups devoted exclusively to .net programming on the microsoft news   
   > server,   
   > named such as:   
   >   
   > news://msnews.microsoft.com/microsoft.public.dotnet.general   
   > news://msnews.microsoft.com/microsoft.public.dotnet.languages.vb   
   > news://msnews.microsoft.com/microsoft.public.vsnet.general   
   > news://msnews.microsoft.com/microsoft.public.vstudio.general   
   > news://msnews.microsoft.com/microsoft.public.vstudio.setup   
   >   
   > ... etc.   
   >   
   > --   
   >   
   >   
   > Randy Birch   
   > MS MVP Visual Basic   
   > http://vbnet.mvps.org/   
   >   
   >   
   > "Todd Shillam" wrote in message   
   > news:TIKdnecSmauT_2HcRVn-tA@comcast.com...   
   > : Here's my script--need help with output to text file (must be missing   
   > : something here like closing the file or something). Any help would be   
   > : greatly appreciated here. Lastly, I'm using Visual Basic .NET 2003.   
   > : Source...   
   > :   
   > : Dim vFileName As String   
   > : vFileName = Format(Now(), "MM - dd - yyyy") & " - " & vName   
   > : Dim oFile As System.IO.File   
   > : Dim oWrite As System.IO.StreamWriter   
   > : oWrite = oFile.CreateText("C:\" & vFileName & ".txt")   
   > :   
   > : FileOpen(1, "C:\" & vFileName & ".txt", OpenMode.Output) 'CAN'T GET TEXT   
   > TO   
   > : WRITE TO FILE   
   > : oWrite.WriteLine("Debugging Code is Fun")   
   > : oWrite.WriteLine("And Pigs Fly")   
   > :   
   > :   
   > : Todd   
   > :   
   > :   
   >   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   
|