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
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