Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem w/ VB NovellGroupWareSession

Status
Not open for further replies.

mindlessclone2003

Technical User
Feb 13, 2003
12
US
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. 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")
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top