English 中文(简体)
VB6 Apps Hangs only in Vista/Win7/Win2008 Must reboot to bring them back
原标题:

I have vb6 apps that runs without any problems for hours on Vista 32/64-bit or win7 32/64-bit and XP 32/64-bit machines. It sometimes hang in XP machines, but I can just close the app in Task Manager then restart without any problems.

Now with Vista/Win7, it still hangs after several hours then I close the apps with Task Manager then restart the app. App will start but will hang at the same app location just as if it remembered where it hang before. The only way to bring the App back is to reboot the computer.

Did anyone experienced this before? I know this VB6 apps could be doing bunch of junk and not releasing memory and etc. But if i close the app in Task Manager, shouldn t it come back as before?

问题回答

It sounds like it might be hanging somewhere in VBRUN6.DLL, the Visual Basic 6 Runtime Library, which would explain the need to reboot, since the DLL is not unloading. I have no clue about what your app is doing to cause this, though. And I fear that any such analysis here on SO is going to be out of scope, unless the program is trivially simple.





相关问题
Prevent windows from queuing shellexecute requests

Win.ShellExecute 0, "open", "C:dirprogram.exe", "arguments", vbNullString, SW_SHOWNORMAL Win.ShellExecute 0, "open", "http://www.google.com", vbNullString, vbNullString, SW_SHOWNORMAL I want google....

Why is My Loop Only Deleting One File?

Using VB6 In a folder, i have n number of files, i want to delete a 0 kb files code Dim filename5 As String filename5 = Dir$(txtsourcedatabasefile & "*_*", vbDirectory) MsgBox filename5 Do ...

How to check the filesize?

Using VB6 I have the text file with different sizes, so i want to delete the file where filesize = 0 kb. How to make a vb6 code for deleting the 0 kb files. Need vb6 code Help

File Rename problem?

I m using VB6 and I have a folder where I have n number of files. I want to change the file extension to .txt. I used the code below to change the extension of all .fin files to .txt. Dim filename1 ...

Error 20728-F while in using Crystal Reports in VB6

I m using Crystal Reports in my VB6 project, but I m facing error while loading the report in crystalreport1.action=1; Please give me some solution for this problem. It is showing the error as Error ...

DllRegisterServer entry point was not found

When running my vb6 application I am getting error like, runtime error 53 : file not found: rscomclNoMsg.dll then i tried to register that dll from cmd line using regsvr32. Then I am getting ...

SQL Server 2000, ADO 2.8, VB6

How to determine if a Transaction is active i.e. before issuing Begin Transaction I want to ensure that no previous transaction are open.. the platform is VB6, MS-SQL Server 2000 and ADO 2.8

热门标签