For Programmers: Free Programming Magazines  


Home > Archive > Visual Basic Addins > August 2005 > How to hide error message?









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author How to hide error message?
Steven

2005-08-08, 9:09 am

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


Bill Dilworth

2005-08-08, 9:09 am

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
..
..
"Steven" <aa@hotmail.com> wrote in message
news:OarlFYAnFHA.2472@TK2MSFTNGP15.phx.gbl...
> 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
>
>



Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com