Deploying a Visual Basic/Studio program on a PocketPC 2002 emulator or device

The device has been synchronized with the PC. My Ballistics program has been working fine on the emulator. I deploy it now to the actual device. The message:

"----deploy started: Project: Ballistics, configuration: Release Pocket PC---deploying to Pocket PC Device using TCP Connect Transport Connected to Pocket PC Device (Pocket PC) runing on ARMV4T. Copying files from 'C:\Documents and settings\arthur pejsa\My Documents\Visual Studio ... Copying BallisticsOutput.exe

Could not write to output file 'BallisticsOutput.exe' - sharing violation."

My question: What is a sharing violation.

Also, after bumping into this error on the actual Pocket PC device, I went back to running the Ballistics program on the Pocket PC 2002 Emulator. Now I receive the same error message on the Emulator:

"Could not write to output file 'BallisticsOutput.exe - sharing violation."

What have I done wrong What is a "sharing violation "

Kindly help me. Jane Pejsa



Answer this question

Deploying a Visual Basic/Studio program on a PocketPC 2002 emulator or device

  • Moody2006

    Go to Start->Settings->System->Memory->Running Programs to view the list of already running programs. Stop your program and try to redeploy.

    Manav



  • Manu9456

    Thank your for your now that on the Pocket PC the following message appears if I click on "Windows" on the Pocket PC:

    "Build started: Project: Ballistics Configuration: Release Pocket PC ... Preparing resources Updating Resources Performing Main Compilation Building Satellite assemblies Visual Studio is ready to deply Ballistcs Deploy started: Project: Ballistics configuration: Release Pocket PC ...

    Error: Deployment cancelled by user ... Done"

    What does all this mean Has the BallisticsOutput.exe actually been deployed on the Pocket PC I doubt it. How is it that this message appears on the Pocket PC under the Windows icon

    Thanks so much for your help


  • lacus

    The first part of my message somehow was clobbered. I am asking what do you mean by "... terminate the application via memory applet." I do know know what "applet"means nor how to do it. I turn off the PC and the Pocket PC, disconnect them. Then turn it all back on and still I am in trouble.

    The following message appears if I click on the "Window" icon on the Pocket PC:

    "Build started: Project: Ballistics Configuration: Release Pocket PC ... Preparing resources Updating Resources Performing Main Compilation Building Satellite assemblies Visual Studio is ready to deply Ballistcs Deploy started: Project: Ballistics configuration: Release Pocket PC ...

    Error: Deployment cancelled by user ... Done"

    What does all this mean Has the BallisticsOutput.exe actually been deployed on the Pocket PC I doubt it. How is it that this message appears on the Pocket PC under the Windows icon

    Thanks so much for your help


  • Miche

    That means file is in use, for example is already running. Please make sure to terminate the application via memory applet before deploying it again or reset the emulator. Keep in mind applications on PPC are not closed but minimized instead.



  • Deploying a Visual Basic/Studio program on a PocketPC 2002 emulator or device