We have a problem in our enterprise on one machine running Windows NT and EXTRA! Client 6.2 SP2. All of a sudden macros containing screen objects stopped working without a reason (they worked normally until that day and continue to work on all other machines).
While executing the macros (example below) the following error message is shown (translation in brackets, as we use a german client):
Fehler von EXTRA! Basic (Error from EXTRA! Basic)
Eigenschaft oder Methode existiert nicht (Property or method doesn't exist)
Zeilennummer: 11 (Line number: 11)
Makro-Wiedergabe wird abgebrochen (Macro execution will be terminated)
Here is a snippet of one of the affected macros:
The affected line is the "Set Screen = Session.Screen".
As said above, the above macro (and all others) worked fine and stopped working from one day to the other without any reason. I reinstalled EXTRA! several times, also cleaning the registry from any entries concerning the software, without success, the problem persists.
I assume that somehow the macro "thinks" the client is not running and stops working as no screen seems to be available, but can't trace the source of that problem.
I hope someone here is able to help me with that problem, thanks in advance.
While executing the macros (example below) the following error message is shown (translation in brackets, as we use a german client):
Fehler von EXTRA! Basic (Error from EXTRA! Basic)
Eigenschaft oder Methode existiert nicht (Property or method doesn't exist)
Zeilennummer: 11 (Line number: 11)
Makro-Wiedergabe wird abgebrochen (Macro execution will be terminated)
Here is a snippet of one of the affected macros:
Code:
Option Compare Text
Sub Main
'$CStrings
Dim System As Object, Session As Object, Screen As Object, Ueberschrift, Fehler, Kunde1 as string, Kunde2, kunde3, kunde4, i, check
Set System = CreateObject("EXTRA.System")
Set Session = System.ActiveSession
Set Screen = Session.Screen
The affected line is the "Set Screen = Session.Screen".
As said above, the above macro (and all others) worked fine and stopped working from one day to the other without any reason. I reinstalled EXTRA! several times, also cleaning the registry from any entries concerning the software, without success, the problem persists.
I assume that somehow the macro "thinks" the client is not running and stops working as no screen seems to be available, but can't trace the source of that problem.
I hope someone here is able to help me with that problem, thanks in advance.