Skip to content

String

Forum Replies Created

Viewing 15 posts - 1 through 15 (of 328 total)
  • Author
    Posts
  • #191070
    String
    Member

    @Chike wrote:

    You gotta be cruel to be kind, in the right measure.

    Just wanted to pop in and say, cool song reference there Chike!

    #181165
    String
    Member

    I believe that is TWiZA’s program. If he doesn’t see this thread, send him a PM. You might also want to view this thread.

    #175138
    String
    Member

    @deeva2 wrote:

    can we add more than one right answer?

    I don’t believe the version you have has the ability to have two or more correct answers.

    #175143
    String
    Member

    @deeva2 wrote:

    ” us% currently has pt%”
    “The winner is us% with pt%”
    nor do these work. How do I use them?

    In this case, us% is the User or person who answered correctly. pt% would be the Points they have scored for the question or their total score.

    In other places, the sn% means Screen Name.
    As to why it wont post to the room..I’m not able to look at the code at the moment, but Loco or someone else will help you.

    #174876
    String
    Member

    Nice clean layout.

    I also agree with Chike on uploading it to the forum instead of using mediafire. Just remove old files as you update and upload new files.

    #186627
    String
    Member

    I’ll try to help here, but I’m not really sure where your at or what your question is exactly.
    @ChiNa-Man wrote:

    And this is where I am stuck:
    Code: Select all
    if status is away:
    if wasn’t away before: remember all openned PM

    If I understand correctly, It’s easy to know when you are Away since you change your status to Away via your own program.
    So, In your timer :
    If Away = True Then
    Code for logging open pm’s or “remembering” them.
    End If

    #186642
    String
    Member

    @ChiNa-Man wrote:

    1) Do I still have to use the find “Window” class method? And maybe attach your code into it… Or should woek on your code and simply delete the find “Window” by class method?

    2) If I use the little peace of code you provided, how can I make it send the PM TITLE (ONLY) to a TEXTBOX?

    Your still using FindWindow, only its FindwindowEx.

    I modified Chikes code a bit and made it into a Sub. It Adds all open pm windows Title and Handle to a listbox titled Listbox1.

    Just call the GetPMWindows sub and it will populate the listbox with any open pms

    Public Sub GetPMWindows()
    Dim sb As New StringBuilder(256)
    Dim hWnd As IntPtr = IntPtr.Zero
    
    While True
    ' find window on desktop after hwnd, sero mean first
    hWnd = FindWindowEx(IntPtr.Zero, hWnd, "DlgGroupChat Window Class", vbNullString)
    If hWnd = IntPtr.Zero Then Exit While ' no more windows
    sb.Length = GetWindowText(hWnd, sb, sb.Capacity)
    Dim str As String = sb.ToString()
    
    If str.Length = 0 Or str.EndsWith(" Room") Then Continue While ' continue to next window if error or room window
    
    If Not ListBox1.Items.Contains("WinTitle - " & str & " WinHandel - " & hWnd.ToString) Then
    ListBox1.Items.Add("WinTitle - " & str & " WinHandel - " & hWnd.ToString)
    End If
    
    End While
    
    End Sub

     

    #186649
    String
    Member

    I’m interested in seeing your finished product. Keep us updated.

    #186652
    String
    Member

    Here is a function that will get the title of any DlgGroupChat Window Class ( pm or chatroom )

     Public Function FindWindowsTitleText() As String
    Dim strbuilder As New StringBuilder(1024)
    Dim PalClass As String = "DlgGroupChat Window Class"
    Dim hWndMain As IntPtr = FindWindow(PalClass, vbNullString)
    
    GetWindowText(hWndMain, strbuilder, strbuilder.Capacity)
    Return strbuilder.ToString
    
    End Function

     

    #186654
    String
    Member

    I just noticed that Autopilots room selector dll gets the title of open pm windows. So within that source would be an example of how to do it.

    #190261
    String
    Member

    It shouldn’t be that different. Look at the code and at least try to adapt it to vb6. If you cant get it to work after trying… start a new thread and post the code you have so far.

    #190668
    String
    Member

    This is an update to my previous example. My example above is for versions of pal older than 10.2 485.
    The example below is for 10.2 485 and, possibly, newer. I only tested this on 10.2 485.

    #190263
    String
    Member

    Here is an example on how to do it using vb2010. It may need updated, but it still shows how to add the room nic list to a listbox.

    I found this using the forum search 😉

    http://www.imfiles.com/topic/how-to-get-names-in-paltalk-room-to-a-listbox/

    #190660
    String
    Member

    @UnclePaeng wrote:

    Im trying to work out with this code below which doesnt seem to work( it only returns this

    Ä :WindowsMicrosoft.NetassemblyGAC_MSILSystem.Xmlv4.0_4.0.0.0__b77a5c561934e089System.Xml.dll

    followed by weird characters that i dont understand if i keep on clicking the button).

    That is what is written to your Textbox1.Text??

    #186658
    String
    Member

    @Chike wrote:

    Isn’t it more simple just to check the room title to tell if it’s IM window?

    I don’t know if it is simpler, but yes that would certainly be another way to do it. The only problem I would foresee would be if there were other DlgGroupChat Window Class‘s that were present that had neither the “Voice Room” or “Private Room” in their title, but were not a PM window either.

Viewing 15 posts - 1 through 15 (of 328 total)