Thanks for that John,
I managed to solve the problem, so keep this one on hand for any of you that are looking at upgrading from Delphi 07 to 2010. I did make a copy of our 2007 directory and it's to do with the .dproj file and maybe the directories? Anyway I just created a new project in Delphi 2010 and saved the project with the same name as the one in which the code completion wasn't working but into a separate directory, this created a new .dproj file. I made a copy of the current .dproj file (the one from Delphi 2007) and then replaced it with the one I just made in 2010. Then you recompile it and re-add any directories into its search path and then code completion works. I did a comparison between the old and the new one but I couldn't tell who the culprit was. Regards Richard Bullin From: delphi-boun...@delphi.org.nz [mailto:delphi-boun...@delphi.org.nz] On Behalf Of John Bird Sent: Monday, 7 September 2009 4:22 p.m. To: NZ Borland Developers Group - Delphi List Subject: Re: [DUG] Code Completion not working One possibility is if you have moved the source into a different folder from where it was under D2007, then some of the files - .dproj and others contain some hard wired path information that needs to be altered. The ways to fix this are edit the files or delete them and allow Delphi to recreate them. I wrote a search and replace program to search for paths and replace them - this is another option - if its any use email me and I can send it. Also check the project options to see if there are old paths there. If you did not move the source to a different path then these suggestions will not apply, although the delete old non-essential files may fix it - will be similar to starting a new project. refer to http://delphi.wikia.com/wiki/Delphi_File_Extensions for a comprehensive list of delphi extensions and what stores what, there are lots in D2007 for instance, too many to remember. It also tells you which can be deleted (the ones not to keep in source control). I had all sorts of issues like this moving from D2006 to D2007, but mainly because I also copied the source to a new folder. John We're currently using Delphi 2007 and have downloaded the trial version of 2010 and code completion just doesn't want to work? Has anyone else had this problem, I saw on Quality Central that there were a few people using 2009 that had this problem. It's definitely something to do with the project (the 2007 project loaded into 2010) because if I start a new project code completion works fine. Damn it's hard to program without it L, I think I'm going to have a look into the dproj files etc..... Regards Richard Bullin ________________________________ _______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe
_______________________________________________ NZ Borland Developers Group - Delphi mailing list Post: delphi@delphi.org.nz Admin: http://delphi.org.nz/mailman/listinfo/delphi Unsubscribe: send an email to delphi-requ...@delphi.org.nz with Subject: unsubscribe