My program is working fine. On runtime it gives me the following issue.
“StartIndex cannot be less than zero.\r\nParameter name: startIndex”.
Your assistance is quite appreciable.
Thank you
Can you share some clear info about the issue?
Which activity and some screens of the issue etc.,
Thanks
As there is no compile time error. I am just using switches to move my files to folders.
On runtime it is showing me this error. I don’t know how to resolve this?
The problem is with the substring you are using, can you check once again
Hope this helps you
Thanks
The condition I applied here is “filename.substring(filename.Length-4)”
And I found no issue in this. Can you guide me that how its wrong?
Check as below
If the variable has the value, then what ever you given is fine, check variable is having correct value
Check below if i try to pass the empty value in the string, I got your error
So check the value of the FileName
Hope this clears you
Thanks
Thank you.
Its working fine now
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.