|
#1
|
|||
|
|||
|
Hello,
I'm running the script below. It works fine in VB and in Word. However it's failing when running on WSH (cscript test.vbs) with the error C:\Development\IM_SIP\test1.vbs(10, 5) Microsoft VBScript runtime error: Object required: 'msgr.CreateUser(...)' There is no documentation about special security on WSH for this function. Any ideas? Thanks Sub test() Dim msgr Dim pUser Dim users Dim service Set msgr = CreateObject("Messenger.MsgrObject") 'MsgBox msgr.Services.Count Set users = msgr.List(0) Set service = msgr.Services.PrimaryService Set pUser = msgr.CreateUser("user@ourcompany.com", service) Call msgr.List(0).Add(pUser) End Sub |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| What is everyone doing about this security flaw til 1/10/06 | dblues | Windows XP General | 11 | 01-06-2006 02:06 AM |
| Re: Downloaded files don't install | Alias | Windows Update | 13 | 01-05-2006 05:05 PM |
| Windoes update failure | Dennis | Windows XP Perform Maintain | 2 | 01-05-2006 06:02 AM |
| Installing Security updates for Windows XP fail | techhelper1010 | Windows XP Perform Maintain | 0 | 01-05-2006 05:58 AM |
| Long delay before Drives & Files appear in My Computer & Address Bar | shizzlenizzlator@gmail.com | Windows XP Help and Support | 3 | 01-05-2006 02:44 AM |