Hi,
I sort of solved the issue by saving the output of the finalPath variable to a text file, and then call it back from the text file in the last part of the program... i.e....
Type: Posts; User: thealley
Hi,
I sort of solved the issue by saving the output of the finalPath variable to a text file, and then call it back from the text file in the last part of the program... i.e....
I don't know, probably I was experimenting with different possibilities.
It's still a FileNotFoundException though.
Do you know what (The filename, directory name, or volume label syntax is...
It did not print out because I had put the println after the code that was generating the error. Now I've changed the order to make the println initialise before the error kicks in. The bold part is...
If I insert the value manually, there is no problem because the content of the variable is already initialised (i.e. manually)
On the other hand, if the value has to be generated by...
Hi,
Instead of making a small program, may I please rephrase my problem after I've discovered something else?
So the problem lies with this part:
Now I've tried to replace the extension...
Hi,
These are the println outputs:
extension: test.pdf
finalPath: C:\Users\MyName\Desktop\test.pdf
(PS: I've also tried the code with forward slashes, still to no avail: String path =...
Good afternoon,
First of all I would like to thank the administrators for accepting my registration to the forum.
My problem is that I'm running the code hereunder to generate a new file from...