How to program control Button in Smartphone Emulator?

Hello. In Visual Studio 2005 in project Visual Basic, Smart Device, Smartphone 2003, I have tried to place the control Button on Form1. However on Toolbox the Button is absent. I have tried to add the Button:
Dim Button1 As New System.Windows.Forms.Button()
However class Button is absent.
Inform, please, as on the Form1 to place or program the control Button in Smartphone Emulator of VS 2005 Or instead of control Button is necessary to use control CheckBox
Beforehand thanks for the answer, Zharkov, Moskva, Russia.



Answer this question

How to program control Button in Smartphone Emulator?

  • Lou_Davis

    After installation of Windows Mobile 5.0 Smartphone SDK, in Visual Studio 2005 in panel New Project has appeared type Windows Mobile 5.0 Smartphone. And in the window Templates has appeared template Device Application (in addition to Device Application (1.0)). And now on this template Device Application it is possible to develop applications for Windows Mobile 5.0 Smartphone. Thanks.


  • Serge2k

    Thanks for the answer. You have mentioned about Smartphone 2005.
    You mean Microsoft Device Emulator 2.0 Beta, which can be loaded from site Microsoft, or something another
    Whether expediently to install this Microsoft Device Emulator 2.0 Beta for development on VS 2005 more modern applications for Smartphone Thanks.


  • entrylevel26

    If you're developing for SP2003, you have to use NETCF V1. To use NETCF V1 projects in VS 2005 you'd need to install Desktop framework 1.1 and respective SDK.

    If you develop application for WM 5.0 SP using NETCF V2, it won’t run on SP 2003.



  • Prabagarane

    Well in smartphone 2003 (nor in 2005), there are no buttons, since there are not means to press them (in the users intuitive point of view). In Pocket PC's, there is pen, but not in smartphone. Buttons would not be very intuitive way to use the smartphone software, and thats why they are not used in smartphone.

    Use menu items, keypad or checkboxes (or other available controls) to preform operations.

  • Derek Smyth

    Mr. Ilya Tumanov. Thanks for the answer.
    Inform, please, as to me to upgrade Visual Studio 2005 for development on this VS 2005 of applications for WM 5.0 SP
    Whether it is necessary in addition to Microsoft Device Emulator version 1.0 (available in VS 2005) to install Microsoft Device Emulator 2.0 Beta Thanks.


  • joynerCN

    Once again thanks for the answer. Several days ago, at attempt to create in VS 2005 very first project such as Visual Basic, Smart Device, Smartphone 2003, Device Application, the error has appeared:
    Projects targeting .NET Compact Framework 1.0 require version 1.1 of the .NET Framework, wich is not detected on this machine.
    I have installed .NET Framework 1.1.
    Now I have installed Windows Mobile 5.0 SDK for Smartphone. In VS 2005 has created the same project and not seen any changes.
    How to use this Windows Mobile 5.0 SDK for Smartphone by development of such projects on VS 2005 Thanks.


  • dreameR.78

    I ment this: Windows Mobile 5.0 SDK for Smartphone. Note, that You cannot create .NET 2.0 applications for Smartphone 2003, just for Windows Mobile 5.0 for Smartphone. This is because you at the moment cannot  install .NET Compact Framework 2.0 on the Smartphone 2003 device. Here's Windows Mobile 5.0 SDK for Pocket PC.

    I don't know now if "Windows Mobile 5.0 for Smartphone" is called "Smartphone 2005" at all, I just have called it that and it now slipped in to the post :)

  • How to program control Button in Smartphone Emulator?