08-07-2018 06:06 AM
Hello,
I try to manage zip files with the DataFinder. I tried to use the code below, but it didn't work. I always get the message: Type mismatch: 'Unzip'
There is only one csv file in the zip file. I am using DIAdem 2017 SP1 and it didn't work with DIAdem 2017 neither.
Has someone already had an experience with that?
Thank you in advance
Tansu Özel
Code:
Sub ReadStore(FileName) Dim TempFolder TempFolder = AutoRemove.CreateFolder() Dim FileList FileList = Unzip(FileName, TempFolder) Call Root.ImportStore(TempFolder & FileList(0), "my_csv") End Sub
Solved! Go to Solution.
08-07-2018 08:03 AM
Make sure you switched your plugin to "Filename only plugin".
else you will get an object instead of a filename.
08-07-2018 08:21 AM
Thank you AndreasK, it works!