CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2

Thread: Error Again!

  1. #1
    Join Date
    Sep 2000
    Posts
    127

    Error Again!

    When i run my form , there is no error . But when i create an exe out of it , there is an error saying 'file not found' when i exit my exe . Why is it like this & it makes no sense ?


  2. #2
    Join Date
    Mar 1999
    Location
    Nepal
    Posts
    540

    Re: Error Again!

    have you made sure that the file is locatable? Put the file in the folder with your exe. In the code, use

    sFilename = App.Path & "\filename.ext"




Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured