Results 1 to 40 of 260

Thread: [vb6] Project Scanner

Threaded View

  1. #10

    Thread Starter
    VB-aholic & Lovin' It LaVolpe's Avatar
    Join Date
    Oct 2007
    Location
    Beside Waldo
    Posts
    19,541

    Re: [vb6] Project Scanner

    @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.

    in frmMain.pvLoadProject just before the line: If m_Project.ParseFile(sFileName, Me) = False Then
    Code:
    Dim t As Double: t = Timer
    in the same procedure just after the "End If" block, add this
    Code:
    Debug.Print "time: "; Timer - t; " seconds"
    5. Now scan your large project using both versions. The immediate result will indicate the time taken

    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...
    Attached Files Attached Files
    Last edited by LaVolpe; Dec 31st, 2018 at 09:27 PM.
    Insomnia is just a byproduct of, "It can't be done"

    Classics Enthusiast? Here's my 1969 Mustang Mach I Fastback. Her sister '67 Coupe has been adopted

    Newbie? Novice? Bored? Spend a few minutes browsing the FAQ section of the forum.
    Read the HitchHiker's Guide to Getting Help on the Forums.
    Here is the list of TAGs you can use to format your posts
    Here are VB6 Help Files online


    {Alpha Image Control} {Memory Leak FAQ} {Unicode Open/Save Dialog} {Resource Image Viewer/Extractor}
    {VB and DPI Tutorial} {Manifest Creator} {UserControl Button Template} {stdPicture Render Usage}

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width