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 ?
Printable View
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 ?
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"