It beats me, but then it does often - Windows Mobile Development and Hacking General

Hi,
I have just completed my first XDA program using VB.Net 2005 and have targeted to a Pocket PC 2003, which is the operating system of the XDA but I get this message what can I do? VB.Net does not have any other options for Pocket PC 2003.
Error 1
The specified program requires a newer version of Windows on the device. Device Connectivity Component

Please don't be insulted by this but VB was, is and always will be the crappiest language in existence.
My personal rants aside, try installing .NET CF 2.0 I know by default that is what VS 2005 uses and WM 2003 devices only have CF 1.0 / 1.1 in ROM.

Please don't be insulted by this but VB was, is and always will be the crappiest language in existence.
You may well be right given the problems I am having but sadly it’s the only one I know and I quite frankly was well happy when I manged to create this my first mobile app which works great on the emulator
My personal rants aside, try installing .NET CF 2.0 I know by default that is what VS 2005 uses and WM 2003 devices only have CF 1.0 / 1.1 in ROM.
I have tried your fix fix but my XDA does not like it and comes back with the message
The File “\windows\appmgr\install\microsoft.net\CF 2.0.CAB” is not a valid Windows CS Setup file
Am I doing something wrong

Thats odd. Only thing I can think of is try and re-download the installation from here.

No, done it again with the same result.
Do you know the exact file name for the correct cab and then I can perhaps search my hard drive and manually copy it to the XDA and execute it there

Anyone

Hi,
All have cracked the problem myself, the XDA has Pocket PC 2002 is there anyway to upgrade it to Pocket PC 2003?

Related

Embedded Visual C++ Version 3.0

Hi,
I've been using emBedded visual C++ for 2-3 years writing application for pocket PC ( Mainly Ipaq'a).
I've recentrly invested in a Xda but when I attempt to "update my remote output file" from with embedded VC ++" i get the following error:
" Microsoft Active sync connection server failed, Please make sure active sync is running and retry the download etc.."
Of course Activate sync is running, and running correctly, Has anyone had this issue before ?
I can manually copy my executable to my device and run it,but then I can't debug. I'm in the process of download VC 4.0 and going to try that, but really wold like to runing in under the 3.0 version.
Any comments would be appreicated.
Bad news dude, eVC++ works only with PocketPC 2000 + 2002. The development environment you'll need to develop on 2003+ is either eVC++ 4.0 or Microsoft Visual Studio.NET.
Thanks for the update,
I've installed Embedded VC 4.0 and the SP3, Now I can download to my XDA which is great.
Now I want to maintain backwards compatiable and download to my ipaqs in 2002, I can't change the actiive configuration to PPC2002
Is there a way to compile my application for both 2002 and 2003 using VC 4.0 or do I need to maintain both IDE's
Sorry but there's no way to maintain both 2K2 and 2K3 targets from eVC 4. You can have the same set of source code but eVC 3 + 4 have different project file types. Have a project per IDE containing the same source code. Just remember when you add files to the project you're working on, remember to add the files to the other platform's project as well.
Happy coding!
-Timbo.

.NET CF Problems

