Welcome! Log In Create A New Profile

Advanced

How to disable WinDev error messages

Posted by Michael 
Michael
How to disable WinDev error messages
June 21, 2009 02:12AM
Hi:
I would like to disable the WinDev messages for all file errors, and provide my own according the type of error. I mean, I prefer to avoid WinDev messages because they present confusing information to the final user, and replace them with friendly messages.
I tried to disable the Automatic Management of errors, using HOnError and other things, but in all cases, the WinDev message still appearing.

How can I disable that error mesage?
Thanks in advance

Michael
Michael
Re: How to disable WinDev error messages
June 21, 2009 02:34AM
Hi:

Solution:

HOnError("*",hErrAll,"")

or

Uncheck the "Enable the automatic HyperFile assistance" in Project description -> Files tab.

Thanks;
Michael
Al
Re: How to disable WinDev error messages
June 21, 2009 04:08AM
Hello Michael

You can modify the Windev help message windows.
They are in the following directory"
C:\WinDev 12\Programs\Data\Preset Windows\Hyper File - Automatic Help Windows

Regards
Al
Michael
Re: How to disable WinDev error messages
June 21, 2009 07:47AM
Hello Al:
Thanks for the answer.
I already tried that, but it didn't work...
I 'm using the spanish language in my project. I tried the following:
- I imported the Integrity.wdw window (following the help) into the project.
- I also translated the integrity.wdw window that is in the windev directoy.
I 'm using the nation() function in the project's initialization code.
However, everytime there is an integrity error, the original window (not modified) is called.
I don't know what window is really called, because I modified both, the imported one and the original. Even deleting the original (the one that is found in the WinDev... directory, when there is an integrity window, the original appears...
What could be wrong?

Michael
Al
Re: How to disable WinDev error messages
June 21, 2009 06:47PM
Hello Michael

I use the following commands in the project init

HOnError("*",hErrLock,"WD_DataLocked")
HOnError("*",hErrDuplicates,"WD_Duplicates")
HOnError("*",hErrIntegrity,"WD_Integrity")
HOnError("*",hErrModify,"WD_Modif")
HOnError("*",hErrPassword,"WD_Password")

The nominated windows are my copies of the original windev ones

Regards
Al
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: