[2 days left] What’s wrong with your cloud strategy? Learn why multicloud solutions matter with Nimble Storage.Register Now

x
?
Solved

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

Posted on 2013-10-30
2
Medium Priority
?
657 Views
Last Modified: 2013-10-31
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
0
Comment
Question by:mjs082969
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 75

Accepted Solution

by:
käµfm³d   👽 earned 2000 total points
ID: 39612487
You are most likely passing an incorrect number of parameters to the method. Make sure you haven't mistakenly left out a parameter or added in an extra parameter.
0
 

Author Closing Comment

by:mjs082969
ID: 39614010
That was it.  Thanks!
0

Featured Post

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Today I had a very interesting conundrum that had to get solved quickly. Needless to say, it wasn't resolved quickly because when we needed it we were very rushed, but as soon as the conference call was over and I took a step back I saw the correct …
A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

656 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question