3
Contributors
6
Replies
24
Views
1 Week
Discussion Span
Last Post by Mr.M
0

Is there a C:\HasilScan20170717034600.jpg file or did you forget a backslash and meant:
C:\HasilScan\20170717034600.jpg?

0

Nothing wrong i see a video on youtube exactly the same as my code but why my project is not running?

0

z.jpg

I followed this command then error, and I changed the storage to my own folder but it was still an error..

0

The code above looks broken. You claim things I can't check for you.

For example if the target folder is HasilScan then you need one more backslash.

It's a trivial thing but with what you reveal and no answer to my question it's the most likely answer.

0

Just to be specific to the problem exactly. The error indicate that it couldn't find the file you specified, and it also say that you didn't handle such expection by using a Try method.

What could help in this problem is to ensure that the file path is correct.

Open your file explorer, go inside the folder where your image is located.

Once you there on the explorer at the very top, there is a URL box (TextBox) which shows you where you currently are, move your mouse the the end of the text inside that textbox then click and copy it to your code and at the end of it put a / then your image name. AFter done that reRun you program and your problem of image location should be resolved.

Check the bellow images as to what I meant above. Sample1.pngSample2.png

Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.