How to get the Last Chat Text ?

You can talk about VB programming here

How to get the Last Chat Text ?

Postby UAEWebMaster » Mon Oct 16, 2006 6:13 am


hi again,

i really need to find out a way on how to get the last chat text from paltalk room, i have checked some of the example codes like the greeter made by locohacker, but it is not updated and requires the ATL...

any one help pls.
==== UAEWebMaster ====
UAEWebMaster
imFiles Newbie
imFiles Newbie
 
Posts: 14
Joined: Fri Oct 06, 2006 4:06 am

Postby Departure » Mon Oct 16, 2006 6:47 am

UAE is that the amiga emulator? (Ultimate Amiga Emulator)
User avatar
Departure
Global Moderator
Global Moderator
 
Posts: 996
Joined: Thu Mar 17, 2005 11:26 am
Location: Australia

Postby BattleStar-Galactica » Mon Oct 16, 2006 9:02 am

Code: Select all
  lngCount = SendMessage(hwnd, EM_GETLINECOUNT, 0, 0)

   lngCount =lngCount-2

    Call SendMessageStr(hwnd, EM_GETLINE, lngCount, ByVal strBuffer)
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby UAEWebMaster » Mon Oct 16, 2006 10:47 am

Departure > UAE = United Arab Emirates :)

nanomachine007 > thanks for the code, but i dont have this function, i have searched the site if someone posted this function (SendMessageStr) and i didnt find any, how can i use it ?

can u pls post the function and how i can retrieve the last line :)

thanks all.
==== UAEWebMaster ====
UAEWebMaster
imFiles Newbie
imFiles Newbie
 
Posts: 14
Joined: Fri Oct 06, 2006 4:06 am

Postby Newbie » Mon Oct 16, 2006 11:18 am

Use Sendmessage instead
User avatar
Newbie
imFiles Junior
imFiles Junior
 
Posts: 95
Joined: Fri Oct 07, 2005 2:51 pm

Postby UAEWebMaster » Mon Oct 16, 2006 3:07 pm

thanks newbie, but i am no vb guru , i just use the code which i find it available here...

i know that i am asking too much , but u guys are very helpful so can somebody look up the attached code and see it ..

i made a button which suppose to get the last chat line, but i dont have any real function to call it, i want the last chat text to appear in the richtextbox2 text.

here is the code..
Attachments
code_001.rar
Need Help in CmdGetLastLine Button..
(5.78 KiB) Downloaded 67 times
==== UAEWebMaster ====
UAEWebMaster
imFiles Newbie
imFiles Newbie
 
Posts: 14
Joined: Fri Oct 06, 2006 4:06 am

Postby BattleStar-Galactica » Mon Oct 16, 2006 4:07 pm

try this code
Attachments
getlastlinepaltalk.zip
(2.17 KiB) Downloaded 106 times
Big math problem
2 - 1 = 0 = without you I'm nothing
User avatar
BattleStar-Galactica
imFiles Master
imFiles Master
 
Posts: 565
Joined: Tue Sep 20, 2005 12:19 am
Location: safest place to hide

Postby UAEWebMaster » Thu Oct 19, 2006 11:20 am

thaaaaaaaaaaaaaaaaaanks alot nanomachine007 u r a life saver

yes this is exactly what i am looking for...

thanks a million all of you...

i will try to do something with the code and i will post the results ..
==== UAEWebMaster ====
UAEWebMaster
imFiles Newbie
imFiles Newbie
 
Posts: 14
Joined: Fri Oct 06, 2006 4:06 am


Return to Visual Basic Programming

 


  • Related topics
    Replies
    Views
    Last post

Who is online

Users browsing this forum: No registered users and 0 guests