Hello, everybody,
while saving a image (obtained by the activities : send hotkey : CTRL+C and Invoke Method GetImage with targhet type: System.Windows.Forms.Clipboard.) I have this error: Save Image: Save image failed. Check if the file name is a valid path.
I tried to use the folder exists activity in the same folder and it returns true,
I have this problem on a Virtual Machine, in my local everithing works.
can you help me please?
thank you @Anil_G.
yes I tryed and this is the result: “C:\\Users\\user\\Documents\\UiPath\\FOLDER1\\Data\\SM37\\RowsScreens\\Oct-20_2023_MP_PROCESS_CNS.jpg”
the problem is that I don’t have this error everytime, but only in some runs.
@postwick thank you for the help!
I have the string with the path write with single slash and concatenate to some string variables : “Data\SM37\RowsScreens"+DateTime.Now.ToString(“MMM-dd_yyyy_”)+CurrentRow(0).ToString+”.jpg"
Put a Log Message before the Save Image activity and output the same path you’re providing to the Save Image, so we can see the path. Post a screenshot of the Log Message’s output.