Solved

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

Posted on 2013-10-30
2
649 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 500 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

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

A theme is a collection of property settings that allow you to define the look of pages and controls, and then apply the look consistently across pages in an application. Themes can be made up of a set of elements: skins, style sheets, images, and o…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

688 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