Badnaf 0 Posted Tuesday at 04:16 PM I am currently working on a School project using Firemonkey for the first time and I am loving it. I tried to move my entire project onto a flash drive but when I tried opening it at school, it kept showing an error that said something about not finding dictionary, so I through it might have been because the paths were not saved when I copied it so I opened the project at home and 'saved as' onto the flash drive but I realized it only saved the unit instead of the whole project, now when I launch the program, it shows the following error : This is what the program looks on the folder I saved : This is the unit saved on the flash drive: I just want my program to run from my pc again like it was before but have no idea on how to correct paths and so on, any suggestions/idea or fixes you know someone please let me know. Share this post Link to post
Gabor64738 0 Posted Tuesday at 06:25 PM First, make a backup of your Documents/Projects folder. According to the error message, the Delphi IDE looks for your Tutum_U.pas file in the "Tutum Project" folder but you don't seem to have a "Tutum Project" folder in your Documents/Projects folder. Did you have all your files in the "Tutum Project" folder? You could try creating a new folder "Tutum Project" and move all your Tutum related files into that folder. In Delphi you open the project, browse to it in the "Tutum Project" folder. Keeping all files that belong to a project in their own folder would make your folder more organised, especially when you will have several projects. If you want to copy your project to a USB stick, copy the whole project folder. Share this post Link to post
Badnaf 0 Posted Tuesday at 07:31 PM I did exactly as u said but it did not work, before I could work on it with the flash drive in but now nothing is working Share this post Link to post
Gabor64738 0 Posted Tuesday at 11:33 PM (edited) I'm not sure this will work or only cause more trouble... so definitely make a backup first. Edit: This assumes that all your files are in one folder. In the Delphi IDE open the .dproj file. In the Projects panel (on the right side) you see the project name with .exe in bold. If it doesn't have the .pas and .fmx files in the list then you can import them: Right click on the .exe and click Add... Open the .pas file (in this same folder). The .fmx file will appear under the .pas file. File / Save as... and overwrite. File / Save Project as... and overwrite. Edited Tuesday at 11:38 PM by Gabor64738 Share this post Link to post
limelect 53 Posted Wednesday at 08:29 AM (edited) @Gabor64738 No, I think another way First, throw away all the files except the DPR fmx res and pas. Now load the DPR. Usually, this will be OK. If not, there is another option. Edit the DPR so All the paths will only be the file names. With that said, you have here are all the project files. And lastly, if this did not help, make a new project (name the new main to the old main) and also the project name to the old one. Change (copy) pas and fmx of the old main to the new one, then add all other pas files to the project. Doen. Edited Wednesday at 08:34 AM by limelect 1 Share this post Link to post