Results 1 to 9 of 9

Thread: .vbp file causes 8-minute "freeze"

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2018
    Location
    Tewkesbury, England
    Posts
    16

    .vbp file causes 8-minute "freeze"

    I use VB6 on my Windows PC.
    Years ago I wrote a VB6 program and have been updating it from time to time and making successive .exe files from it. Recently, trying to open it (and its earlier versions) to do more editing caused the computer to appear to freeze. I tried opening the main .bas file within the .vbp with the same result. However, I then found that the program does open successfully - but only after an 8-minute “freeze”. From that I conclude that none of the files can be corrupted.
    Incidentally, I also tried copying the main .bas file, giving the copy a .txt extension and opening that with NotePad: still an 8-minute wait for it to show.
    Any ideas? Could it be anything to do with my switching to Microsoft Defender at about the same time as this problem started?

  2. #2
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,609

    Re: .vbp file causes 8-minute "freeze"

    Turn off your antivirus and try again.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  3. #3
    Frenzied Member
    Join Date
    Feb 2003
    Posts
    1,891

    Re: .vbp file causes 8-minute "freeze"

    What is in your project?

  4. #4

    Thread Starter
    Junior Member
    Join Date
    May 2018
    Location
    Tewkesbury, England
    Posts
    16

    Re: .vbp file causes 8-minute "freeze"

    Nothing sinister in it. It creates and runs fairly complex databases in a form that meets my particular requirements. I find this more satisfying than trying to learn how to use other people's (e.g. Microsoft's) products.

  5. #5
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,609

    Re: .vbp file causes 8-minute "freeze"

    Turn off your antivirus and try again.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  6. #6

    Thread Starter
    Junior Member
    Join Date
    May 2018
    Location
    Tewkesbury, England
    Posts
    16

    Re: .vbp file causes 8-minute "freeze"

    Thank you. I have just tried that and it worked! I am grateful for your advice. I am surprised that Microsoft Defender takes so long (8 minutes) to decide that the file is OK. Is there an easy way to identify the part of the file that Defender is suspicious about?

  7. #7
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,609

    Re: .vbp file causes 8-minute "freeze"

    ALL A/V tools have an exclusion list. Set that exclusion either to the specific binary/VBP file giving you the trouble, or better still, to the folder it is contained within.

    In general, I have all my VB6 development under a root VB6 folder and an exclusion set on that folder for all programs below. I do not suffer problems thereafter until I create an installer and attempt to install into \program files x86 or similar. The a/v tool may kick off again when it encounters the installer binary and then afterwards when it attempts to run the actual binary installed into \program files x86.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

  8. #8

    Thread Starter
    Junior Member
    Join Date
    May 2018
    Location
    Tewkesbury, England
    Posts
    16

    Re: .vbp file causes 8-minute "freeze"

    To Yereverluvinuncleber: Brilliant. It works. Thank you.

  9. #9
    PowerPoster yereverluvinuncleber's Avatar
    Join Date
    Feb 2014
    Location
    Norfolk UK (inbred)
    Posts
    2,609

    Re: .vbp file causes 8-minute "freeze"

    Note: Some A/V tools such as Avast cause unwanted slow-downs on VB6 projects even when an exclusion has been set. Your only choice in those situations is to remove the offending a/v tool and try another. My current system defended by Defender and a regular Malwarebytes scan, plus all downloads sent to VirusTotal before installing.
    https://github.com/yereverluvinunclebert

    Skillset: VMS,DOS,Windows Sysadmin from 1985, fault-tolerance, VaxCluster, Alpha,Sparc. DCL,QB,VBDOS- VB6,.NET, PHP,NODE.JS, Graphic Design, Project Manager, CMS, Quad Electronics. classic cars & m'bikes. Artist in water & oils. Historian.

    By the power invested in me, all the threads I start are battle free zones - no arguing about the benefits of VB6 over .NET here please. Happiness must reign.

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