@Elroy and Dreammanor
When you guys find the time, can you run this against your very large project(s) and tell me the speed difference?
Test Steps
1. Create new folder and backup your current scanner code into that folder
2. Then download this zip and overwrite the files in that new folder
3. Open both projects
4. In your original project, add these lines. The replacement files in zip below already have this code. But don't overwrite your original scanner project files.
5. Now scan your large project using both versions. The immediate result will indicate the time taken
in frmMain.pvLoadProject just before the line: If m_Project.ParseFile(sFileName, Me) = False Then
in the same procedure just after the "End If" block, add thisCode:Dim t As Double: t = Timer
Code:Debug.Print "time: "; Timer - t; " seconds"
DO NOT run validations with the patched files below -- I need to make changes to them also. However, I want to know what kind of improvement we are looking at before I continue. In my tests, nearly 50% faster, but on much smaller projects. I don't own a 500+ code file project
Thanks to both of you in advance...




Reply With Quote