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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Error Invoking Groupwise from w/n VB

Status
Not open for further replies.

byrne1

Programmer
Aug 7, 2001
415
US
I get a "Run Time Error -2147352567 (80020009)" message
when I invoke the following command on a client PC:

Set objAccount = objGroupWise.Login

This code is in a Visual Basic application that attempts to
create and send an Email via Groupwise (see entire code
below). This code words fine on my development machine but
will not work on my client's Win95 PC. I've installed
Novell Software Development Kit and Novell Libraries for
Visual Basic on the client PC but to no avail. My client
is running Novell Groupwise 5.5.2.

VISUAL BASIC CODE
-----------------
Set objGroupWise = CreateObject("NovellGroupWareSession")
Set objAccount = objGroupWise.Login
Set objMailBox = objAccount.MailBox
Set objMessages = objMailBox.Messages
Set objMessage = objMessages.Add("GW.MESSAGE.MAIL", "Draft")
Set objRecipients = objMessage.Recipients
Set objAttachments = objMessage.Attachments
objMessage.Subject = "TEST TEST
objMessage.Recipients.Add "trb.corp01.email6@compassbnk.com"
objMessage.BodyText = "TEST TEST TEST"
Set objMessageSent = objMessage.Send
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top