mindlessclone2003
Technical User
Does anyone know why I'm getting the following error in my script: "Run-time error '-2147417848 (80010108)': Method '~' of object '~' failed"? I can run all of my code successfully from within VB, but when I compile it and try to run it standalone it gives me this message. I'm running this script on the same machine for which it was developed, and even attempted to install a new version of MDAC as was suggested in other postings elsewhere. Any help???
Code:
Dim gwMessage As GroupwareTypeLibrary.Message
Dim gWAccount As GroupwareTypeLibrary.Account
Dim GWApp As GroupwareTypeLibrary.Application
Set GWApp = CreateObject("NovellGroupWareSession"
Set gWAccount = GWApp.Login("user", vpassword:="password"
Set gwMessage = gWAccount.MailBox.Messages.Add
gwMessage.BodyText = "Testing..."
gwMessage.Subject = "Test Email..."
gwMessage.Recipients.AddByDisplayName "John Doe"
gwMessage.Send
Set GWApp = Nothing
Set gWAccount = Nothing
I seem to have problems with the following line:
Set gWAccount = GWApp.Login("user", vpassword:="password"
Code:
Dim gwMessage As GroupwareTypeLibrary.Message
Dim gWAccount As GroupwareTypeLibrary.Account
Dim GWApp As GroupwareTypeLibrary.Application
Set GWApp = CreateObject("NovellGroupWareSession"
Set gWAccount = GWApp.Login("user", vpassword:="password"
Set gwMessage = gWAccount.MailBox.Messages.Add
gwMessage.BodyText = "Testing..."
gwMessage.Subject = "Test Email..."
gwMessage.Recipients.AddByDisplayName "John Doe"
gwMessage.Send
Set GWApp = Nothing
Set gWAccount = Nothing
I seem to have problems with the following line:
Set gWAccount = GWApp.Login("user", vpassword:="password"