
Change Platform Target of project to x86. Add reference on Skype4COM.dll to project. If your OS is 圆4 look in Program Files (x86) instead of Program Files. The library also could be found in the C:\Program Files\Common Files\Skype directory after Skype installation. Skype4COM is an ActiveX component that represents the Skype API as objects, with properties, commands, events and notifications. I decided to reach similar functionality in Skype. Also we have corporate IM tool that changes users status regarding to Windows user activity. So co-workers still writing me messages because they assume I online. And when I leave my workplace I usually lock PC but Skype status still be "Online".
This tip describes an implementation of a little app that changes the Skype status to "Away" whenever the user locks Windows and brings it back to the previous status when the user unlocks the system. Download SkypeStatusChanger.zip - 13.9 KB.Download SkypeStatusChanger_Extended.zip - 83.6 KB.