Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~2K People Reached
Favorite Forums
Member Avatar for JannuBl22t

Hey! I have a problem.. I need to remove items from array that are duplicated here's my code: [CODE] private void Form2_Load(object sender, EventArgs e) { openFileDialog1.Title = "Open Links List"; openFileDialog1.Filter = "Text File|*.txt"; openFileDialog1.FileName = ""; openFileDialog1.ShowDialog(); var file = openFileDialog1.FileName; if (file != "") { StreamReader read …

Member Avatar for saclines
0
1K
Member Avatar for JannuBl22t

Hey! I have a question. It goes like this: I have a webbrowser in one form. When I load a web page, there are buttons and text fields. I would like to get the "name" attribute of the item I click. For example I'll click on "submit" button.. then MessageBox.Show() …

Member Avatar for JannuBl22t
0
107
Member Avatar for JannuBl22t

Hey guys! I have a question. I have this code: [CODE] private void backgroundWorker1_DoWork(object sender, DoWorkEventArgs e) { int count = listView1.Items.Count; int threads = 5; LinkChecker[] lc = new LinkChecker[count]; int trace = 0; for (int i = 0; i < count; i++) { for (int k = 0; …

Member Avatar for Momerath
0
220
Member Avatar for JannuBl22t

Hello! I have this code: [CODE] Thread[] array = new Thread[size]; Checker[] myclass = new Checker[size]; ThreadStart[] startth = new ThreadStart[size]; int limit = totalitem / size; for (int k = 0; k < size; k++) { myclass[k] = new Checker(this); myclass[k].pattern = pattern; startth[k] = delegate { myclass[k].DoChecking(limit * …

Member Avatar for Venjense
0
88
Member Avatar for JannuBl22t

Hey! I have a question. I have this code: [CODE] int size = Convert.ToInt32(numericUpDown1.Value) + 1; var item_c = listView1.Items.Count; int id = 0; while (true) { if (id == item_c) { break; } for(int i = 0; i < size; i++) { if (id == item_c) { break; } …

Member Avatar for JannuBl22t
0
130
Member Avatar for JannuBl22t

Hey! I have a question. I have a program that I made and now I would like to write addons to it. Like user downloads an addon from my website, puts it into a "addons" folder and then it appears under addons menu and it works like a new form …

Member Avatar for JannuBl22t
0
80
Member Avatar for JannuBl22t

Hey I have a question.. I have a list in one form that looks like this: [column1] - [column2] item1 - 0 item2 - 6 item3- 8 item4 - 5 item5 - 2 soo.. now I open a new form and I need to select what kind of items I …

Member Avatar for Mitja Bonca
0
108
Member Avatar for JannuBl22t

Hey! I have a problem with my code: [CODE=C] public void UpdateColumn(object stateInformation, int cid = 0, int status = 0) { if (InvokeRequired) { Invoke(new Action(() => UpdateColumn(stateInformation, cid, status))); } else { if (status == 0) { var res = "Failed"; listView1.Items[cid].SubItems.Add(res); } else if (status == 1) …

Member Avatar for lolafuertes
0
111
Member Avatar for JannuBl22t

Hey! I have a problem with C# regex. Can you please tell me how I can match anchor: Atm I have it like this: [CODE]Regex.Match(pagecontent, @"<a (.*) href=" + url + "(.*)>(.*?)</a>");[/CODE] but some how it doesnt want to work for [CODE]<a target="_blank" href="http://myurl.com">Title</a>[/CODE] And I need to get "Title" …

Member Avatar for Ketsuekiame
0
134