To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
VBForums  

VB Wire News
Part 10 of the Visual Basic .NET 2010 Express Tutorial Complete!
How to Use the Visual Studio Code Analysis Tool FxCop
Article :: Interview with Andrei Alexandrescu (Part 3 of 3)
Introducing Visual Studio LightSwitch
Visual Studio LightSwitch Beta 1 is Available



Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier

Reply Post New Thread
 
Thread Tools Display Modes
Old Aug 21st, 2007, 01:11 AM   #1
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
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.
m110033 is offline   Reply With Quote
Old Aug 21st, 2007, 03:09 AM   #2
DigiRev
"Digital Revolution"
 
Join Date: Mar 05
Posts: 4,465
DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)
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).
DigiRev is offline   Reply With Quote
Old Aug 21st, 2007, 05:16 AM   #3
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
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?

m110033 is offline   Reply With Quote
Old Aug 21st, 2007, 07:29 AM   #4
Hack
Super Moderator
 
Hack's Avatar
 
Join Date: Aug 01
Location: Sterling Heights, Michigan
Posts: 54,243
Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)Hack has a brilliant future (2000+)
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.
__________________
Please use [Code]your code goes in here[/Code] tags when posting code.
When you have received an answer to your question, please mark it as resolved using the Thread Tools menu.
Before posting your question, did you look here?
Got a question on Linux? Visit our Linux sister site.
I dont answer coding questions via PM or EMail. Please post a thread in the appropriate forum.

Creating A Wizard In VB.NET
Modifications Required For VB6 Apps To Work On Vista
Paging A Recordset
What is wrong with using On Error Resume Next
Good Article: Language Enhancements In Visual Basic 2010
IT professionals freelancer site. Register today to find coders, or offer your services for available freelance projects!
Upgrading VB6 Code To VB.NET
Microsoft MVP 2005/2006/2007/2008/2009/2010
Hack is offline   Reply With Quote
Old Aug 21st, 2007, 08:24 PM   #5
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
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.
m110033 is offline   Reply With Quote
Old Aug 21st, 2007, 08:49 PM   #6
DigiRev
"Digital Revolution"
 
Join Date: Mar 05
Posts: 4,465
DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)
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.
DigiRev is offline   Reply With Quote
Old Aug 21st, 2007, 08:56 PM   #7
DigiRev
"Digital Revolution"
 
Join Date: Mar 05
Posts: 4,465
DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)
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.
DigiRev is offline   Reply With Quote
Old Aug 22nd, 2007, 05:20 AM   #8
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
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.
m110033 is offline   Reply With Quote
Old Aug 25th, 2007, 10:26 AM   #9
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
Re: Yahoo SDK

anyone?
m110033 is offline   Reply With Quote
Old Aug 25th, 2007, 05:18 PM   #10
DigiRev
"Digital Revolution"
 
Join Date: Mar 05
Posts: 4,465
DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)
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.
DigiRev is offline   Reply With Quote
Old Aug 25th, 2007, 06:10 PM   #11
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
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?
m110033 is offline   Reply With Quote
Old Aug 25th, 2007, 08:57 PM   #12
DigiRev
"Digital Revolution"
 
Join Date: Mar 05
Posts: 4,465
DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)
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/
DigiRev is offline   Reply With Quote
Old Aug 26th, 2007, 10:52 AM   #13
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
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?
m110033 is offline   Reply With Quote
Old Aug 26th, 2007, 12:36 PM   #14
DigiRev
"Digital Revolution"
 
Join Date: Mar 05
Posts: 4,465
DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)DigiRev is a glorious beacon of light (400+)
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.
DigiRev is offline   Reply With Quote
Old Aug 26th, 2007, 09:26 PM   #15
m110033
New Member
 
Join Date: May 07
Posts: 14
m110033 is an unknown quantity at this point (<10)
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.
m110033 is offline   Reply With Quote
Reply

Go Back   VBForums > Visual Basic > Visual Basic 6 and Earlier


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 05:38 AM.





Acceptable Use Policy

Internet.com
The Network for Technology Professionals

Search:

About Internet.com

Legal Notices, Licensing, Permissions, Privacy Policy.
Advertise | Newsletters | E-mail Offers

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.