Search Results

Showing results 1 to 20 of 20
Search took 0.01 seconds.
Search: Posts Made By: mrjoli021 ; Forum: C# and child forums
Forum: C# Oct 27th, 2008
Replies: 1
Views: 534
Posted By mrjoli021
I want to populate the arraylist with the contents of the file. now it reads the first line and adds it to 0 and reads the next line and again writes it to 0, so basically it keeps overwriting...
Forum: C# Oct 27th, 2008
Replies: 2
Views: 1,175
Posted By mrjoli021
I have a txt file that contains a list of files that i need to delete. so far this is what i have.
how do i add the delete statement. line.delete, sr.delete does not work.
[/code]
class Program...
Forum: C# Sep 25th, 2008
Replies: 1
Views: 1,442
Posted By mrjoli021
right now it is only reading the first line of the file and puting it into i. how can i read the next line of the file?


StreamReader sr = new StreamReader("c:\\iplist.txt");

...
Forum: C# Sep 24th, 2008
Replies: 9
Views: 2,098
Posted By mrjoli021
not asking you to write my code. just asking for help. i am stuck. this is what i get.

No overload for method 'Read' takes '1' arguments.

now how can i fix it.
Forum: C# Sep 24th, 2008
Replies: 9
Views: 2,098
Posted By mrjoli021
i want to add the list in the txt file into the arraylist.

So basically i want it to read line by line and put the contents into the arraylist.
Forum: C# Sep 24th, 2008
Replies: 9
Views: 2,098
Posted By mrjoli021
private ArrayList addToList()
{
ArrayList myList = new ArrayList();
StreamReader sr = new StreamReader(list);

for (int i = 0; i < myList.Capacity;...
Forum: C# Sep 24th, 2008
Replies: 9
Views: 2,098
Posted By mrjoli021
a list in a txt file. i want to read that file into an array list.
the file contains to colums separated by a tab

how can i do this?
Forum: C# Aug 22nd, 2008
Replies: 3
Solved: file browser
Views: 2,112
Posted By mrjoli021
that worked.

thx
Forum: C# Aug 22nd, 2008
Replies: 3
Solved: file browser
Views: 2,112
Posted By mrjoli021
I want to incorporate a file browser into my windows app so users can select which file to copy. I am running vs2008.
Forum: C# Aug 11th, 2008
Replies: 2
Views: 898
Posted By mrjoli021
I have a txt file with three sections. i need to use section 1 for one function section 2 for a diffrent function and part 3 for the third function. how can i read the file from a specfied...
Forum: C# Aug 6th, 2008
Replies: 2
Views: 535
Posted By mrjoli021
without using the windows task scheduler is there a way to automatically run a task at a certain time using c#?
Forum: C# Aug 2nd, 2008
Replies: 0
Views: 615
Posted By mrjoli021
I am new to c#. i dont want install sharpziplib in the gac. is there another way to install it.
Forum: C# Jul 30th, 2008
Replies: 1
Views: 743
Posted By mrjoli021
i need to zip some files and folders. is there a function already done for this or how can i go about doing this?
Forum: C# Jul 28th, 2008
Replies: 1
Views: 455
Posted By mrjoli021
Is there a function that will remove the last 4 char of a string? trimend works but i have to specify which chars. what if i dont know what the chars will be. I still need to remove the last 4...
Forum: C# Jul 28th, 2008
Replies: 2
Views: 1,584
Posted By mrjoli021
Is there a function that will remove the last 4 char of a string? trimend works but i have to specify which chars. what if i dont know what the chars will be. I still need to remove the last 4...
Forum: C# Jul 26th, 2008
Replies: 1
Views: 3,217
Posted By mrjoli021
I need to copy files from one directory to another on a daily basis. I want to keep one weeks worth of files. How can i read the timestamp to determine which is the oldest file so i can delete it?
Forum: C# Jul 16th, 2008
Replies: 3
Views: 481
Posted By mrjoli021
i have a txt file comma separated. i am trying to display its contents in a grid type on a separeate window not the default form. so basically i want to click on a button and have a popup display...
Forum: C# Jul 16th, 2008
Replies: 3
Views: 481
Posted By mrjoli021
i am new to c#.
I want to write a windows app that will display a txt file in a new window.
Forum: C# Jun 25th, 2008
Replies: 2
Solved: append 2 file
Views: 4,263
Posted By mrjoli021
U the man

it worked

Thx
Forum: C# Jun 25th, 2008
Replies: 2
Solved: append 2 file
Views: 4,263
Posted By mrjoli021
i am having problems appending txt to a file. it overwrites the file instead of appending


private StreamWriter outputfile = new StreamWriter("c:\\testfile.txt");

public void SetFile()
...
Showing results 1 to 20 of 20

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC