unable to use using Microsoft.WindowsCE.Forms; namespace

Hi expert:

I am hoping to develop a handphone application, however when i compile my source code, error occrs saying that namespace 'WindowsCE' does not exsits in Microsoft namespace, why
i have already installed MS ActiceSync 4.0, MS .net compact framework 2.0 and MS device emulator 1.0-ENU into my computer. but the same thing still happen.

All the expert out there please help me.....thanks in advance!





Answer this question

unable to use using Microsoft.WindowsCE.Forms; namespace

  • flyte

    Thanks a lot! Understood....i think this is my problem.


  • d2army

    Have you added a reference to the corresponding assembly in your project

  • Nir Kovalio

    thakns for replying, i am not so sure what you mean... can you explain futher or show me an exmaple. thx!


  • Garrett Serack - MSFT

    In Visual Studio, click your projects name in Solution Explorer -window, and right click. Select Add Reference -menu item. Then scroll until you see "microsoft.windowsce.forms.dll", select it and click Ok. Now you have a reference added to the assembly, where WindowsCE namespace is defined.

    If you cannot find the assembly "microsoft.windowsce.forms.dll" from "Add Reference", tell what type of project are you working on: Pocket PC 2003, 2005, Smartphone 2003 or what.

  • unable to use using Microsoft.WindowsCE.Forms; namespace