Search:

Type: Posts; User: thealley

Search: Search took 0.17 seconds.

  1. Replies
    11
    Views
    2,652

    Re: FileNotFoundException error

    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....
  2. Replies
    11
    Views
    2,652

    Re: FileNotFoundException error

    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...
  3. Replies
    11
    Views
    2,652

    Re: FileNotFoundException error

    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...
  4. Replies
    11
    Views
    2,652

    Re: FileNotFoundException error

    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...
  5. Replies
    11
    Views
    2,652

    Re: FileNotFoundException error

    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...
  6. Replies
    11
    Views
    2,652

    Re: FileNotFoundException error

    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 =...
  7. Replies
    11
    Views
    2,652

    FileNotFoundException error

    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...
Results 1 to 7 of 7