Access Intertop 2007 and Outputto issue

S

Steven Thomas

Hi,

I have a VB application that has i am trying to upgrade to use Office
2007 using the Office 2007 Interops. I have the current application
running fine using the Office XP interops.

When I change the reference to the the newly installed interops all of
the lines compile fine except for the line referencing outputto.

I have even started a new project with just this code in it
=========================================================================
Imports Microsoft.Office.Interop.Access

Public Class Service1

Sub reporting()
Dim rptaccess As New Application
rptaccess.DoCmd.outputto()
End Sub

End Class
==========================================================================

and the line rptaccess.docmd.outputto reports this error

'OutputTo' is ambiguous because multiple kinds of members with this
name exist in interface 'Microsoft.Office.Interop.Access.DoCmd'.

Has anyone seen this before or know how to fix it?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top