Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
0% Quality Score
Upvotes Received
0
Posts with Upvotes
0
Upvoting Members
0
Downvotes Received
6
Posts with Downvotes
3
Downvoting Members
5
1 Commented Post
0 Endorsements
~8K People Reached
Favorite Forums
Favorite Tags

36 Posted Topics

Member Avatar for Kath_Fish

Hi, I am doing the determination password protection for workbook without opening the workbook. Is it possible to do determination password protection without open workbook...?

0
74
Member Avatar for Kath_Fish

Hey..i have no idea to solve this problem..could some one help me.... If i add in the min support, the result will all run away... i do not know why like this: The result will like this: 2 3:1 2 3 4:1 2 4 2 3:1 3 4 4: 1 …

Member Avatar for Momerath
0
164
Member Avatar for Kath_Fish

hi....after i finish my combination, i need to combine back my values to the lastest key. For example: my previous data set 1 2 :3 1 2 3 :4 1 2 3 4 :1 2 3 :2 3 4 :1 ...... after i doing the intersection(using the key),i need got …

0
74
Member Avatar for Kath_Fish

hi..i finish my intersection. Now i need to convert the output in the array. Now, my output is in hashset. i need to convert back to array. my output now is like this 2 1 2 1 3 2 1 3 4 And now, i wan them to become like …

Member Avatar for Kath_Fish
0
337
Member Avatar for Kath_Fish

hey..now i want to split my output to vertical form.But my output got no any space.So how should i split it to vertical form. output now: 212132134214 i want split to 2 1 2 1 3 2 1 3 4 2 1 4 Hope someone can help me...thanks ya...

Member Avatar for Momerath
0
94
Member Avatar for Kath_Fish

