File Not Found Exception

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • nudrat
    New Member
    • Aug 2007
    • 38

    File Not Found Exception

    Hi..
    I am getting this error while running my application. I have a file with .ico extension. I have included this file in my project root folder.
    The code is :
    Icon ic = new Icon("app.ico") ;
    at this line its giving File Not Found Error.
    Please anybody having any idea respond.

    Thanks & Regards
    Nudrat
  • debasisdas
    Recognized Expert Expert
    • Dec 2006
    • 8119

    #2
    You need to pass the absolute path of the ICO file .

    or try to use app.path\...\fi lename.ico

    Comment

    • nudrat
      New Member
      • Aug 2007
      • 38

      #3
      Thanks a lot. It worked.

      Originally posted by debasisdas
      You need to pass the absolute path of the ICO file .

      or try to use app.path\...\fi lename.ico

      Comment

      Working...