QUOTE(TheUberOverlord @ Tue Jun 5 2007, 16:55) [snapback]402926[/snapback]
Since you can't see the working example. I can only tell you that it supports looking up user data for both contacts as well as Skype users not in your contact list.
I have had many people try this example using IE7 and it worked fine, it maybe a IE security setting or Skype setting that is not allowing you to run this.
This (IE users) example proves my point, because it calls Skype.SearchForUsers *before* any of the IUser properties are retrieved. Without SearchForUsers (or without bring up the profile dialog on that particular user), the IUser properties for any skype user who is NOT in your contact list are "unknown" (empty, zero, null, etc)
1. Sign out of the Skype client
2. Log into the Skype client
3. Using the Skype4COM API, attach to the Skype client, and
4. retrieve a user who is NOT in your contact list (I'm using Skype.User["arturinch"], but anyone will do)
5. Notice how the COUNTRY property (or any other property other than HANDLE and FULLNAME) is empty
6. Bring up the profile dialog for that particular user
7. Repeat step #4, and notice how the COUNTRY property now reads "Latvia".
Anyway, I guess I have answered my own question. I need to call Skype.SearchForUsers *before* I ask for any of the IUser properties. Otherwise, no IUser property values.