vladiii Posted September 15, 2007 Report Posted September 15, 2007 Download Link:[url]http://rapidshare.com/files/55921966/Yahoo__Emoticons.exe.html[/url]Acest program va permite vizualizarea tuturor emoticonurilor ascunde ale Yahoo!. De asemenea, le puteti trimite direct in fereastra de chat printr-un simplu click pe imagine.Programul este realizat in Visual Basic 6 si foloseste APIuri din Windows. Sursa este:1.In modul:Public Declare Function SendMessage Lib "user32" Alias "SendMessageA" (ByVal hwnd As Long, ByVal wMsg As Long, ByVal wParam As Long, lParam As Any) As LongPublic Declare Function FindWindow Lib "user32" Alias "FindWindowA" (ByVal lpClassName As String, ByVal lpWindowName As String) As LongPublic Declare Function FindWindowEx Lib "user32" Alias "FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, ByVal lpsz1 As String, ByVal lpsz2 As String) As LongPublic Const WM_SETTEXT = &HCDim subparent As LongDim subparent2 As LongDim parent As LongDim b As LongPublic Function trimiteredirect(emoticon As String)parent = FindWindow("YSearchMenuWndClass", vbNullString)If (parent <> 0) Thensubparent = FindWindowEx(parent, 0&, "IMClass", vbNullString)subparent2 = FindWindowEx(subparent, 0&, "YIMInputWindow", vbNullString)Call SendMessage(subparent2, &HC, 0, ByVal emoticon)b = FindWindowEx(subparent&, 0&, "Button", "&Send" & Chr(0))Call SendMessage(b, &HF5, 0, 0)End IfEnd FunctionPublic Function trimitere(emoticon As String)parent = FindWindow("YSearchMenuWndClass", vbNullString)If (parent <> 0) Thensubparent = FindWindowEx(parent, 0&, "IMClass", vbNullString)subparent2 = FindWindowEx(subparent, 0&, "YIMInputWindow", vbNullString)Call SendMessage(subparent2, &HC, 0, ByVal emoticon)End IfEnd Function2. Pe eventul Click al imaginii (adaugati PictureBox), punem urmatorul cod (eu am lasat doar 2 imagini, pentru restul, sursa este asemanatoare):Private Sub Picture26_Click()If (Check1.Value = Unchecked) ThenCall trimitere(":-@")ElseCall trimiteredirect(":-@")End IfEnd SubPrivate Sub Picture27_Click()If (Check1.Value = Unchecked) ThenCall trimitere("^^")ElseCall trimiteredirect("^^")End IfEnd SubAsta este pe Formular, evident. De asemenea, trebuie adaugat pe Form si un CheckBox cu numele Check1. Cam asta este sursa/programul. Enjoy ! [ce face omul cand se plictiseste ].P.S. Nu am postat aceasta sursa pe mai multe forumuri pentru a ma lauda (programul nu este cine stie ce), am postat pentru ca si altii sa vada sursa si eventual sa o poata folosi in alte parti. Sunt sigur ca multi dintre voi sunteti capabili sa o faceti, insa acesta este doar un Snippet !!! Quote
J0K3R Posted September 15, 2007 Report Posted September 15, 2007 La emoticonul ai pus " #39;' " in loc de " " Quote
katmai Posted September 15, 2007 Report Posted September 15, 2007 Felicitar,da era mai fain de il puneai sa faca un "injection" in yahoo mess,adica unde sunt si celelate Quote