Forum Replies Created
-
AuthorPosts
-
June 14, 2011 at 11:57 am #190311zakir2Member
Hello autopilot, many thanks for your quick reply.
do you have VB.Net version link/source? I need to run project on win7 32/64.thanks,
zakirJune 14, 2011 at 5:02 am #190313zakir2MemberMy Last query/request is
can you please give me line of code how to send file to specified nick/user? your this help will be really appreciative for me. Wishes zakir.June 13, 2011 at 5:30 pm #190315zakir2MemberHello, I have read your instruction again where had written
I did not use the mdlSysListView, but you can use it to find and/or highlight a nic in the room nic list.
can you please write steps what to do, to get all nick in list from selected room.
I need this for my project …..
Please give idea….wishes, zakir.
June 13, 2011 at 3:20 pm #190316zakir2MemberThanks your quick response. I will do accordingly.
more over:
Can you give idea how to get nick list of selected room.I have written below code but no luck to get list of user/s(nick) of selected Room:(I am a novice in this PAL talk )1.add nick to ListItem
Private Sub Button3_Click(sender As System.Object, e As System.EventArgs) Handles Button3.Click Dim iHnd As Integer iHnd = ReadListHnd() Dim sNickText As String = GetLastLineListNick(iHnd) Me.ListView1.Items.Add(sNickText) End Sub
2.ReadListHnd
Private Function ReadListHnd() As Integer ' Incoming Nick List Dim iHnd As Integer iHnd = mdlGetHnd.SubFormHndByClassNameWithMWClassWithPartialMWCaption(mdlPalInfo.ChatRoomClass, Me.CtrlRoomSelector1.RoomName, mdlPalInfo.SplitterClass, mdlPalInfo.SplitterIndex) iHnd = mdlGetHnd.SubFormHndByClassNameWithMWHnd(iHnd, mdlPalInfo.NicListClass, mdlPalInfo.NicListIndex) Return iHnd End Function
3.GetLastLineListNick
Public Function GetLastLineListNick(ByVal hwnd As Integer) As String Dim iLastLine As Integer Dim strBuffer As New StringBuilder(255) 'Get Line count iLastLine = SendMessage(hwnd, EM_GETLINECOUNT, 0, 0) 'get line text Call SendMessageString(hwnd, EM_GETLINE, iLastLine - 2, strBuffer) Return strBuffer.ToString End Function
Wishes
zakir
=====June 13, 2011 at 2:08 pm #190318zakir2MemberI am very glad atleast you have replied my post.
Now I am have few problems to get it:
1.I cannot get richtext text data
2.I cannot put richtext data
3.I cannot get room’s users
4.can you help me how can send File to user of selected room’s PALs?Please see project what I am doing. Your solution/idea will be very helpful for me. My client has very needed to this solution.
Wishes ,
zakir.
project attachment.
PalTalkRoomFTPJune 12, 2011 at 2:48 pm #190320zakir2Member‘Hello
I have fix it. I have using PalTalk 10 so it goes Else That’s why room list are not apprearing.
Now it is apprearing well . I will update defined code…… later.by the way can any one share me how can send File to user of selected room’s PALs
New Code:
Public ReadOnly Property ChatRoomClass() As String Get If _ChatRoomClass = "" Then Select Case mdlPalInfo.PalMajorVer Case 8 _ChatRoomClass = "My Window Class" Case 9 _ChatRoomClass = "DlgGroupChat Window Class" Case 10 _ChatRoomClass = "DlgGroupChat Window Class" Case Else '_ChatRoomClass = "Error" End Select End If Return _ChatRoomClass End Get End Property
Old Code was:
Public ReadOnly Property ChatRoomClass() As String Get If _ChatRoomClass = "" Then Select Case mdlPalInfo.PalMajorVer Case 8 _ChatRoomClass = "My Window Class" Case 9 _ChatRoomClass = "DlgGroupChat Window Class" Case Else _ChatRoomClass = "Error" End Select End If Return _ChatRoomClass End Get End Property
June 12, 2011 at 2:22 pm #190321zakir2MemberHello,
I need help from you.I have created a simple project with integrating .VB and dll . I have added control in tool named ‘CtrlRoomSelector’ as followed your guideline. but when form loading Chat Rooms cannot appearing. I am using PalTalk 10.0 Build 403 . Visual Studio 2010 professional VB.NET
Please check project I have added in attached. Your early response with guideline will be appreciated.Wishes , zakir
==== -
AuthorPosts