Diese Seite mit anderen teilen ...

Informationen zum Thema:
Forum:
WinDev Forum
Beiträge im Thema:
5
Erster Beitrag:
vor 8 Jahren, 5 Monaten
Letzter Beitrag:
vor 8 Jahren, 5 Monaten
Beteiligte Autoren:
Michael, Al

How to disable WinDev error messages

Startbeitrag von Michael am 21.06.2009 00:12

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

Antworten:

Hi:

Solution:

HOnError("*",hErrAll,"")

or

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

Thanks;
Michael

von Michael - am 21.06.2009 00:34
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

von Al - am 21.06.2009 02:08
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

von Michael - am 21.06.2009 05:47
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

von Al - am 21.06.2009 16:47
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.