Access 2000 to 2003, get error 438

  • Thread starter Thread starter fox
  • Start date Start date
F

fox

Hello,
We have a Access 2000 program which is running fine on old PC. After we
changed to new PC(Win7 with Office 2003), we can't get it work correctly
anyway. When running the fuction, we always got "error 438: Object doesn't
support this property or method". We check the references, all are
registered.

The problem code is the first line:

If [Forms]![aMAPIStsF].Form.MAPISess.NewSession Then
MsgBox "Session already established"
Exit Function
End If


Any advice?
Thank you very much.

Fox
 
Thank you for answer.
Do you have any idea which one could be? We try to maintenance this program,
not sure which one we missed.

Fox

Alex Dybenko said:
Hi,
it looks like you are using activex control, something about MAPI, you have
to copy it to a new PC and register there using regsvr32.exe, or perhaps
install it, if you have installation package

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com


fox said:
Hello,
We have a Access 2000 program which is running fine on old PC. After we
changed to new PC(Win7 with Office 2003), we can't get it work correctly
anyway. When running the fuction, we always got "error 438: Object doesn't
support this property or method". We check the references, all are
registered.

The problem code is the first line:

If [Forms]![aMAPIStsF].Form.MAPISess.NewSession Then
MsgBox "Session already established"
Exit Function
End If


Any advice?
Thank you very much.

Fox
.
 
Hi,
looks like this is a MICROSOFT MAPI CONTROL 6.0, which was installed with
visual studio 6 or visual basic 6, or perhaps Access developer tools

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com

fox said:
Thank you for answer.
Do you have any idea which one could be? We try to maintenance this
program,
not sure which one we missed.

Fox

Alex Dybenko said:
Hi,
it looks like you are using activex control, something about MAPI, you
have
to copy it to a new PC and register there using regsvr32.exe, or perhaps
install it, if you have installation package

--
Best regards,
___________
Alex Dybenko (MVP)
http://accessblog.net
http://www.PointLtd.com


fox said:
Hello,
We have a Access 2000 program which is running fine on old PC. After
we
changed to new PC(Win7 with Office 2003), we can't get it work
correctly
anyway. When running the fuction, we always got "error 438: Object
doesn't
support this property or method". We check the references, all are
registered.

The problem code is the first line:

If [Forms]![aMAPIStsF].Form.MAPISess.NewSession Then
MsgBox "Session already established"
Exit Function
End If


Any advice?
Thank you very much.

Fox
.
 
Back
Top