Link to home
Start Free TrialLog in
Avatar of mjs082969
mjs082969

asked on

VB 2012: "Overload resolution failed because no accessible 'OutputTo' is most specific for these arguments

Hello,

I have some code that I am moving to Visual Basic 2012.  The code works, except for the following error:

 "Overload resolution failed because no accessible 'OutputTo' is most specific for these arguments

The line that generates the error is as follows:

appAccess.DoCmd.OutputTo(Access.AcOutputObjectType.acOutputReport, "XYZ", "Snapshot Format", gstrSnapshotDir & "\" & gstrDateStamp & " XYZ.snp")
 
Any ideas?

Thanks In Advance,

- Michael
ASKER CERTIFIED SOLUTION
Avatar of kaufmed
kaufmed
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of mjs082969
mjs082969

ASKER

That was it.  Thanks!