Hi,
i have problem with ExecuteCommand"macrostop". When i use this command every time i've crash of PCAN explorer. I use it in VBs macro. For other commands it's work great.
Do have any ideas why?
ExecuteCommand
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: ExecuteCommand
please send us a e-mail with your used PE Version and SerNo, incl. the "MACRO" to support[at]peak-system.com.
Without more information about OS Version, PE Version , used HW etc. we could not gave any answer.
Without more information about OS Version, PE Version , used HW etc. we could not gave any answer.
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
- PEAK-Support
- Sales & Support
- Posts: 1646
- Joined: Fri 10. Sep 2010, 19:34
Re: ExecuteCommand
You are right! when using it will try to destroy the Scripting Engine itself, which could not work because it´s still in a called function (the function itself!)
To stop the Macro please use „Exit Sub“
Code: Select all
ExecuteCommand "macrostop"
To stop the Macro please use „Exit Sub“
--------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------
PEAK-System Technik
Technical Support Team
support[at]peak-system.com
-------------------------------