Lyoto Machida (03-26-2011)
Reply To Thread
MORE
Right Click
Save page as...
Ok
Open Folder
Right Click Image files
Add To Archive...
Name: MPGH Emote
Screenshot
VS
upload
otherwise, good job @-Away
i lack the knowledge or patience to do that
Lyoto Machida (03-26-2011)
I get my emotes off of laymark. =\
an alternate account.
Everyone that is giving you shit about it, you're straight. You're just learning new shit, and that's what helps you become a better coder, which will eventually lead to bigger and better things
Lyoto Machida (03-26-2011)
I never said it was bad. Shit, I can't make a program that does this, so he's a step above me.
an alternate account.
xD i admit, Its easy as fawk, But i wanted to share with you guys
[highlight=VB.NET]Public Class Form1
Public Sub GetSmiles()
For I = 0 To WebBrowser1.Document.GetElementsByTagName("img").C ount - 1
ListBox1.Items.Add(WebBrowser1.Document.GetElement sByTagName("img").Item(I).GetAttribute("src"))
Next
Label2.Text = ListBox1.Items.Count & " Smiles found.."
Label2.Visible = True
End Sub
Private Sub WebBrowser1_DocumentCompleted(ByVal sender As System.Object, ByVal e As System.Windows.Forms.WebBrowserDocumentCompletedEv entArgs) Handles WebBrowser1.DocumentCompleted
GetSmiles()
ListBox1.SelectedIndex = 0
End Sub
Private Sub ListBox1_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles ListBox1.SelectedIndexChanged
PictureBox1.ImageLocation = ListBox1.SelectedItem
End Sub
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
PictureBox2.ImageLocation = "https://www.mpgh.net/forum/images/emotions.gif"
ListBox1.HorizontalScrollbar = True
End Sub
Private Sub RefreshToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles RefreshToolStripMenuItem.Click
ListBox1.Items.Clear()
WebBrowser1.Navigate("https://www.mpgh.net/forum/misc.php?do=getsmilies&editorid=vB_Editor_001")
End Sub
Private Sub DownloadSelectedToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DownloadSelectedToolStripMenuItem.Click
Dim SaveSmile As New SaveFileDialog
With SaveSmile
.Title = "Smile Destination"
End With
SaveSmile.ShowDialog()
Dim Extensao As String = ListBox1.SelectedItem.ToString.Remove(0, ListBox1.SelectedItem.ToString.Length - 4)
My.Computer.Network.DownloadFile(ListBox1.Selected Item, SaveSmile.FileName & Extensao, "", "", True, 10000, True)
MsgBox("Download Complete", MsgBoxStyle.Information, "Download Info")
End Sub
Private Sub DownloadAllToolStripMenuItem_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles DownloadAllToolStripMenuItem.Click
Dim SaveAll As New FolderBrowserDialog
SaveAll.Description = "Select a folder to download the smiles:"
SaveAll.ShowDialog()
ProgressBar1.Maximum = ListBox1.Items.Count - 1
ProgressBar1.Minimum = 0
For Each It In ListBox1.Items
Try
Application.DoEvents()
Dim Extensao As String = ListBox1.Items(ListBox1.Items.IndexOf(It)).ToStrin g.Remove(0, 42).ToString
Application.DoEvents()
My.Computer.Network.DownloadFile(ListBox1.Items(Li stBox1.Items.IndexOf(It)), SaveAll.SelectedPath & "/" & Extensao, "", "", False, 50000, True)
Application.DoEvents()
ProgressBar1.Value = ListBox1.Items.IndexOf(It)
Application.DoEvents()
Catch ex As Exception
End Try
Next
ProgressBar1.Value = ListBox1.Items.Count - 1
MsgBox("Download Complete!", MsgBoxStyle.Information, "Download Info")
End Sub
End Class[/highlight]
@Jabuuty671
Last edited by Lyoto Machida; 03-26-2011 at 07:33 PM.
That's actually really cool. o.o
I just don't see how it's all that super useful. xD
Still, nice work.
Lyoto Machida (03-26-2011)
nice one dude
[MPGH]master131 (03-27-2011)
Thank You Very Cool
/ nice one download.
Also, use of a webbrowser is not necessary. There are better methods of getting the images.
Donate:
BTC: 1GEny3y5tsYfw8E8A45upK6PKVAEcUDNv9
Handy Tools/Hacks:
Extreme Injector v3.7.3
A powerful and advanced injector in a simple GUI.
Can scramble DLLs on injection making them harder to detect and even make detected hacks work again!
Minion Since: 13th January 2011
Moderator Since: 6th May 2011
Global Moderator Since: 29th April 2012
Super User/Unknown Since: 23rd July 2013
'Game Hacking' Team Since: 30th July 2013
--My Art--
[Roxas - Pixel Art, WIP]
[Natsu - Drawn]
[Natsu - Coloured]
All drawings are coloured using Photoshop.
--Gifts--
[Kyle]