Create and write a text file that saved in network folder

Please support our ASP.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Aug 2007
Posts: 182
Reputation: Kusno is an unknown quantity at this point 
Solved Threads: 15
Kusno's Avatar
Kusno Kusno is offline Offline
Junior Poster

Create and write a text file that saved in network folder

 
0
  #1
Sep 23rd, 2007
Dear all .Netters,

How do i create and write a text file that saved in network folder ?
The folder path is saved in table "K:\GA_PAYMENT\OPE".
When running from VS2005, it could work well. But after i copied sources code to the server, ASP.Net could not find the folder name.

Dim FileName As String = Folder & "\GA-" & Format(Now, "yyMMddHHmmss") & ".txt"
Dim FP As StreamWriter
If Not File.Exists(FileName) Then
FP = File.CreateText(FileName)
End If

Thanks and Regards,

Kusno
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:


Thread Tools Search this Thread



Tag cloud for ASP.NET
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC