Hello folks
Can somebody point in the direction of the correct question to ask and a source …
I have a routine working fine on Word 97 SR1 running on Win2k desktop & Win2k Server. Among the libraries referenced are
stdOle2.tlb
When the same routine is transferred to Office 2000 running on Win 98 & NT4 its Crash & Burn time
Automation Error 492
Extracts from the routine below working on W2k & Office 97
———————————-
Dim objSession As Object
Dim myItem As Object
Dim objmsg As Object
Dim objRecipient As Object
blah blah
Set objSession = CreateObject(“Mapi.session”)
objSession.logon newSession:=False
Set objmsg = objSession.outbox.messages.Add
objmsg.Subject = strSubject
objmsg.Text = strPriority & Chr(13) & strMessage
Set objRecipient = objmsg.Recipients.Add
objRecipient.Name = strRecipient
objRecipient.resolve
objmsg.send showdialog:=False
objSession.logoff
etc remainder of processing
————-
My questions
1 Are different libraries required
2 Where / how do I ascertain which libraries are required for varying platforms
3 Are there differences in creating Mapi sessions between the platforms
4 What havent I considered >
Cheers
Geof