?
Solved

The memory could not be "read" issue

Posted on 2006-10-31
3
Medium Priority
?
180 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
2 Comments
 
LVL 76

Accepted Solution

by:
GrahamSkan earned 375 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
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…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…
Suggested Courses
Course of the Month15 days, 9 hours left to enroll

850 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