9 Discussion / Question Topics
Remove Filter
|
|
Hello to all, I'm trying to use the function below to print strings to a file. When I use Console.Write() or Console.WriteLine() the output file grows up 3MB or 4MB per seconds, but when I try to use StreamWriter or File.AppendAllText the output in the way shown below, the file … |
|
Hello, I have been using StreamWriters for a long and time and it has always worked but now I seem to be getting an Access Denied error while trying to save to the current users Desktop... Dim savePath As String = "C:\Users\Josh\Desktop\EpiPhone\029.csv" Using sw As New StreamWriter(savePath) '...Rest of code... … |
|
I am trying to write the information below (name, employee no., etc.) to a file using StreamWriter. I'm able to enter the data, click the save button, enter/change the save location and file name and save the document. When I open the saved document, its blank and none of the … |
|
Hi, The code shown below sucessfully saves text onto a line in a txt document, but using the array, I want to be able to save each piece of text on a separate line. How would I do this? Thanks in advance :) Dim filePath As String Dim objectWriter As … |
|
Hi, I'm having a problem with using the streamWriter to write to a unicode file. Code as follows: [CODE] for(int i = 1; i < 1018; ++i) { std::wostringstream integer; integer << L"IDS_STRING" << i << L"\t"; wstring thisString = integer.str(); thisString = thisString + L"\"Spare String\""; wchar_t* SpareString = … |
|
I made a listview that display names using a streamreader. When I select a name and delete it the name that was below in the list will then take the information of the deleted name when it's displayed in the textboxes which shows name, address and email. How can I … |
|
Basically I use text files to hold the program data, which is loaded in to variables when the program starts. I use StreamWriter to write to the text files when they update within the program. This is fine although the writer adds a extra line when I do not want … |
|
I have been trying to write some strings to the notepad. I have successfullly written the first string , however when I try to add another string,It always over writes the first string I have written.Can you tell me a way where I can write strings to the next line … |
|
So I have problem with a code I am writing, when I write a string to a text document, I get the following error; "Conversion from string "1, 1, 2, 3, 5, 8, 13, 21, 34, 55" to type 'Integer' is not valid." Please help; code below. Thanks in advance! … |
The End.