Awesome! I've been looking for the right place to post my question...this is the place, I'm quite sure...
I operate a project management solution run as an "intranet" for my company. All users have Skype already on their machines (FYI). I want to be able to automate the sending of chat messages to them via ASP code on thr web server (also has Skype client installed).
An example of WHY is...
The system (among many other things) allows people to open new projects and close projects. When a project opens, things around the building need to happen. Right now, when the FORM that requests the information about the new project POSTS, an ASP function executes that updates some things in a database..it also sends some emails out. My people here asked a great question, can this function also send a quick Skype message that says "A JOB JUST OPENED..."
This is, of course, only one example.
I've tried to use the VBS code I found on the Skype developer website, but WScript VBS files cannot be used on ASP easily. The object does somewhat "function" when I use:
Set oSkype = Server.CreateObject("Skype4COM.Skype")
...but I get a...
Error Type:
Skype4COM.Skype.1 (0x80040207)
Skype client is not installed.
/skype/makecall.asp, line 8
Line 8 is: If Not oSkype.Client.IsRunning Then oSkype.Client.Start() End If
(directly pasted from the vbs code on the Skype developer website)
so when I comment out line 8 I get:
Error Type:
Skype4COM.Skype.1 (0x80040201)
Wait timeout.
/skype/makecall.asp, line 17
line 17 is: Set oChat = oSkype.CreateChatWith("aaronluckette")
In summary, the .vbcs file when run directly from the server, (double-clicked on) runs fine and the user gets the message wonderfully, so I though it might be a permissions thing...my IIS (unsecure as this is) is now set to "Administrator" account with "Low" security setting and all that, just to be sure.
I'm very frustrated although confident I'm right on the edge of having this thing beat.
I appreciate any help I can get, particualarly from an advance Skye Developer. I have been an ASP'r since that term was invented in the 90's.
Thanks again,
aaronluckette
Skype MeIf you are placing this in the web page that is being served to the end user, than the script code would be executing on the end user computer correct?