Hi, i have a problem here!
When i run the application on the Preview mode it runs ok, without any problem!
But, when i convert it on a .exe file, and when i run it i have the following error:
This is the code of the VersionInfo() function on the Globals:
Can you give me an help here?
Thank you!
When i run the application on the Preview mode it runs ok, without any problem!
But, when i convert it on a .exe file, and when i run it i have the following error:
Code:
Error attempt to index global 'Request' (a nil value) 1:[Globals] Line: 20 in function 'VersionInfo' 2:[Main -> On Preload] Line: 7 in main chunk
Code:
function VersionInfo() local FilePath = _SourceFolder.."\\".._SourceFilename; Request = File.GetVersionInfo(FilePath); Request.ProductVersion = String.Replace(Request.ProductVersion, ".0.0", "", false); return Request.ProductVersion; end
Thank you!
Comment