Microsoft KB Archive/185214

= PRB: Copying Files to the Remote Device Fails =

Article ID: 185214

Article Last Modified on 11/16/2001

-

APPLIES TO


 * Microsoft Windows CE Toolkit for Visual Basic 6.0

-



This article was previously published under Q185214



SYMPTOMS
The following error message might appear when you are developing Windows CE Toolkit for Visual Basic (VBCE) applications:

Copying required files to the remote device failed.

There are several reasons why this message might occur. This article addresses some of these reasons and how to resolve them.



MORE INFORMATION
Common scenarios for this error message include, but may not be limited to the following:

Cause
An invalid remote or local path is entered in the Project Properties dialog box, or alternately, an non-existent directory structure exists on the remote device or emulator.

Solution
Ensure that both the local and remote paths contain valid path locations.

Cause
The remote device is not connected to the desktop machine.

Solution
Ensure that the device is physically connected to the desktop and that you have entered valid login parameters.

Cause
A project with the same name is already running on the remote device.

Solution
End the application that is running on the remote device or change the local and remote path information to reflect a different project name.

Cause
VBCE run-time and remote debugging files are in ROM on the remote device, but do not match those that ship with VBCE. This is currently a known issue with the Sharp Mobilon HC4100 and HC4500.

Solution
Copy the files that shipped with VBCE down to the remote device manually. You need to copy the following files:


 * \vbce\bin\mips41xx\RunTime\pvbdecl.dll
 * \vbce\bin\mips41xx\RunTime\pvbform2.dll
 * \vbce\bin\mips41xx\RunTime\pvbhost2.dll
 * \vbce\bin\mips41xx\RunTime\pvbload.exe
 * \vbce\bin\mips41xx\RunTime\vbscript.dll
 * \vbce\bin\mips41xx\RunTime\vbsen.dll
 * \vbce\bin\mips41xx\Tools\pdm.dll
 * \vbce\bin\mips41xx\Tools\pvbctrl.exe
 * \vbce\bin\mips41xx\Tools\vbrmon.dll

Note that these files are processor specific and that the last three are required for remote debugging.

Cause
Connection to the device was lost and reconnected during the same Visual Basic session.

Solution
Close and reopen Visual Basic.

Cause
The message may appear under unknown circumstances.

Solution
There are a couple of things that can be done in an attempt to remedy the situation. First, try exiting Visual Basic and re-launching it. Second, try closing the Emulation window and re-launching it via the Windows Start menu, selecting Programs, then Windows CE Platform SDK, then Desktop Handheld PC Emulation.

Additional query words: vbce vbce6

Keywords: kbtoolkit kbprb KB185214

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.