Solved

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

Posted on 2013-10-30
2
634 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
2 Comments
 
LVL 74

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Suggested Solutions

For a while now I'v been searching for a circular progress control, much like the one you get when first starting your Silverlight application. I found a couple that were written in WPF and there were a few written in Silverlight, but all appeared o…
Parsing a CSV file is a task that we are confronted with regularly, and although there are a vast number of means to do this, as a newbie, the field can be confusing and the tools can seem complex. A simple solution to parsing a customized CSV fi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
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…

744 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now