Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 8.0 Bug??
Message
From
27/06/2003 14:22:00
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
VFP 8.0 Bug??
Miscellaneous
Thread ID:
00804812
Message ID:
00804812
Views:
51
I am generating an e-mail through Lotus Notes. The following code
works fine in VFP 6.0(5) and VFP 7.0(1), but fails in VFP 8.0:

lcRecipient="Recipient 1;Recipient 2;Recipient 3"

* create ARRAY of recipients
=ALINES(acRecipients,CHRTRAN(lcRecipient,";",CHR(13)))

loNotes=CREATEOBJECT("Lotus.Notessession")
loNotes.Initialize("NotesPassword")
lcNotesDatabase="c:\notes\data\names.nsf"

loDB=loNotes.GetDatabase("",lcNotesDatabase)
lnNumRows=ALEN(acRecipients,1)

loDoc=lodb.createdocument
loDoc.Replaceitemvalue("Subject","Automation Test- Run #10 - Release 8.0")

****** FAILS HERE ******
loDoc.ReplaceItemValue("SendTo", @acRecipients)
****** END FAILS HERE ******

*loDoc.ReplaceItemValue("CopyTo",lcSender)
loRichTextItem = loDoc.CreateRichTextItem("Body")
loRichTextItem.AppendText("Client LLC")
loRichTextItem.AppendText ....
loDoc.Send(.F.)
RELEASE ALL LIKE lo*



VFP 8.0 gives an error:
"The class file () associated with this field cannot be found - class
association cleared".

This is running directly from a PRG.

Has anyone seen this? Am I looking at a bug or
was there an intentional change in VFP 8.0 which will require me to
take a different approach??
Next
Reply
Map
View

Click here to load this message in the networking platform