derek wrote:Hi Sonny,
Please have a look at the attached which is working on my setup (obviously, your full path will depend on where you install it).
Derek.
Derek,
The CopyTo is working, however now it isn't renaming the filename after copy. So now to use this I will have to go into the script and give file and photos a full path I guess for it to rename accrodingly.
I am using (ExtractFilePath(Application.ExeName) in my script, I guess this quits working as well.
Is there not a way to set the program to just output a different filename instead of sqlite.db in the core settings this way we can still use Save the database file in the folder with the application with a different filename? Dmitry!!!!!!!!!!????????
I haven't been able to get it to work, because I haven't given it a full path. I have just been typing Progam.db in the field which allows it to read and write to the database, but loses the CopyTo function because it doesn't know the path to copy the files to. It makes since, but I do not want to limit where it can be installed and I would like to keep it in the directory with the program.
Thank you all for helping with this.
Sonny.