PRB: VBCE: Process Does Not End When Message Box Is in Terminate Event (250476)
The information in this article applies to:
- Microsoft Windows CE Toolkit for Visual Basic 6.0
This article was previously published under Q250476 SYMPTOMS
When a project is executed for the second time from the development environment, the following error can occur:
The file \Project1.vb is locked by another process and can not be copied.
(ErrorCode=0x80030020)
This occurs when the application is run on the remote device.
CAUSE
A message box that is executed in the Terminate event of a form is not visible on the remote device. Although the application appears to have terminated, the process is still in memory because the message box has not been dismissed.
RESOLUTION
Kill the process for the application by following these steps:
- Launch the Process Viewer from the Windows CE menu in the development environment. The Windows CE Remote Process Viewer appears.
- Locate and select the pvbload.exe file in the process list.
- Click the Terminate Process button on the toolbar and wait for the pvbload.exe file to disappear from the list.
Modification Type: | Major | Last Reviewed: | 2/24/2002 |
---|
Keywords: | kbprb kbToolkit KB250476 |
---|
|