Excel.Workbooks.OpenText and System.AccessViolationException

J

JeeShenLee

Hello All,

I'm using Microsoft Visual Basic 2008 Express and had developed an
application which it performs Excel.Workbooks.OpenText.

I had tried the application on my PC (running Microsoft Office Excel 2003)
and my friend's PC (running Microsoft Office Excel 2007); the software
running fine on both PCs. However, I had experienced error using the
application on Microsoft Excel 2000. It's giving me error which read as:

"System.AccessViolationException:Attempted to read or write protected
memory. ...
at Excel.Workbooks.OpenText"

Does the error relate to Office version i'm using? Or it's PC hardware
dependant (like lack of RAM).

Please advice.

Thanks in advance.

Regards,
JeeShen Lee
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top