Unable to start debugging in Beta1 & Smartphone 2003

Hi,
I'm a newbie to developing with smartphoneSmile
I have created a simple application in Beta1 just the default smart device.
It compiles fine but when I try to run it in debug on soluton platform Smartphone 2003 Emulator the emulator starts up but then I get the following message:
Unable to start debugging
Unable to start program'%CSIDL_PROGRAM_FILES%\Hello World\Hello World.exe'.
Any ideas.
Also I can't work out where to configure the network card in smartphone I have set the work copnnection to NET CARD.
If I run the application for Pocket PC 2003 emulator the same happens but in Pocket PC emulator I can work out the ip address of the device and can ping it.
Any help would be greatfully recieved.
Thanks
Satpal
[848 byte] By [Satpal] at [2008-1-13]
# 1
Managed to work out what %CSIDL_PROGRAM_FILES% is it the builtin path it the path to program files directory on the Pocket PC device. The error is actually related to the .exe file not being a vaild Pocket PC application. The funny thing is that it works on my actual device (a Orange M2000), but doesn't work on the emulator even though it's compiled in beta 1 for a PocketPC 2003 solution.
Anyone any ideas why it should work on my device and not on the emulator ?
Could it be the image that I'm using for the emulator? VS automatically starts the emulator.

Thanks
satpal
Satpal at 2007-8-21 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 2

It sounds like you are trying to execute a pocket pc application on a smartphone emulator. Make sure you build your application for the right platform by selecting "Smartphone 2003" in the platform dropdown list when targeting a smartphone emulator.
The Orange M2000 is actually running the Windows Mobile 2003 for Pocket PC Phone edition OS. So it is not a surprise that an application designed for the Pocket PC platform is able to function on it. On the other hand, the smartphone emulator runs the Smartphone OS which is not expected to run Pocket pc apps.

CarlBrochu at 2007-8-21 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 3
The problem is that I have tried running the application in the PocketPC Emulator and it stil doesn't work Tongue Tied.
BTW I'm using C++ and it doesn;t give you the option in project templates for a smartphone/pocketpc applicationit just give Smart Device->Windows CE Application unlike C# which gives you the choice of Pocket PC 2003 SmartPhone 2003 and Windows CE.
So I'm not really sure how the C++ version works as far as Running it on an emulator.
Thanks
satpal
Satpal at 2007-8-21 > top of Msdn Tech,Smart Device Development,Smart Devices General...
# 4
When you create a project, you must select the platforms supported by the project in the Platform tab of the Wizard. This should give you more choices in the platform tab of the Standard toolbar.
CarlBrochu at 2007-8-21 > top of Msdn Tech,Smart Device Development,Smart Devices General...