Menu

#1 Fix for 4chan's https change

open
nobody
None
5
2012-04-05
2012-04-05
Dark
No

[code]
foreach (string i in parsedWebPage)
{
try
{
string image = "http:" + i;
long k = 0;
string jj = Path.GetFileNameWithoutExtension(image);
if (Path.GetFileNameWithoutExtension(image).EndsWith("s"))
imageList.Add(image);
if (long.TryParse(Path.GetFileNameWithoutExtension(image), out k))
largeImageList.Add(image);
}
catch (Exception ee)
{
if (((Exception)ee).TargetSite.Name != "CheckInvalidPathChars")
MessageBox.Show(ee.Message);
}
}
[/code]

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.