String to iResource Error

Started to see more of these error’s popping up on the simplest of things, can anyone explain

I will add that this previously worked and now doesn’t due to the above??

check if a newer version of the UiPath.PDF.Activities can be referenced

otherwise use: Path Exists and reuse the returned ILocalRessource

Hi,

Can you try LocalResource.FromPath method as the following?

LocalResource.FromPath(strFileName)

Regards,

1 Like

IResource is a complex object with many properties, it’s not just the path to the file.

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.