Solved

The memory could not be "read" issue

Posted on 2006-10-31
3
175 Views
Last Modified: 2010-04-30
Hi everyone -

I have some printer code that I found on the net to query the status of a printer.  Some of our users are experiencing an error where it says "The instruction at ... referenced memory at ...  The memory could not be "read"."  This doesn't happen everytime, just once in a while.  I've isolated the problem to the printer status code.  I was wondering if there are other resources to get some more information on this error like some log files or event messages available on the system to look at, or am I forced to run a debug version to isolate the exact line of code?

Thanks!
0
Comment
Question by:sandr5
[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
3 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 125 total points
ID: 17843942
This could be a printer driver error. Try to see if it's one particular type of printer.
0
 
LVL 1

Author Comment

by:sandr5
ID: 18027804
Hi everyone -
Didn't have time to check if it was one particular printer - I will have to keep that in mind for next time.  Sometimes it can be hard to get useful technical information from users.  At any rate, I did a hack temporarily to bypass the printer check based on a flag in a config file for those users experiencing the issues.  It's a bandaid, but it works for now.
Thanks!
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction While answering a recent question about filtering a custom class collection, I realized that this could be accomplished with very little code by using the ScriptControl (SC) library.  This article will introduce you to the SC library a…
If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

729 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