10/16/2020 8:37 AM | |
Joined: 5/31/2017 Last visit: 4/25/2022 Posts: 2 Rating: (0) |
I have a script which work very well on one machine. The same script throw an error ("ActiveX Component can´t create object") on one other machine. Can somoen help? Dim fso,archive_panel,archive_raspberry archive_panel="Path1.txt" archive_raspberry="Path2.txt" Set fso = CreateObject("FileCtl.filesystem") 'FileExist? the command "filecopy" cannot overwrite a file If fso.Dir(archive_raspberry) = "" Then 'file not available fso.filecopy (archive_panel), (archive_raspberry) Else fso.kill(archive_raspberry) fso.filecopy (archive_panel), (archive_raspberry) End If Set fso=Nothing |
10/21/2020 4:25 PM | |
Joined: 8/3/2009 Last visit: 11/6/2024 Posts: 14106 Rating: (1767)
|
Hello there are differences between Windows and WinCE: https://support.industry.siemens.com/cs/de/en/view/13408815 And if you simulate a Comfort PAnel (that has WinCE) the winCE Funcions willnot work in the Simulation because there the Advanced RT PC Based is usd (and vice versa) Bye Murof |
If this Information really helps, you could use the Rate function |
|
Follow us on