Hi guys, I want to change my application's temprorary extract path.I have tried to change the folder with "Edit->Prefences-> Folder" but i couldn't success it. I want to hide temprorary exract folder. Could you explain me the ways?![]()
Professional Software Development Tools
Hi guys, I want to change my application's temprorary extract path.I have tried to change the folder with "Edit->Prefences-> Folder" but i couldn't success it. I want to hide temprorary exract folder. Could you explain me the ways?![]()
Help me!!
![]()
Thanks.I am waiting you...
EDI: okay...
Last edited by shanex252; 09-01-2008 at 02:20 PM.
The application built with AMS will always be extracted to a folder (named like ir_ext_temp_*) in your temporary folder. You can't specify the folder name to extract to, but you can easily hide the folder once it was created.
All you have to do is, at program start, check the current folder, and set it as hidden (and maybe as system), so it isn't listed in the default configuration of Windows Explorer. This is a weak protection, but it is what you asked for.
On the On Startup tab of your project, place these lines of code to hide the folder where your project was extracted:
Once your application is closed, the folder is deleted, as always.Code:-- get the current folder folder = Folder.GetCurrent(); -- hide the current folder attributes = File.GetAttributes(folder); attributes.Hidden = true; attributes.System = true; File.SetAttributes(folder, attributes);
Ulrich
There ya go!![]()