-
Oct 5th, 2024, 12:08 PM
#1
Thread Starter
Junior Member
.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?
-
Oct 5th, 2024, 03:48 PM
#2
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.
-
Oct 5th, 2024, 04:01 PM
#3
Re: .vbp file causes 8-minute "freeze"
-
Oct 5th, 2024, 04:32 PM
#4
Thread Starter
Junior Member
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.
-
Oct 6th, 2024, 04:10 AM
#5
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.
-
Oct 6th, 2024, 08:09 AM
#6
Thread Starter
Junior Member
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?
-
Oct 6th, 2024, 08:58 AM
#7
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.
-
Oct 6th, 2024, 10:27 AM
#8
Thread Starter
Junior Member
Re: .vbp file causes 8-minute "freeze"
To Yereverluvinuncleber: Brilliant. It works. Thank you.
-
Oct 6th, 2024, 10:40 AM
#9
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|