Click here to Skip to main content
Email Password   helpLost your password?

The source is also under SubVersion control at Google.

Introduction

This project is a C# .NET Compact Framework application that provides editing and viewing of ToDoLists created with .dan.g's ToDoList program, on a Pocket PC. This project is an example of the basics required for a .NET Compact Framework application and shows how to use XML, a tree control, and a tab control, as well as a good use for recursion.

Background

The original Pocket PC TodoListViewer was written by Kyle Tillman. He didn't have the time to add the features he wanted to, so I grabbed his project and have added some of the features we both wanted.

SIP

I had some fun getting my controls to acknowledge the SIP when it was displayed, but found the easiest way was to place them all in a top level panel and just resize that panel when the SIP was displayed/hidden. That top level panel would then resize its components and so on down the control tree.

The project is currently being developed using MS Visual Studio 2008 and Microsoft's .NET 2.0 SDK.

Known Issues

  1. Files not loading

    Issue: The application cannot load some ToDoList files created with older versions of the ToDoList program.

    Solution: Install the most recent version of the ToDoList program, load the ToDoList file, and save as a new file. This causes the XML to be upgraded and appears to fix the issue.

    Thanks To: Kyle Tillman.

  2. Fix display for landscape mode

    Issue: I need to re-arrange the layout of the screen when the device is in landscape mode.

    Solution: -

    Thanks To: -

  3. Details panel display

    Issue: When the Details panel is first displayed, the tabs are off the bottom of the screen.

    Solution: I'm still working on this issue. For now use the workaround.

    Workaround: Displaying and hiding the SIP moves the details up to the correct place.

    Thanks To: Andy Aspell-Clark.

Todo:

Date Added Description Date Completed
2nd Dec 2007 Fix Saving todolists.
10 Mar 2005 Make font size user selectable.
11 Apr 2005 Stop Details panel tabs appearing off screen.

Contact Information

You can contact me at aspellclark at yahoo.co.uk about this project. If you contact me at my normal e-mail address, please put [ToDoListPPC] in the Subject line.

Subversion

I have created a Google code repository for TodoListPPC, you can access it here.

Version History

You must Sign In to use this message board.
 
 
Per page   
 FirstPrevNext
GeneralHelp installing
mclsm
22:05 10 Oct '09  
Hi, Can anyone help me get ToDoListPPC to work on my Windows Mobile (HTC Diamond running WM v6)? I've copied all the files across to the device but don't have a clue what to do with them now.
(1) Where should they actually be copied to?
(2) How do I then open a list?
(3) To sync do I just pass a list back and forward between my pc and the device?
(4) Does it matter which version of ToDoList I'm running on the PC?
You'll gather that I'm not a programmer.
Many thanks in anticipation!
GeneralRe: Help installing
foz1284
4:11 12 Oct '09  
Hi,

1) It does not matter where you copy the files to, you should be able to run the program from anywhere,

2) to open a list click on tools from the menu and select open list,

3) yep thats right, at the moment there is no real syncing availible,

4) it should not matter which version you are running on the desktop

please be aware that it is still in beta right now,

I will have a new version 0.2 ready very soon,

are you using the version at the top of the page or from the link in the forum post - the forum link is my version which is a later edition.

let me know if you are having any difficulties

thanks,

Mark
GeneralNew version [modified]
foz1284
5:57 21 May '09  
Hi, I've picked up the source and started development, since I dont have the password I was unable to commit changes to the repository so I have created a new google code account ,

If anyone has a problem with this just let me know,

you can find my code at


todolistmobile

I may start a codeproject page at somepoint when I get the time but I'll keep an eye out here for any bugs ect.

modified on Monday, October 12, 2009 9:26 AM

GeneralRe: New version
Onesimus
12:20 11 Jun '09  
The web link that you gave doesn't work. I did find you here though...

http://code.google.com/p/todolist-mobile/[^]

Many thanks for developing this for the Pocket PC platform.

It would be great if tasks could be cut, copied and pasted (and deleted).

Keep up the great work !
GeneralRe: New version
foz1284
0:27 26 Aug '09  
Hi, Sorry for the slow reply, I've been busy with other work recently but hope to get more development done soon,

Deleting tasks should be possible, perhaps you are using an old version

Cut/copy paste is now on the roadmap. I would like to be able to move tasks however cut and paste might be a comprimise for now.

Cheers for the comments,

Mark
GeneralRe: New version
giovanne
12:21 4 Aug '09  
Hi,

great!!!

Installed on a WM2003SE Device and can open my TodoList.

Haven't tried to make modification yet.

