vb6 - Compiled Visual Basic Application gets Runtime Error 52 in Windows 8 -


the application compiled via visual basic 6 can run on windows xp computer. when execute same executable on other computer runs windows 8, runtime error 52-bad file name or number launch it. can't run program if there no "shell command" in program leads "bad file name" error.

i used "package , deployment wizard" packaging process. , registered needed dll's on windows 8 pc manually via regsvr32 command line utility.

i cleaned whole registry via registry cleaner (wise registry cleaner). used compatibility mode windows xp nothing solved problem.

additional informations:

  • xp version - sp 2
  • windows 8 version-8.1
  • vb - vb 6.0

assuming code

if dir("c:/file.txt") = "" then... 

change backslash ("\")


Comments

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -