CE .NET was the name used for Windows CE versions 4.0, 4.1 and 4.2. When CE 5.0 rolled around, Microsoft removed the ".NET" part of the name, just as they had removed it from "Windows .NET Server 2003". These days, ".NET" only refers to the .NET Framework or .NET Compact Framework.
For version 6.0 they've inserted another qualifier, so it's now known as "Windows Embedded CE 6.0".
For information on new features in CE 5.0, see here[^].
I am developing windows mobile 5.0 application using VS2005 C#.NET...In treeview how to change the back colour in programmatically...In properties do not have the option...If anybody knows please help me..
I am developing application in VS2005 C#, Windows Mobile 5.
Please help, I have some doubts..
1. How to code for softkeys in Windows Mobile?
2. How to add background image?
3.If I closed the application, its still running at the background,I stop running programs also its still running,I need to remove the battery to shutdown the application.How to avoid this?
4.How to install exe file with icon/logo to Windows Mobile programs collection?
I am a newbie for WM development,So, please bear with my questions.
Thanks in advance
3. PDAs keep the application running unless you explicitly tell it to terminate in your code, or you kill the running process from the Settings | System | Memory control panel.
4. In Visual Studio, Create a CAB setup program. Once the project has been created, there is a place in there to specify a shortcut to the Programs menu. This shortcut can have an icon associated with it. You edit this in the filesystem editor for the CAB setup program. Build the CAB project and then run it on the PDA. When your CAB gets installed on the PDA it will place the icon into the special Programs folder as you expect.
The 3 great virtues of a programmer:
Laziness, Impatience, and Hubris.
1.Wanted to receive the events,same like buttons.As my form is very small and needs to handle many events, I wants to use softkeys to reduce some buttons.
2.Wanted to make the form more colorful.Its Ok I managed to change the backcolor property.
3.Yes,I wanted to terminate the code by explicitly mentioning Applicatio.Exit but its just hanging,is there any other way to kill the process safely(programmatically)?
4.Yes,I have tried CAB program, but after successfully running in PDA,I just can't see my app in PDA?
Sorry for bugging you with so many doubts,thanks a lot.
3. If your app is hanging after Application.Exit() gets called, then there is probably something else in your code keeping it from exiting. Are you using any threads or timers that aren't being terminated before trying to close the application? I have found that when I explicitly call Application.Exit(), it does in fact unload the app as I expect (or at least I've just assumed that and never checked to make sure ).
4. You will need to specify a shortcut in the "Start Menu" special folder. Take a look at this screenshot:
Let me try again on number 1. You said Soft Keys and I'm thinking the whole time you meant hardware keys. Anyhow, here is a little tidbit I found this morning on soft keys in Windows Mobile 5.0:
Adding smart keys to an application is as simple as designing a menu. When designing your application, simply create a menu with only two choices. When the application executes, Windows Mobile 5.0 will map each menu choice to a soft key. Windows Mobile 5.0 automatically provides this behavior to any application containing a menu with one or two choices. Menus containing more then two choices are rendered as a traditional menu.
Thanks a lot for your replies.
3.Yes, I am using System.Threading.Timers which triggers CallBack function events every few secs(Certain time interval) which is communicating with the server.We are using Timer.Dispose when App is closing but it not seems to be working, the requests are still going to server,thatmeans timer is running at the background.
I have used IDisposable interface to dispose the object possesing Timer, but its throwing StackOver flow Exception on disposing which cannot be handled even by Catch block.
After trying all the ways, I finally decided to Kill the Process Programmitically,what do you say?
In .NetFramework there is also a method called Environment.Exit but I cannot find it in .NetCompactFramework.
Please advise me..
The link you have given in 1 (regarding softkeys),page cannot found is coming,please resend.
Last Visit: 31-Dec-99 18:00 Last Update: 29-Jul-14 12:14