- This topic has 6 replies, 2 voices, and was last updated 10 years ago by Chike.
-
AuthorPosts
-
January 31, 2014 at 8:43 pm #190617JiiixMember
Hello,
here i’m in try the vb 😥
anyway i download the source code of program founded in the below link
this is the soruce
i modified the code to work with pal 11.2 B545
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click Dim i As Integer 'Empty the listbox ListBox1.Items.Clear() 'Get listview handle ' Dim iHnd As IntPtr = mdlHnd.GetChild(ChatRoomClass, Me.CtrlRoomSelector1.RoomName, "ATL:00A1AED0", NicListIndex) Dim iHnd As IntPtr = mdlHnd.GetChild("DlgGroupChat Window Class", "SplitterWindowEx", "SplitterWindowEx", NicListIndex) Debug.Print(iHnd) ' For testing Dim iHnd2 As IntPtr = mdlHnd.GetChild(iHnd, "SplitterWindowEx", "SplitterWindowEx", NicListIndex) Debug.Print(iHnd2) ' For testing Dim iHnd3 As IntPtr = mdlHnd.GetChild(iHnd2, "SplitterWindowEx", "SplitterWindowEx", NicListIndex) Debug.Print(iHnd3) ' For testing Dim iHnd4 As IntPtr = mdlHnd.GetChild(iHnd3, "ClassCPaneContainerEx", NicListIndex) Debug.Print(iHnd4) ' For testing Dim iHndX As IntPtr = mdlHnd.GetChild(iHnd4, "ATL:00AD6100", "ATL:00AD6190", NicListIndex) Debug.Print(iHndX) ' For testing 'Add nics to a listbox If iHndX <> IntPtr.Zero Then Dim NicArray() As String = mdlSysListView.GetAllSLVItems(iHnd) Debug.Print(NicArray.Length.ToString) For i = 0 To NicArray.Length - 1 ListBox1.Items.Add(NicArray(i)) Next ListBox1.Items.Insert(0, "Total # of Nics in room is - " & ListBox1.Items.Count) End If End Sub End Class
but still i cant get the nicknames 🙁
January 31, 2014 at 11:11 pm #190623ChikeMemberAnd the rest of the code we need to guess I suppose?
Nor you say what does not work exactly.
And for 545 you need your program to run as administrator.January 31, 2014 at 11:27 pm #190622JiiixMemberi edit the code again
now i can get only the nickname for the one on the mic talk ❓
i need all the nickname on the room
but it’s awesome to have the nickname for the one in the mic now i have an idea to took advantage form this 🙂
the code attached
please advice
January 31, 2014 at 11:29 pm #190621JiiixMember@Chike wrote:
And the rest of the code we need to guess I suppose?
Nor you say what does not work exactly.
And for 545 you need your program to run as administrator.Why you hate me dude
Actually i’m in love with you hhhhhhhhhhh 🙂
January 31, 2014 at 11:57 pm #190620ChikeMember@AbdulrhmanMJ wrote:
@Chike wrote:
And the rest of the code we need to guess I suppose?
Nor you say what does not work exactly.
And for 545 you need your program to run as administrator.Why you hate me dude
Actually i’m in love with you hhhhhhhhhhh 🙂
If I was hating you wouldn’t be able to post this.
We simply not going to debug your code for you, debug your code yourself.
Ask spesific not general questions.February 1, 2014 at 2:23 am #190619JiiixMember@Chike wrote:
@AbdulrhmanMJ wrote:
@Chike wrote:
And the rest of the code we need to guess I suppose?
Nor you say what does not work exactly.
And for 545 you need your program to run as administrator.Why you hate me dude
Actually i’m in love with you hhhhhhhhhhh 🙂
If I was hating you wouldn’t be able to post this.
We simply not going to debug your code for you, debug your code yourself.
Ask spesific not general questions.not debug,
my question why i’m getting only one nickname for the one in the mic not all the nicknames on the room ?
i just ask to look on it see whats wrong in the code
and advice me, that’s the goal form this board to share our knowledge, may i right ?
sorry for the prolongation.
February 1, 2014 at 4:21 am #190618ChikeMember@AbdulrhmanMJ wrote:
i just ask to look on it see whats wrong in the code.
Exactly what I’m talking about, not gonna happen.
You debug your code, if you have a specific question about a line or block of code that dosen’t work ask. -
AuthorPosts
Related
- You must be logged in to reply to this topic.