Appointment viewer (With email dir monitor)

Share your advanced PureBasic knowledge/code with the community.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Appointment viewer (With email dir monitor)

Post by Fangbeast »

This program is a very simple, brain dead but useful (to me) appointment displayer. And as I get around to it, it will get more features; including the printing; which I haven't got around to yet! It was tailored specifically to my needs so don't complain if it doesn't do what you want, use the code in it to do your own thing.

Note 1. This program is primarily designed to monitor a directory on disk for incoming files from my email program which contain appointment details from my family and friends. The files are read, their contents displayed, the incoming file time and date details are also stored in the database and the filenames are linked to the database. They get deleted when an appointment is deleted from the list.

Of course, you can ignore/strip that code and use it to just list/maintain appointments.

Note 2. Check the paths for images and libs in the datasections etc, they are tailored for me.

Note 3. Find your own icons and images, I am not going to do your work for you. I already did the hard stuff!!.

Features.

. Store all date in a robust SQLite 3.x database
. Appointments linked to physical incoming file on disk
. Shows current time, date, category and note for appointments.
. Icons in each collumn for each item.
. Colourful balloon tool tips for each item.
. Can edit details of each appointment 'in place' instead of popping up a window.
. Details instantly updated in database when cell contents are changed.
. Checks pending, due and missed dates on startup and record add.
. Can add your own blank appointment and then fill in the details.
. Minimise to tray with tooltip
. Change the directory to monitor and store it in an INI file for next time
. No GOSUBSs because Xombie hates them (evil grin).

Lots of good people and lots of good code contributes to make all this work. I have commented where I knew what came from whom. Thanks those people!!!

The link will always be the one below, unless something happens.

http://www.penguinbyte.com/apps/pbwebst ... ntments.7z

*Edit* Been fixing bugs, optimising code etc. Will upload this soon. Does anyone want me to keep improving this?

Could a moderator please delete my empty, redundant posts? We need our own delete function for our own posts.
Last edited by Fangbeast on Tue Dec 27, 2005 1:44 am, edited 3 times in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

....

Post by Fangbeast »

....
Last edited by Fangbeast on Tue Dec 27, 2005 1:28 am, edited 2 times in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

...

Post by Fangbeast »

...
Last edited by Fangbeast on Tue Dec 27, 2005 1:29 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

...

Post by Fangbeast »

...
Last edited by Fangbeast on Tue Dec 27, 2005 1:29 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

...

Post by Fangbeast »

...
Last edited by Fangbeast on Tue Dec 27, 2005 1:30 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

...

Post by Fangbeast »

...
Last edited by Fangbeast on Tue Dec 27, 2005 1:30 am, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Post by rsts »

And what a pleasant Christmas present from Fangbeast.
(containing more Sqlite "tutorial" for me to attempt to learn from).

Merry Christmas to you too :D
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

You are funny

Post by Fangbeast »

rsts wrote:And what a pleasant Christmas present from Fangbeast.
(containing more Sqlite "tutorial" for me to attempt to learn from).

Merry Christmas to you too :D
Merry Christmas to you too. Especially since you think I have anything to teach anyone :lol: :lol: :lol:
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4790
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

For all the whiny bitches:):):)

Post by Fangbeast »

For all you whiny bitches, I thought I'd post the entire project to Beach's purestorage, just because it's Christmas.

Thank Xombie for pointing it out to me:lol: :lol: :lol:
Thank beach for having such a useful thing.

http://www.penguinbyte.com/apps/pbwebst ... ntments.7z

NOTE::: You still need the PBOSL installed in your PureBasic dir and I can't provide that!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Droopy
Enthusiast
Enthusiast
Posts: 658
Joined: Thu Sep 16, 2004 9:50 pm
Location: France
Contact:

Post by Droopy »

Can't run your code cause PVDynamic_AddColorGadget is unknown ??
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Appointment viewer (With email dir monitor)

Post by IdeasVacuum »

....Unfortunately the link is broken, can anyone fix it?
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: Appointment viewer (With email dir monitor)

Post by jesperbrannmark »

I don't know what the original thing was, but you might wanna check out my full week calendar
http://www.purebasic.fr/english/viewtop ... 12&t=46369
It doesnt work in Mac OS Lion, but that can be easily fixed.

J
IdeasVacuum
Always Here
Always Here
Posts: 6426
Joined: Fri Oct 23, 2009 2:33 am
Location: Wales, UK
Contact:

Re: Appointment viewer (With email dir monitor)

Post by IdeasVacuum »

That's actually a very nice app J, good use of sprites for a business app, I will certainly learn from it.

The reason I'm interested in Fangbeast's stuff is to learn more about the ListIconGadget, particularly how to handle 'in place' editing by the User.
IdeasVacuum
If it sounds simple, you have not grasped the complexity.
jesperbrannmark
Enthusiast
Enthusiast
Posts: 536
Joined: Mon Feb 16, 2009 10:42 am
Location: sweden
Contact:

Re: Appointment viewer (With email dir monitor)

Post by jesperbrannmark »

I am moving more and more away from the listicongadget. Listicongadget is good, for sure.... but there are other things that can often do the job better.
Why not look at Polos Gridgadget http://www.purebasic.fr/english/viewtop ... 27&t=46936 and maybe tease him a bit to release it :wink:
User avatar
electrochrisso
Addict
Addict
Posts: 989
Joined: Mon May 14, 2007 2:13 am
Location: Darling River

Re: Appointment viewer (With email dir monitor)

Post by electrochrisso »

Can't run your code cause PVDynamic_AddColorGadget is unknown ??
I think this is part of the PureVision package.
I have it, but can't test because the link is still dead, I think FangBeast is working on fixing something.
PureBasic! Purely the best 8)
Post Reply