Results 1 to 15 of 15

Thread: Yahoo SDK

  1. #1

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Yahoo SDK

    Can anyone teach me how to use Yahoo's SDK in vb6?
    Just link tohttp://developer.yahoo.com/messenger...tml/index.html.
    There shows the JAVA and C++ how to use.
    But I dont know how to use it in vb6.

  2. #2
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Yahoo SDK

    I don't see anywhere on there that says it can be used for VB6. My guess is it's made for C++ (and JAVA).

  3. #3

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Smile Re: Yahoo SDK

    But I met a person use it to change status with vb6.
    But I don't know how he made it.
    The code is follow.

    Code:
    Dim yahoo As New Messenger2
    
    Private Sub Command1_Click()
    NoReturn (yahoo.Me.Status.SetCustomStatus(" ",1, Null, Null))
    End Sub
    
    Sub NoReturn(a)
    End Sub
    He reference to "Yahoo Messenger TypeLib" .

    Then anyone know how he made it?


  4. #4
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: Yahoo SDK

    Then maybe you should contact the person that used in VB6 and see if they can provide you with some examples.

    I'm with DigiRev on this....I'm guessing it was made for VB6 (maybe there is support for VB.NET - maybe). However, using your own words
    Quote Originally Posted by m110033
    Can anyone teach me how to use Yahoo's SDK in vb6?
    Just link tohttp://developer.yahoo.com/messenger...tml/index.html.
    There shows the JAVA and C++ how to use.
    But I dont know how to use it in vb6.
    If there are examples for Java and C++, and it supported VB6, I suspect there would have been examples for that as well. It makes no sense to develop an SDK that supports multiple platforms and not provide examples for each of those platforms.

  5. #5

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Re: Yahoo SDK

    Then,anyone has any ideas for me?
    I go to http://www.pscode.com , but It seems no upgrade about yahoo's vb's Form.

  6. #6
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Yahoo SDK

    If you're trying to make actual plugins for the program, you'll have to use their SDK.

    If you want to make your own Yahoo! client, you need to learn the protocol. It used to be simple, but that was when they were using YMSG 1 protocol, I have no idea what it's like now.

  7. #7
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Yahoo SDK

    You said your friend used it to change the status, so why not ask him?

    Maybe it uses ActiveX DLLs (I doubt it) which you can reference into your project by going to Project menu -> References, Browse..., locate the .DLL files (try all of them) and click OK.

    If not, you would have to know how the functions are stored in the DLLs and you would declare them and use them like other API functions.

  8. #8

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Re: Yahoo SDK

    I had asked him,but he said he tried a lot of times.
    But only change status can be done.
    So he also didn't know how to use others.
    The DLLL is steuped when the yahoo is steuped.
    So it's form yahoo's DLL.

  9. #9

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Re: Yahoo SDK

    anyone?

  10. #10
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Yahoo SDK

    Quote Originally Posted by m110033
    I had asked him,but he said he tried a lot of times.
    But only change status can be done.
    So he also didn't know how to use others.
    The DLLL is steuped when the yahoo is steuped.
    So it's form yahoo's DLL.
    Then it's not from the SDK. Some of Yahoo's DLL's can be used in VB. But probably not from the SDK.

  11. #11

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Re: Yahoo SDK

    Quote Originally Posted by DigiRev
    Then it's not from the SDK. Some of Yahoo's DLL's can be used in VB. But probably not from the SDK.
    Oh,I know.
    Then do you have any methods to get friends status?
    And anyone how to use the packets about yahoo in vb6 ?
    Just like to make a yahoo messsenger with vb6.
    But i don't have any ideals,can anyone help me?

  12. #12
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Yahoo SDK

    Quote Originally Posted by m110033
    Oh,I know.
    Then do you have any methods to get friends status?
    And anyone how to use the packets about yahoo in vb6 ?
    Just like to make a yahoo messsenger with vb6.
    But i don't have any ideals,can anyone help me?
    If you want to make your own Yahoo! client, learn how to use the Winsock control. Then learn the Yahoo! protocol, so you know what data to send to make it work with the server.

    You may want to try to find a working example first:
    http://www.pscode.com/vb/scripts/Bro...t=Alphabetical

    You can also download Ethereal which is a free packet monitor program and will show you the raw data going back and forth between Yahoo! Messenger and the Yahoo! server.
    http://www.ethereal.com/

  13. #13

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Re: Yahoo SDK

    Quote Originally Posted by DigiRev
    If you want to make your own Yahoo! client, learn how to use the Winsock control. Then learn the Yahoo! protocol, so you know what data to send to make it work with the server.

    You may want to try to find a working example first:
    http://www.pscode.com/vb/scripts/Bro...t=Alphabetical

    You can also download Ethereal which is a free packet monitor program and will show you the raw data going back and forth between Yahoo! Messenger and the Yahoo! server.
    http://www.ethereal.com/

    But,I don't how to use packet about yahoo.
    I had seen the http://www.pscode.com.
    And I had seen all the things about yahoo,but I do don't know how to modify it.
    Can give me ways to learn well?

  14. #14
    "Digital Revolution"
    Join Date
    Mar 2005
    Posts
    4,471

    Re: Yahoo SDK

    Quote Originally Posted by m110033
    But,I don't how to use packet about yahoo.
    I had seen the http://www.pscode.com.
    And I had seen all the things about yahoo,but I do don't know how to modify it.
    Can give me ways to learn well?
    Learn how to use the Winsock control first. Do a search for "Winsock tutorial" on here or on www.pscode.com/vb

    Then maybe make a couple simple chat programs until you learn how it works.

    Making a Yahoo! client isn't easy anymore. A lot of things have changed. You can get some info and links to other sites here:
    http://en.wikipedia.org/wiki/Yahoo!_Messenger_Protocol

    But I wouldn't even bother trying until you can use the Winsock control.

  15. #15

    Thread Starter
    New Member
    Join Date
    May 2007
    Posts
    14

    Re: Yahoo SDK

    Quote Originally Posted by DigiRev
    Learn how to use the Winsock control first. Do a search for "Winsock tutorial" on here or on www.pscode.com/vb

    Then maybe make a couple simple chat programs until you learn how it works.

    Making a Yahoo! client isn't easy anymore. A lot of things have changed. You can get some info and links to other sites here:
    http://en.wikipedia.org/wiki/Yahoo!_Messenger_Protocol

    But I wouldn't even bother trying until you can use the Winsock control.
    OK,thank you.
    I'll try and do my best.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width