944,147 Members | Top Members by Rank

Ad:
  • ASP.NET Discussion Thread
  • Unsolved
  • Views: 3811
  • ASP.NET RSS
Sep 23rd, 2007
0

Create and write a text file that saved in network folder

Expand Post »
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
Similar Threads
Reputation Points: 11
Solved Threads: 17
Junior Poster
Kusno is offline Offline
191 posts
since Aug 2007

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP.NET Forum Timeline: Session variables
Next Thread in ASP.NET Forum Timeline: example of Server.Transfer and Context Handler





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC