10/14/2020 11:48 AM | |
Joined: 9/10/2019 Last visit: 3/3/2025 Posts: 2 Rating:
|
I am trying to delete the text file using fso.kill function but not able to do it. HMI IS TP700 COMFORT PANEL my code as follows...... Dim fo Dim path path ="\Storage Card USB\datafile2.txt" Set fo= CreateObject("FileCtl.File") fo.kill(path) when script executing i am gettinf an error on hmi "error object does not support this prorerty or method: 'fo.kill' in script'' ------------------------------------------------------------------------------------------ |
Last edited by: DHOMA at: 10/14/2020 12:24:13Last edited by: DHOMA at: 10/14/2020 12:31:08Last edited by: Jen_Moderator at: 10/14/2020 13:50:53New subject after splitting |
|
10/14/2020 2:28 PM | |
Joined: 3/5/2017 Last visit: 4/15/2025 Posts: 780 Rating:
|
Hi, You are using a wrong object, use this.
|
- Trying is the first step towards failure. |
|
This contribution was helpful to
1 thankful Users |
10/15/2020 5:05 AM | |
Joined: 9/10/2019 Last visit: 3/3/2025 Posts: 2 Rating:
|
|
Last edited by: DHOMA at: 10/15/2020 05:06:39 |
|
Follow us on