Would be great to have a short description about which functions you think are working or are the functions in your app already tested?

Keep on working on it, please!

I can test it on WM2003 device.

Best regards
GeneralRe: New version
foz1284
2:31 26 Aug '09  
Hi there,

CurrentFeatures

- Opening files

- Saving files

- Adding Tasks

- Adding Subtasks

- Deleting Tasks

- Modify Task Title

- Modify Task Due Date

- Filtering By Active/Completed

RoadMap

- Coloured Priorites

- List Due Tasks

- Move Tasks

- Cut/Copy/Paste

You can find the latest versionof the features and roadmap in the link below,

any extra testing is much appreciated, just let me know any bugs you find!!

http://code.google.com/p/todolist-mobile/[^][^]

cheers,

Mark
GeneralWill this work on blackberries?
s_abrar
8:44 7 Jun '08  
Is their a project started for that?
QuestionNot support NEW VERSION ...
Member 3775859
6:56 17 Feb '08  
Can it support new version???
QuestionCan't see any tasks - help needed
dzah
11:02 3 Feb '08  
Dear forum members,

When opening a ToDoList file on my HTC3300 (WM6) I see only "pluses" indicating the presence of subtasks and lines of dots representing the tree structure, but no tasks and subtasks themselves - i.e. no textual information. I have tried a file created by ToDoList ver. 5.4.2 and also the ToDoList Documentation file that came with the distribution.
When I try to edit the tasks manually and then save the list, the program crashes.

I would highly appreciate being given any advice on this matter.
Thank you.

Alex
Newslatest release
Andy Aspell-Clark
5:23 15 Dec '07  
With the latest release of the code, todolistPPC should compile and read files created with 5.3 of todolist.

BUT. I no longer have a windows CE device.

I have just got my hands on an eee PC. This means that I will be moving my development to mono on a linux platform.

TodolistPPC is now officially unsupported. I will not be making any changes to it in the future.

andy.
GeneralRe: latest release
.dan.g.
19:51 10 Jan '08  
Hi Andy,

Sorry to hear you are moving on but good luck on your new ventures.

Is there any way you could transfer ownership of the article to an interested 'other' such as myself just for update purposes - you would still retain legal copyright of course.

.dan.g.

AbstractSpoon Software
abstractspoon2_at_optusnet_dot_com_dot_au

Generalbasic getting started guide ..?
mojomuse
4:32 7 Nov '07  
hi,

had a look around the other posts here, but would really apprecate anyone that can give me simple steps to getting this working on windows mobile 2003 ..?

so far, just downloade the source package, then renamed + copied "bin" folder inc. exe file to program files directory on axim x50v, only can't seem to execute the exe ..?! Wink

sure i'm missing sth obvious, but without any error messages etc at all, bit flumoxed.

cheers ..
GeneralRe: basic getting started guide ..?
Michael Davey 1
21:01 24 Nov '07  
Do you get any error messages worthy of note? You have installed compact framework 2 on the device?

Regards

Michael Davey
biproject.com rss and blog news in a more palatable format
mobile edition now available!

GeneralFont error
moltra
6:40 27 Aug '07  
Great looking program but I keep getting the following error.

TodolistPPC.exe
Exception

at Microsoft.AGL.Common.MISC.HandleAr()
at System.Windows.Forms.ComboBox.set_SelectedIndex()
at uk.co.aspellclark.todolistppc.FrmSettings.FrmSettings_Load()
at System.Windows.Forms.Form.OnLoad()
at System.Windows.Forms.Form._SetVisibleNotify()
at System.Windows.Forms.Control.set_Visible()
at System.Windows.Forms.Form.ShowDialog()
at uk.co.aspellclark.todolistppc.FrmTodoListPPC.mnuFileSettings_Click()
at System.Windows.Forms.MenuItem.OnClick()
at System.Windows.Forms.Menu.ProcessMnuProc()
at System.Windows.Forms.Form.WnProc()
at System.Windows.Forms.Control._InternalWnProc()
at Microsoft.AGL.Forms.EVL.EnterMainLoop()
at System.Windows.Forms.Application.Run()
at uk.co.aspellclark.todolistppc.Program.Main()


GeneralRe: Font error
verithin
8:20 15 Nov '07  
Hi,

I have the same problem when I try to open a tasklist created by TDL 5.3.10.
Thanks,
Klaus
GeneralHelp on the Landscape-issue
daniellus
10:57 24 Jul '07  
Hi, saw that you have an issue with the landscape modus.

Maybe this helps::

Add code to detect a `resize` of your form:

