How to hide error message?

S

Steven

Dear all,

We develop a activex(ocx), It runs in powerpoint slides, after we close
powerpoint, It displys a memory error! Title is : Powerpnt.exe -application
error, Then tell me which memory address isn't read etc, We want to hide
this error or fix this error message, anyone tell me how to hide it or fix
it?

thanks
 
B

Bill Dilworth

Hi Steven,

There are two routes to try to accomplish this. 1) Prevention and 2)
trapping. Both of these will have to be done thru your code in your OCX
file. Since PowerPoint is closed or closing, I would guess that your
control is trying to do something and finds only empty space where
PowerPoint once was. Therefore it throws a system error.

So, either fix the code to check for the existence of PowerPoint first, or
trap the error when it happens. Of course this is all guess work, fixing
code without seeing the code or knowing the purpose is a lot like trying to
fix an unknown electronic device blindfolded.


--
Bill Dilworth
A proud member of the Microsoft PPT MVP Team
Users helping fellow users.
billdilworth.mvps.org
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
yahoo2@ Please read the PowerPoint
yahoo. FAQ pages. They answer most
com of our questions.
www.pptfaq.com
..
..
 

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