11-07-2023 02:46 AM
Hello,
I have an issue regarding a VI that simulate the Printing of a report web page .xml using the class IWebBrowser2 and shows a save as window to rename and save the file in a specific location manually by the user (i think that the invoke node that call the method ExecWB is the one responsible for the print and save action).
i want to rename many files automatically without interaction from the user, i have many report files .xml and there name are in an array of string.
can anyone give me help.
You'll find the VI attachment below
thanks in advance
11-07-2023 03:12 AM
Hi Fet,
@abdelFet wrote:
i want to rename many files automatically without interaction from the user, i have many report files .xml and there name are in an array of string.
Use a loop to iterate over your name array. Use BuildPath/FileMove inside the loop to rename your files…
11-07-2023 03:44 AM
Hello GerdW,
Can you give me some detail about this changes that you suggest while i'm beginner in this type of advanced programming with labview, for my code this is what's appear in the attachment picture file, is a window that display a save as of the xml file selected and demand to rename it.
Can you help me with more detail.
thanks in advance.
Fet
11-07-2023 05:42 AM - edited 11-07-2023 05:43 AM
Hi Fet,
@abdelFet wrote:
i want to rename many files automatically without interaction from the user, i have many report files .xml and there name are in an array of string.
Like this:
It's the basic principle, you may add error checking and so on…