Although I'm having a hard time with this (in the time i have looked), i dont doubt for a minute there is a way, within windows itself, to make a folder invisible. Not just using the HIDE attribute, more like those security programs do by making it disappear.
(If anyone can help with this, it would be nice)
One thing I did wonder tho: if the folder is, for all intents and purposes, non-existant, will AMS have a problem with that when trying to run the files?
One workaround, for now (or, so i thought), was to use File.SetAttributes and hide them all (how many ppl have 'dont show hidden ..' turned on?). This works and AMS will still run them. Of course, it would be so much easier if File.SetAttributes allowed wildcards! *HINT!! HINT!!*
Because it doesnt, you have to name every file!! yeah right .. that'll happen! I'm not keen on the idea of running a .bat file to do this coz someone can take a look inside it to see what it's doing. There is always dll function 'SetFileAttributes' .. but thats down to the 'show hidden' question again.
I figure the best way around it for now is create yur project and build it. zip it up setting a password on the zip file. create another project, 1 page and on page.show .. extract the zip file to an inconspicuous place (%WinDir%\msams .. etc)and set it to run the autorun.exe after its unzipped.
You could then set the unzipped contents to be deleted upon application.close
(If anyone can help with this, it would be nice)
One thing I did wonder tho: if the folder is, for all intents and purposes, non-existant, will AMS have a problem with that when trying to run the files?
One workaround, for now (or, so i thought), was to use File.SetAttributes and hide them all (how many ppl have 'dont show hidden ..' turned on?). This works and AMS will still run them. Of course, it would be so much easier if File.SetAttributes allowed wildcards! *HINT!! HINT!!*
Because it doesnt, you have to name every file!! yeah right .. that'll happen! I'm not keen on the idea of running a .bat file to do this coz someone can take a look inside it to see what it's doing. There is always dll function 'SetFileAttributes' .. but thats down to the 'show hidden' question again.
I figure the best way around it for now is create yur project and build it. zip it up setting a password on the zip file. create another project, 1 page and on page.show .. extract the zip file to an inconspicuous place (%WinDir%\msams .. etc)and set it to run the autorun.exe after its unzipped.
You could then set the unzipped contents to be deleted upon application.close
Comment