1
0 Comments

The organization I work for is facing a big problem with their management system, a modular application developed in VB in 1997/1998. Despite being functional on Windows 7, it has not been migrated to a more modern development platform such as VB.NET.

Now, due to security concerns, we need to install the system on Windows 10. However, there are several issues that have arisen. When run without compatibility with Windows 7, the main application launches sub-applications that throw a ‘Runtime Error 53: file not found‘ without specifying which dll is missing.

Other sub-applications do not open at all. We have already checked that the libraries are registered. When run with compatibility with Windows 7, the ‘Runtime Error 53’ seems to disappear but the program then issues a warning indicating that it was not possible to copy some files to the special folder UserProfile, with a detail of ‘Runtime Error 52: Bad file name or number‘.

I’ve tried running the application on both 32-bit and 64-bit versions of Windows 10, but the program failed and it even seems to perform worse on the 32-bit version. I also attempted to disassemble the code, but the error appears to be related to resolving routes of special folders like ProgramFiles and UserProfile.

I suspect it may be due to some shell and architecture problem, but I’ve also tried running the application in administrator mode and changing permissions of special folders without success.

I am considering virtualizing Windows 7 within Windows 10 as a last resort, but would like to explore other options first. I am currently stuck and seeking any suggestions.

Askify Moderator Edited question May 5, 2023