Help: Retrieve thread titles in forum. C#

Joined
Jun 8, 2008
Messages
1,082
Reaction score
142
I need help on retrieving thread titles from the MapleStory Advertisement section, and also turning them into links to produce a list in C#.

It's the last step on my application.
 
Last edited:
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
Last edited:
Joined
Jun 8, 2008
Messages
1,082
Reaction score
142
But how to make the output to my listbox?
That's the struggle.
 
Legendary Battlemage
Loyal Member
Joined
Apr 7, 2009
Messages
647
Reaction score
25
Use WebClient to fetch the HTML, remove the header, then use PREG functions.
 
Mother effin' clouds
Loyal Member
Joined
Apr 13, 2008
Messages
1,534
Reaction score
448
It would be stupid to fetch html when there are feeds, which is basically xml..

Thanks for reiterating my point, anyways, like I said, you can have a look through Google for a few tutorials and examples. It would be difficult for me to explain it here in elaborate detail.
 
Legendary Battlemage
Loyal Member
Joined
Apr 7, 2009
Messages
647
Reaction score
25
Thanks for reiterating my point, anyways, like I said, you can have a look through Google for a few tutorials and examples. It would be difficult for me to explain it here in elaborate detail.

I just checked your link...
Anyone else notice an uncanny resemblance to his app?
...other than the old Win2k theme, that is.
 
Moooooooooooooooo
Loyal Member
Joined
Jul 19, 2006
Messages
442
Reaction score
130
you can use any windows list box to show them. Use a xml parser to parse the feed, then just loop over the elements inside the main node and list.add(new MyLink(...));

class mylink : ListItemOrSomethingLikeThat
{
...
}

and then make a onclick event to all those items and retrieve the class

on_click_event(object sender, eventargs args)
{
MyLink item = listbox.Selecteditem as MyLink;
process.run(item.link);
}