Access 2000 to 2003, get error 438

  • Follow


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

0
Reply Utf 6/3/2010 3:59:01 AM

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" <fox@discussions.microsoft.com> wrote in message 
news:94E3B164-23AA-49D6-86C8-FD7862EB1EF3@microsoft.com...
> 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
> 
0
Reply Alex 6/3/2010 2:16:55 PM


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" wrote:

> 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" <fox@discussions.microsoft.com> wrote in message 
> news:94E3B164-23AA-49D6-86C8-FD7862EB1EF3@microsoft.com...
> > 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
> > 
> .
> 
0
Reply Utf 6/4/2010 8:10:59 PM

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" <fox@discussions.microsoft.com> wrote in message 
news:8F1D186E-6D00-4CA7-8848-7B738E03B0F5@microsoft.com...
> 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" wrote:
>
>> 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" <fox@discussions.microsoft.com> wrote in message
>> news:94E3B164-23AA-49D6-86C8-FD7862EB1EF3@microsoft.com...
>> > 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
>> >
>> .
>> 
0
Reply Alex 6/7/2010 8:55:02 AM

3 Replies
504 Views

(page loaded in 0.046 seconds)

Similiar Articles:
















7/22/2012 11:58:23 PM


Reply: