hello sir,
i just want to create a text file in c:\pass
i want to store an username (that user inputs) in this file. i am unable to create text file. i continuously getting the error "could not save the text file"
after searching a lot i found no idea! PLEASE HELP
MY CODE IS BELOW:
Folder.Create("C:\\pass");
username = Input.GetText("Input1");
TextFile.WriteFromString("c:\\pass\info.txt", username , false);
error = Application.GetLastError();
-- If an error occurred, display the error message.
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
end
i just want to create a text file in c:\pass
i want to store an username (that user inputs) in this file. i am unable to create text file. i continuously getting the error "could not save the text file"
after searching a lot i found no idea! PLEASE HELP
MY CODE IS BELOW:
Folder.Create("C:\\pass");
username = Input.GetText("Input1");
TextFile.WriteFromString("c:\\pass\info.txt", username , false);
error = Application.GetLastError();
-- If an error occurred, display the error message.
if (error ~= 0) then
Dialog.Message("Error", _tblErrorMessages[error], MB_OK, MB_ICONEXCLAMATION);
end
Comment