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.
Printable View
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.
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).
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.
He reference to "Yahoo Messenger TypeLib" .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
Then anyone know how he made it?
:)
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 wordsIf 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.Quote:
Originally Posted by m110033
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.
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.
You said your friend used it to change the status, so why not ask him? :confused:
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.
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.
:ehh:
anyone?
Then it's not from the SDK. Some of Yahoo's DLL's can be used in VB. But probably not from the SDK.Quote:
Originally Posted by m110033
Oh,I know.Quote:
Originally Posted by DigiRev
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.Quote:
Originally Posted by m110033
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/
Quote:
Originally Posted by DigiRev
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/vbQuote:
Originally Posted by m110033
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.Quote:
Originally Posted by DigiRev
I'll try and do my best.