hi...i am doing the intersection now.I need to reset my hashset,hs2 to original data after it intersect with the first data set. So that, it can continue to intersect with the second data set. here is my coding: [CODE] for (int i = 0; i < myArray1.Count; i++) { foreach …

0
56
Member Avatar for Kath_Fish

hi..i am using hashset to to my intersection.But still cannot intersect the two hashset successfully.I need some help from you guys.. Now, my first hashset include the number in string 2 1 3 4 5 my second hashset include the number in string (in line) 1 2 1 2 3 …

Member Avatar for Kath_Fish
0
368
Member Avatar for Kath_Fish

Hi...now i doing split. i got face some problems. Let say, I got store my data in string type 1 2 1 2 3 1 2 3 4 now i want it to split line by line.But after i split them, i got the result is like this 1 2 …

Member Avatar for abelLazm
0
87
Member Avatar for Kath_Fish

Hi...i am trying doing the intersection between two List. but, i tried many times still cannot get it. Hope someone can help me... [CODE]List<KeyValuePair<String, int>> L = new List<KeyValuePair<String, int>>(sItem.ToList()); L.Reverse(); L.Sort(delegate(KeyValuePair<String, int> lhs, KeyValuePair<String, int> rhs) { return rhs.Value.CompareTo(lhs.Value); }); foreach (KeyValuePair<String,int> val in L) { show3 += val.Key+"\r\n"; …

Member Avatar for ddanbe
0
98
Member Avatar for Kath_Fish

Hi....now I need some helps..because I totally no idea to do that.. Now, I need to read and count the frequency for each items Eg, set of data in text file 1 2 1 3 1 4 [COLOR="red"]2 3[/COLOR] 3 4 Now, i wan to read each item and count …

Member Avatar for Mitja Bonca
0
201
Member Avatar for Kath_Fish

Hey ...Now i want to compare the two things...I will explain my problem.. Now I got single items and their values For exmple: item: value 2 : 6 1 : 5 3 : 4 5 : 3 i want use this to swap the place for my combination for example, …

Member Avatar for Mitja Bonca
0
97
Member Avatar for Kath_Fish

Hey ...Now i want to compare the two things...I will explain my problem.. Now I got single items and their values For exmple: item: value 2 : 6 1 : 5 3 : 4 5 : 3 i want use this to swap the place for my combination for example, …

Member Avatar for Kath_Fish
0
92
Member Avatar for Kath_Fish

Hey....I face some problem in counting the repeated times of items...hope somebody can helps me.. For example: I have a list of data that store in string array 1 2 1 2 3 1 2 3 2 2 3 4 2 4 5 2 3 ......... (maybe have different numbers) …

Member Avatar for Mitja Bonca
0
143
Member Avatar for Kath_Fish

Hey ...i want to use the arraylist to sort the item based on the item frequency ..how i do that..? for example, item:frequency 1: 7 2: 8 3: 4 4: 7 5: 1 my expected output is item: frequency 2: 8 1: 7 4: 7 3: 4 5: 1 here …

Member Avatar for Kath_Fish
0
96
Member Avatar for Kath_Fish

Now, i already split the data. I want to read the data inside the foreach loop (sortedlist) but it always give me error. [CODE] while ((read = f.ReadLine()) != null) { s1.Append(read); //read = read.Replace("\r",""); SplitItem = (read).Split(new string []{"\r\n",":"},StringSplitOptions.RemoveEmptyEntries); foreach (String abc in SplitItem) { a += "\r" + …

Member Avatar for Kath_Fish
0
180
Member Avatar for Kath_Fish

Hi, now i want to print out the data from the text file. but, i face a problem in the output.the program give me the output is like this: 1 2:1 1 3:2 1 4:2 2 3:1 2 4:1 3 4:2 1 3:1 1 4:1 3 4:1 1 2:1 1 …

Member Avatar for Kath_Fish
0
101
Member Avatar for Kath_Fish

hi..who knows how to append the list box to the exist text file? [CODE] FileStream fs2 = new FileStream(@"C:\Users\Fish\Desktop\fyp-coding\Combine.txt", FileMode.Append, FileAccess.Write,FileShare.Write);//create text file StreamWriter sw2 = new StreamWriter(fs2, Encoding.Default); string writetext = ListItemCom2.SelectedItems.ToString(); sw2 = File.AppendText(@"C:\Users\Fish\Desktop\fyp-coding\Combine.txt"); // write to the text file sw2.Flush(); sw2.Close(); [/CODE] this is my coding.But,it contain …

Member Avatar for Mitja Bonca
0
184
Member Avatar for Kath_Fish

hi, I now face some problems in saving the content of the listBox to the exist text file. i need to append the content to the text file and canot overwrite the content in the text file.Who can help me..? [CODE] FileStream fs2 = new FileStream(@"C:\Users\Fish\Desktop\fyp-coding\Combine.txt", FileMode.Append, FileAccess.Write, FileShare.ReadWrite);//create text …

Member Avatar for Mitja Bonca
0
1K
Member Avatar for Kath_Fish

I want to ask how to combine two text file and read in the rich text box..? [CODE] String rd = ""; private void CLICK2_Click(object sender, EventArgs e) { string file1 = @"C:\Users\Fish\Desktop\fyp-coding\sample1.txt"; string file2 = @"C:\Users\Fish\Desktop\fyp-coding\sample2.txt"; FileStream fs1 = null; FileStream fs2 = null; try { fs1 = File.Open(file1, …

Member Avatar for agugglez
0
275
Member Avatar for Kath_Fish

hi...now i am doing sorted list. My problem is like this: I got a store many groups of number in text files eg: 112 133 121 122 133 144 155 133 122 111 111 112 124 234 122 333 221 223 345 * one line mean one transaction I did …

Member Avatar for Momerath
0
187
Member Avatar for Kath_Fish

hi...now i want to save my output in one text file. My output is arrange in vertically then i save the output in text file. However, when i check that text file, my output is all arrange in horizontal. How to change it to vertical form?? Hope someone can help?

Member Avatar for Momerath
0
365
Member Avatar for Kath_Fish

hey...i trying to pass the data from Combination class to sorted list and display result from the sorted list? I had been try for many times but the result is not right? Could someone can help me?

Member Avatar for Kath_Fish
0
295
Member Avatar for Kath_Fish
Member Avatar for Kath_Fish

hello,now I want to create a text file to save my output and then need to open and read again. Who knows how to do that? Can teach me..?

Member Avatar for Mitja Bonca
0
106
Member Avatar for Kath_Fish

Hi, now i do the sorted list for the combination i did. I want to read the data to the sorted list. But my foreach loop always had error. i fix it many times already but still can not solve it successfully. I will attach my coding. Hope someone can …

Member Avatar for Kath_Fish
0
146
Member Avatar for Kath_Fish

Now i am doing the split after Readline method. But, my coding always got problem. Hope someone can help me... Here is my coding [CODE] file = new StreamReader(fileOpen.FileName); StringBuilder sb = new StringBuilder(); while ((line = file.ReadLine()) != null) { //MessageBox.Show(line,"TEST"); //textBox7.Text = line; sb.AppendLine(line); } textBox7.Text = sb.ToString(); …

Member Avatar for Kath_Fish
0
331
Member Avatar for Kath_Fish

Hey, i trying to list out all the items after i split it in text box. But, the output always list items in wrong way. Can someone help me? For example: the output i want to print in the textbox is like this 1 2 3 4 5 but it …

Member Avatar for Kath_Fish
0
340
Member Avatar for Kath_Fish

hey...i want to ask about how to convert string array to integer array. hope someone can help me. thanks.

Member Avatar for Mitja Bonca
0
221
Member Avatar for Kath_Fish

Hey...i am doing Split now. But, my split method cannot function well. I want split my text file content from horizontal to vertical. But, my output always got problem. for example my text file content is like this.. eg. 1 2 3 4 5 2 3 4 5 my output …

Member Avatar for Momerath
0
225
Member Avatar for Kath_Fish

hey...i got a problem.. Now i do the read text file line by line. I am using the ReadLine Function to do that. But It cannot show all the output. It always show the last one content in text file. It cannot show the previous content in text file to …

Member Avatar for jonsca
0
103
Member Avatar for Kath_Fish

Hi... I have question on how to do the combination in Window Form. Now, I have a list of data eg. 1. 1111 1112 1113 1114 1134 1133 1222 1345 1444 2. 1111 1122 1134 1135 1145 1234 1235 1245 1445 I have already split them in array and i …

Member Avatar for Kath_Fish
0
102
Member Avatar for Kath_Fish

I wan to split my content(in horizontal)in my text file to vertical... [CODE] string filePath = @"c:\Users\Fish\Desktop\fyp-coding\Data.txt"; string line; if (File.Exists(filePath)) { StreamReader file = null; try { file = new StreamReader(filePath); while ((line = file.ReadLine()) != null) { MessageBox.Show( line); } foreach (string lines in File.ReadAllLines(filePath)) { string[] parts …

Member Avatar for ddanbe
0
259
Member Avatar for Kath_Fish

hey....i got some problem in ReadLines method string filePath = @"c:\Users\Fish\Desktop\fyp-coding\Data.txt"; string line; if (File.Exists(filePath)) { StreamReader file = null; try { file = new StreamReader(filePath); while ((line= file.ReadLine())!= null) { textBox7.Text = line; } } finally { if (file != null) file.Close(); } } When i use this coding...it …

Member Avatar for Momerath
0
88
Member Avatar for Kath_Fish

hey... how to do the message box that can show all the data out..without clicking many times..? Means that i do one program in for loop.Let said i do 5 times looping. After I run the program, i dun need to clicking 5 times to show the result one by …

Member Avatar for alc6379
0
205
Member Avatar for Kath_Fish
Member Avatar for ddanbe
-3
107
Member Avatar for Kath_Fish

Hi .... i got one problem.... i am doing a project. I use StreamReader to read my content in one file. i need to change tht file into the string type. Then, i need to change the string type to string array....who know how to do this one....

Member Avatar for vedro-compota
0
136

The End.