streamwriter
Log Selection of DropDownList in Text File
I am trying to log the selection a user makes when they select a choice from a dropdownlist. I have autopostback enabled and when a user selects a choice it updates content on the page. I also have a[详细]
2023-03-27 12:53 分类:问答Writing to a file while reading it with streams?
I wrong a function to read a configuration file, but if the command line arguement \"-ip x.x.x.x\" is specified, I want to overwrite the IP setting in the configuration file. I am using the following[详细]
2023-03-23 21:44 分类:问答using StreamWriter on server in C#
I try to write to a remote machine with the following code: StreamWriter(@\"\\\\\" + remoteMachine + \"\\\\admin$\\\\\" + fileName);[详细]
2023-03-23 03:25 分类:问答Missing last row when writing query results to xls file
I have a routine built to take query results and write them to an xls file.The problem is that I am only getting the column headers and 2 of the 3 rows of data.What am I doing wrong that the last row[详细]
2023-03-22 12:02 分类:问答writing to file in multithreaded app fails vb.net
I have a multi threaded app that writes log to file. occasionaly, saving fails using this code Friend Sub SaveToText(ByVal FileName As String, ByVal Text As String)[详细]
2023-03-19 06:27 分类:问答how to overwrite data in a txt file? [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Can any one tell why the previous开发者_StackOverflow data is still displayed while saving data using StreamWri[详细]
2023-03-14 22:29 分类:问答StreamWriter not updating its path on new day
I have a program that\'s writing to a log file called \"appname_yyyyMMdd.log\", where appname is the name of my app, and yyyyMMdd is the current date; a sample log file name might be \"loglistener_201[详细]
2023-03-13 17:40 分类:问答Using file.Close() with StreamWriter
I am having problems trying to use the file.Close with StreamWriter in this method, it doesn\'t seem to like it. Could someone demonstrate how this could be done. (The reason so, is that another metho[详细]
2023-03-13 17:16 分类:问答compare string line by line
Anybody here can help me with this Input file Type Reference WIN00001 WIN00001 WIN00001 MAC00001 MAC00001 Basically I need to compare if the first 3 character that are not equal[详细]
2023-03-13 04:45 分类:问答VB.Net Replacing Specific Values in a Large Text File
I have some large csv files (1.5gb each) where I need to replace specific values.The method I\'m currently using is terribly slow and I\'m fairly certain that there should be a way to speed this up bu[详细]
2023-03-10 03:13 分类:问答