VB 2008 Paltalk Integration

Viewing 12 posts - 46 through 57 (of 57 total)
  • Author
    Posts
  • #33620
    Locohacker
    Administrator

    man, the problem was when i transfer the site to a new server like a year ago I was suppose to upload the files of the forums in safe mode something with the ftp client and i didn’t lol and when i figure out why some files where missing including pics it was too late, i cant even find my old backups 🙁

    #33621
    String
    Moderator

    I understand. I’ve had similar things happen during a server transfer.
    After 15 years of working with vb5 and 6, I’ve finally begin working in .net and immediately remembered this tutorial of AutoPilots. Even with the pix missing, it’s still a great tutorial for Pal programming.

    #33630

    @autopilot Is there any way to customize the room selector? I want to use a custom combobox. Any way at all to make it work using a custom themed comboxbox?

    #33628
    autopilot
    Administrator

    @deeva2 wrote:

    @autopilot Is there any way to customize the room selector?

    you can get the source code for the room selector from VB2008 PalRoomSelector project.

    #33631

    @autopilot wrote:

    @deeva2 wrote:

    @autopilot Is there any way to customize the room selector?

    you can get the source code for the room selector from VB2008 PalRoomSelector project.

    Thanks auto. I managed to change the combobox style. After changing it, I started a new project and followed your steps to integrate but it fails to select rooms. Here is what I did:

    1. I opened the palroomselector project, skinned the combobox, then saved the project
    2. I opened a new project, added the mdl resources (4 total)
    3. I added a reference and pointed to the newly-skinned room selector.dll
    4. I added the new room selector.dll to the toolbox and dragged it onto form1
    5. I double clicked form1 and on form1’s load event, I added

    Me.CtrlRoomSelector1.SetWinClass(mdlPalInfo.ChatRoomClass)

    6. I saved it, ran the project, but rooms do not appear in the dropdown.

    What have I forgotten dear kind sir?

    #33629

    Please help, I keep getting an error when testing the room selector in a new project. All I am testing is the room selector, I did not go past the room selector part of this tut.

    A first chance exception of type System.ArgumentOutOfRangeException' occurred in System.Windows.Forms.dll
    #33627
    autopilot
    Administrator

    I am not sure why you would be getting the error you are getting. But you have the source to the room selector, so instead of trying to use it as a dll, create a new forms app and use the code in the selector to make your own selector in the form rather then the dll.

    Try to use my selector code to learn how to do it yourself. In other words, do not just copy and paste everything, but go through my code to help yourself understand what my code is doing, and then create your own code. In programming, there is almost always more then 1 way to do a given task. You will learn so much more if you create your own rather then copy from someone else.

    #33625

    @autopilot wrote:

    I am not sure why you would be getting the error you are getting. But you have the source to the room selector, so instead of trying to use it as a dll, create a new forms app and use the code in the selector to make your own selector in the form rather then the dll.

    Try to use my selector code to learn how to do it yourself. In other words, do not just copy and paste everything, but go through my code to help yourself understand what my code is doing, and then create your own code. In programming, there is almost always more then 1 way to do a given task. You will learn so much more if you create your own rather then copy from someone else.

    Alright dear sir, I’ll do just that. I’m still a total noob though, and much like complex algebra, I see the code but cant comprehend the meaning. However, I’ll do my best and keep you posted.

    #33626

    And finally….I’ve found the problem.

    Select Case mdlPalInfo.PalMajorVer
    Case 10

    Case 10 was missing. Finally I can rest!

    #33622
    autopilot
    Administrator

    @deeva2 wrote:

    Case 10 was missing. Finally I can rest!

    Way to go! It is always nice when you can start stepping through a program and find what is causing it to act in a certain way. And that is also harder to do with someone else’s code because you are not always sure of the intended outcome.

    #33623
    ChiNa
    Administrator

    @deeva2 wrote:

    And finally….I’ve found the problem.

    Select Case mdlPalInfo.PalMajorVer
    Case 10

    Case 10 was missing. Finally I can rest!

    Perfect Hit! Glad you made it! And sorry I missed this part of your comment! And glad that you came back to let us know! And this was also a helping experience for me because I actually didnt know this part either! Good job!

    #33624
    ChiNa
    Administrator

    @deeva2 wrote:

    And finally….I’ve found the problem.

    Select Case mdlPalInfo.PalMajorVer
    Case 10

    Case 10 was missing. Finally I can rest!

    @Deeva, Perfect Hit! And you heard it from the the best teacher himself, and the best arround to give advice/help (Auto-Pilot),,,

    Glad you made it! And sorry I missed this part of your comment! And glad that you came back to let us know! And this was also a helping experience for me because I actually didnt know this part either! Good job!

    @Auto-Pilot, How could I have Possibly missed this! Thank you so much for this great Explanation! Your an amazing person when it comes to teaching and explaining! I got it all, word by word! Thank you very much for your patience and for taking your time explaining!

Viewing 12 posts - 46 through 57 (of 57 total)
  • You must be logged in to reply to this topic.