|
-
Aug 21st, 2007, 01:11 AM
#1
Thread Starter
New Member
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.
-
Aug 21st, 2007, 03:09 AM
#2
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).
-
Aug 21st, 2007, 05:16 AM
#3
Thread Starter
New Member
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?
-
Aug 21st, 2007, 07:29 AM
#4
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
 Originally Posted by m110033
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.
-
Aug 21st, 2007, 08:24 PM
#5
Thread Starter
New Member
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.
-
Aug 21st, 2007, 08:49 PM
#6
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.
-
Aug 21st, 2007, 08:56 PM
#7
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.
-
Aug 22nd, 2007, 05:20 AM
#8
Thread Starter
New Member
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.
-
Aug 25th, 2007, 10:26 AM
#9
Thread Starter
New Member
-
Aug 25th, 2007, 05:18 PM
#10
Re: Yahoo SDK
 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.
-
Aug 25th, 2007, 06:10 PM
#11
Thread Starter
New Member
Re: Yahoo SDK
 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?
-
Aug 25th, 2007, 08:57 PM
#12
Re: Yahoo SDK
 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/
-
Aug 26th, 2007, 10:52 AM
#13
Thread Starter
New Member
Re: Yahoo SDK
 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?
-
Aug 26th, 2007, 12:36 PM
#14
Re: Yahoo SDK
 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.
-
Aug 26th, 2007, 09:26 PM
#15
Thread Starter
New Member
Re: Yahoo SDK
 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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|