Hi,
Ive got 5 CAB files which all go together to run a little program i have written, however, when installing them on my XDA IIS every one of them displays the message 'The program you installed may not display properly because it was designed for a previous version of windows Mobile software'. I think these errors may become a problem when i place it in the Extended Rom folder.
the files are as follows
- OpenNETCF.PPC3.ARM
- MyProgram_PPC.ARM.CAB
- sql.ppc3.arm.CAB
- sqlce.dev.ppc3.arm.CAB
- sqlce.ppc3.arm.CAB
Any suggestions would be great!
Thanks,
James
Hi LinQ
The problem is that the OpenNETCF and SQL CAB files were built for WM2003 and _NOT_ WM2003SE. This means that WM2003SE cannot verify that they will work correctly with features such as the screen rotation facility.
To stop your app from coming up with the same message, you need to download the WM2003SE SDK from MS (haven't got a link sorry... but google for it and you should find it) and then target your application at the new WM2003SE device option that you get.
Hope that helps

VB.net app won't run on my SX66

Hope someone can help me with this. I am developing an application using VB.net and I have two problems.
1. When I copy the .exe file to my SX66 and try to run it nothing happens. I can see a wait cursor appear briefly and it seems to be starting but nothing happens after that (no error messages even). I have seen the same problem with other VB.net apps I have tried to use that others created.
I have the latest .Net Compact framework installed. The app works fine on a Toshiba Pocket PC I have with the older verison of Pocket PC 2003.
2. When I try to run the app directly from VB.net VB.net doesn't recognize that there is a device connected and won't copy the .exe from my desktop to my SX66. This works fine with the Toshiba Pocket PC too.
is your sx66 connected to activeSync ?
Does it run on your Emulator?
Yes on activesync
I haven't tried the emulator. As I said it works fine on a Toshiba PPC so I am figuring it will work in the emulator. I am pretty sure it is something on the SX66 because I have seen the same problem with other .NET apps that I have tried to use that were created by someone else.
is the debug manager service running?

.NET CF v2 installation

I've tried to install .NET CF v2 on my Qtek 9000. (NETCFSetupv2.msi) . It gives me "Application manager cannot install this application on your mobile device due to an invalid setup file. Reinstall and try again". Did anybody manage to install .NET CF v2 ?
I had real troubles with this! I asked a friedn at Microsoft and his advice was to check that ANY .NET files that had been installed were DELETED before trying again. When an install fails on this it leaves asome bits hanging around and then the next try fails!
I cleaned any .NET stuff off, installed again and WOOHOO it worked!
It doesn't works. I found the damn thing (netcfagl1_0.dll) in the Windows folder. I was able only to see it (could not copy or move it, (even tried to change properties with Total Commander CE)). The file still remains "protected". Strangely I can't see it with "Explore PocketPC" from ActiveSync even with "Show hidden files and folders" and with "Hide protected operating system files" unselected.
YOOHOO!! I did it!
I found an article and bang! http://pluralsight.com/blogs/jimw/archive/2005/10/12/15504.aspx
I’ve wanted to get this post out for a couple of weeks but I guess better late then never.
A lot of you may have heard of the great Pocket PC device offer that was announced at PDC. At the event, Microsoft was subsidizing the sale of a limited number of iMate Jasjar Pocket PC Phone Edition devices at a remarkably discounted price of US$149. This price represents a more then 85% discount off of the list price of US$1,180.
The iMate Jasjar is quite cool because it has a high-resolution display (640 x 480) that can be viewed in both landscape and portrait. It also has a QWERTY keyboard, WiFi, Bluetooth, GPRS phone, 520MHz processor and has two, count ‘em, two cameras. And what makes it especially cool is that runs Windows Mobile 5.0 so it supports all of the latest Windows Mobile 5.0 managed APIs. Basically it’s a pretty cool device offering all the latest and greatest features. (see pictures)
Since PDC is a developer event, many of the folks who were lucky enough to successfully purchase one of the Jasjar devices wanted to try using Visual Studio 2005 to build a .NET CF 2.0 app and run it on their new device. For the people who didn’t have device experience, successfully building their first WM 5.0/.NET CF 2.0 app required a little more housekeeping to get started then they realized.
What I’d like to go over in this post is two of the more common issues I saw people encounter in trying to build their first .NET CF 2.0/Windows Mobile 5.0 application and run it on a real device.
Visual Studio 2005 doesn’t support Windows Mobile 5.0 out of the box.
As bizarre as this may sound its true. When you install Visual Studio 2005 it automatically installs .NET CF 2.0 along with the Pocket PC 2003 SE and Smartphone 2003 SE SDKs. It does not install the Windows Mobile 5.0 SDK. As a result you can’t build applications that take advantage of the Windows Mobile 5.0 APIs. To do so requires that you download and install the Windows Mobile 5.0 SDK for Pocket PC and/or the Windows Mobile 5.0 SDK for Smartphone. Once those SDKs are installed you can build Windows Mobile 5.0 projects that can access the Windows Mobile 5.0 managed libraries. If you install both of the 5.0 SDKs you’ll also add about 10 more emulators representing the various Windows Mobile 5.0 device form factors.
The absence of Windows Mobile 5.0 from Visual Studio 2005 isn’t a pre-release issue. Last I heard, it’s very unlikely that that the Windows Mobile 5.0 SDKs will be included in the RTM version of Visual Studio 2005 either. I’ve never heard an official reason for why the SDKs aren’t included but the prevailing theory is their size. Apparently the combined size of the two SDKs is large enough that if included, the Visual Studio 2005 install would no longer fit on a single DVD which would of course significantly complicate the production and distribution. Again just a theory, but if its true leaving the 5.0 SDKs as separate downloads does make sense.
Running a .NET CF 2.0 application on a WM 5.0 device, throws an exception indicating that a newer version of .NET CF is required.
There are actually two issues at work here. First, Windows Mobile 5.0 devices ship with .NET CF 1.0 SP3 installed in ROM, not .NET CF 2.0 therefore before a .NET CF 2.0 app can be launched .NET CF 2.0 must be installed. When Visual Studio 2005 would push the .NET CF 2.0 CAB file down to the device and attempt to initiate the CAB install onto the device, the installation of .NET CF 2.0 fails because of the new WM 5.0 security model.
As many of you probably know, one of the big changes in Pocket PC 5.0 was the addition of the one-tier security model (as opposed to the two-tier model on Smartphone 5.0). One of the features of the new security model is that remote actions performed on the device by the desktop can be restricted. In the case of the Beta 2 or pre-September CTP versions of .NET CF 2.0, the CAB file is signed by a test certificate that is not recognized by the Pocket PC 5.0 device. As a result,the remote installation fails.
The best way to eliminate this problem is to upgrade your Visual Studio 2005 installation to either RC1 or to a September or later CTP. In these newer versions of Visual Studio 2005, the .NET CF 2.0 CAB file is signed by a properly trusted cert and therefore installs fine. If you don’t have access to a newer version of Visual Studio 2005 you can still get around the installation problem by using either the Mobile Device folder on My Computer or the ActiveSync Explore feature to manually copy the .NET CF 2.0 CAB file1 down to the device. Once you’ve copied the CAB file down to the Pocket PC you can then use the File Explorer on the Pocket PC to launch the CAB file manually by just tapping on the file name. Now the CAB is still signed by an unknown cert but because you’re launching the installation interactively you are simply prompted with a warning indicating that the signer is unknown and then asked if it is OK to proceed. Simply select “Yes” and the CAB is installed as normal. Your .NET CF 2.0 app will now run fine.
Wow – there was still a bunch more stuff I wanted to talk about but this is already longer then I meant for it to be - Check out the pics of the Jasjar below if you haven't already.
1C:\Program Files\Microsoft Visual Studio 8\SmartDevices\SDK\CompactFramework\2.0\WindowsCE\wce500\armv4i\NETCFv2.wm.armv4i.cab
Click to expand...
Click to collapse

restore xbackup-file from qtek s100 to s200

hello guys.
i have a little problem so i try this way because i didn't find any way to solve the problem myself.
i had a qtek s100 with xbackup and windows mobile 2003. the device now is smashed so i get a new one (a qtek s200) running windows mobile 5 without xbackup.
this things i did try in the past:
- activesync backup but this one it is about 6 months old and not useful for me
- getting a xbackup.exe and try to run with windows mobile 5 - didn't work because of incompatibility
one thing to say: i used the xbackup.exe from this file:
ftp://xda:[email protected]_1_4x/Cabs/Patch/O2Asia_patch_140921.sa.CAB
so it could be possible that the asian xbackup doesn't work right?
i get this errormessage when running xbackup on windows mobile 5:
"unknown backup information error"
the whole xbackup language appears in english
- try to run many pocketpc roms like pocketpc 2003 (in description of microsoft downloadpage it was named windows mobile 2003), smartphone 2003 and some other roms with the microsoft emulator included in embedded visual c++ and some sdk's. the file could just be opened with the windows mobile rom for smartphone (should be windows mobile 5?) but the program crash with the error message i wrote above..
i didn't find an emulator-rom wich is exactly the operating system like from qtek s100. it could be interesting for very much people to find the right rom that is working to restore xbackup's. could be an easier way to help someone with backup problems like me.
please help me because i really need my contacts and if possible but not really importent my sms-messages.
i hope someone can find the right rom-image for the microsoft emulator.
hope someone can help me (and many other people)
thanks!
Assuming the program Xbackup would work in WM5, you can't or must not restore a WM2003 backup file to a device running WM5.
ftp://xda:[email protected]_140921.sa.CAB
error 550

Categories

Resources