Private Sub MyFormResize(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Resize

ResizeUI()

End Sub


1) Whenever the screen is being rotated (there are other functions you can call to verify this) this function will be called as this means a resize. So, if normal modus is 5x10 (Width x Height) and the screen is being rotated, it will be 10x5.

2) To retrieve the dimensions, you can use this code

Dim scrWidth As Integer = screen.PrimaryScreen.WorkingArea.Width 'Bounds or WorkingArea
Dim scrHeight As Integer = screen.PrimaryScreen.WorkingArea.Height


or use the SIP object's VisibleDesktop (if the SIP isn't visible, you'll need to subtract an extra System.Windows.Forms.SystemInformation.MenuHeight; for the lower bar, that is!).

3) When you have these dimension's you can re-arrange the controls on your form. I prefer to add as much to panels and resizing them. I don't have the time to edit your source, but I am sure you can figure this out. There aren't that many possible landscape-sizes. You just check whether the width > height.
You can ask me for futher help on this step if you like. I don't know if this is the bottleneck of your issue...
( My first guess would be adding the controls underneath the listbox in one panel and move it next to the listbox when landscape is active )

N.B.: You might think there is a line of code that returns whether or not the device is in landscape mode. Well, there is! I started off using such method, but you really need the new dimensions and handling a fired resizing-event is all you'll need...

Cheers, Daniel Trommel



-- modified at 7:12 Monday 30th July, 2007
QuestionCrashes on file read
Rick Seenarine
9:45 26 Jun '07  
When I try to open a tdl file, it crashes with a redFromFile:NullReference Exception D'Oh!
GeneralCrashes on Saving
GoodTurn
10:09 17 Feb '07  
I load a task list from the latest ToDoList version (5.1b6). It loads fine and I can see it great. However when I check a box (task completed) and choose File > Save, it crashes. Briefly the error is InvalidCastException at uk.co.aspellclark.todolistppc.TodoListTreeView.writeToFile() at...



Using Axim x30 WM 4.1 (2003 SP2) w/ CF 2.0.

Thanks,

GoodTurn
GeneralRe: Crashes on Saving
Murray Elliot
2:03 8 May '07  
Yep, same here then ir crashes with a readFromFile error next time I try to start it up (guess the data file is corrupt)
GeneralWhat ways of sorting do people want/need?
Frans Postma
13:16 21 Dec '06  
Since I'm in the process of rewriting large parts of TDL-PPC anyway I figured I would include some sorting. Currently the tasks get sorted on "Priority Ascending then TaskName Ascending" that's one sorter.

What other sorters would people like to have? I would prefer to have the sorts as fixed sorter combination as opposed to giving end-users three dropdowns with which to set 1st,2nd and 3rd sort... that's more work Smile



--
"my favorite animal is the scapegoat "
f{dot}postma{at-sign}xs4all{dot}nl

GeneralRe: What ways of sorting do people want/need?
Murray Elliot
2:00 8 May '07  
"Priority descending then due date ascending" is usually good enough for me
GeneralRe: What ways of sorting do people want/need?
.dan.g.
14:30 15 May '07  
Hi Frans

On the different subject entirely, what's the current status of the ToDoListPPC project?

.dan.g.

AbstractSpoon Software
abstractspoon2_at_optusnet_dot_com_dot_au

QuestionFails on latest Axim
Don M
1:58 21 Nov '06  
When I try to run this on an Axim x51v, I get the message "This application (TodolistPPC.exe) requires a newer version of the Microsoft .NET Compact Framework than the version installed on this device."

But the Axim already has .NET CF 2.0 built in.

The only "install" I did was to copy the files from CompactFramework\TodolistIpaq\bin\Debug to Program Files\ToDoListPPC, and then run ToDoListPPC.exe.

Any ideas? Thanks,

AnswerRe: Fails on latest Axim
Frans Postma
13:14 22 Nov '06  

Download the latest compact framework 2.0 with servicepack and stubornly install it to the Axim Smile If possible you want to use the TodolistIpaq\bin\Release version btw. It runs faster.

CF 2.0 is never build in, only the WM5 operating system itself is. That is because CF2 has more frequent upgrades (e.g. the service pack 1 upgrade from a month or two ago).

It is possible the program complains about a missing dll, that should be in the same directory as the main program (and copied from the same dir where you found that one).

--
"my favorite animal is the scapegoat "
f{dot}postma{at-sign}xs4all{dot}nl


Last Updated 7 Nov 2006 | Advertise | Privacy | Terms of Use | Copyright © CodeProject, 1999-2010