Solved

The memory could not be "read" issue

Posted on 2006-10-31
3
170 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
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

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

The debugging module of the VB 6 IDE can be accessed by way of the Debug menu item. That menu item can normally be found in the IDE's main menu line as shown in this picture.   There is also a companion Debug Toolbar that looks like the followin…
I was working on a PowerPoint add-in the other day and a client asked me "can you implement a feature which processes a chart when it's pasted into a slide from another deck?". It got me wondering how to hook into built-in ribbon events in Office.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

707 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

12 Experts available now in Live!

Get 1:1 Help Now