|
-
Apr 6th, 2025, 02:40 AM
#1
Thread Starter
Fanatic Member
VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
Hi!
I don't know what I did to trigger this, but when I stop debugging, VB6 acts as I attempted to fully close the project and tells:
VB6 could not find the project fileC:\WINDOWS\TEMP\VB...TMP
Does anybody know why and / or how to fix this?
Compiling the project resolves the problem temporarily until project next opening.
Thank you!
-
Apr 7th, 2025, 01:15 PM
#2
Thread Starter
Fanatic Member
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
ps: Sometimes, VB6 removes the .frm file from the project that I last edited.
Last edited by tmighty2; Apr 7th, 2025 at 01:20 PM.
-
Apr 7th, 2025, 04:41 PM
#3
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
 Originally Posted by tmighty2
ps: Sometimes, VB6 removes the .frm file from the project that I last edited.
Never had that happen. Are you using source control so that you can easily identify any missing files and restore easily?
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.
-
Apr 7th, 2025, 05:28 PM
#4
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
What antimalware software might be running on that computer? Is it possible that something else might be deleting files that are being flagged as suspect?
-
Apr 7th, 2025, 11:41 PM
#5
Thread Starter
Fanatic Member
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
@yereverluvinuncleber: What do you mean by "source control", please?
@jdc2000: I am not using anything apart from built-in Windows Defender.
I am unable to fix this and will have to reinstall Windows / VB6.
ProcMon didn't give me any hint. I suspect registry problems.
Thank you for standing by me anyways. :-)
-
Apr 8th, 2025, 02:26 AM
#6
Thread Starter
Fanatic Member
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
I had my projects stored in a vhxd file. I make a backup of that vhxd file each day. I put the copy onto another drive.
I am now using the copied vhxd instead, and the error is gone.
-
Apr 8th, 2025, 04:56 AM
#7
Thread Starter
Fanatic Member
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
-
Apr 8th, 2025, 05:20 AM
#8
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
Backups are backups and nothing to do with source control.
Source control, what is it? look it up using t'net.
Adopt one of the main, github is especially easy with the desktop client. Learn how to use it.
If you have any problems you can easily identify what has changed and when, restore your project at any time, store it safely off site and more.
For Defender set an exclusion on your project folder.
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.
-
Apr 9th, 2025, 04:09 AM
#9
Thread Starter
Fanatic Member
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
Somehow I have the feeling that reinstalling won't solve the problem. Disabling defender did not resolve the problem.
I have posted 2 videos here:
The problem shown on a new blank project:
https://youtu.be/DDTQdHBYvYk?si=9jPNrSEY_GOE4fvT
And on an existing project:
https://youtu.be/85BQwx2vR34
-
Apr 9th, 2025, 04:20 AM
#10
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
Maybe you don't have the correct access rights to modify data in C:\Windows\Temp
For years (at least since Windows 7) the local temp directory for a user is something like:
C:\Users\[username]\AppData\Local\Temp
Did you set the TEMP variable yourself?
-
Apr 9th, 2025, 06:30 AM
#11
Thread Starter
Fanatic Member
Re: VB6 complains about not being able to find project file C:\WINDOWS\TEMP\VB...TMP
Thank you for the great suggestion!
I have changed the environment variables TEMP and TMP now from C:\WINDOWS\... to another drive and folder, and the problem is gone so far.
And no, I did not set these variables, but I remember that some days ago I installed CMAKE, and Defender notified me that it protected some memory area from being accessed or changed, I think.
I don't remember exactely anymore. I just wondered why CMAKE would do something like that.
And I think I installed or reinstalled vcpkg.
I will keep an eye on that.
Tags for this Thread
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
|