STUSK (Stupid site keeper)

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

STUSK (Stupid site keeper)

Post by Fangbeast »

A friend and some of my family wanted a simple password and site list. While it isn't as fancy as some on the forum, it's simple enough for them and maybe good enough for beginners.

Current link to full project files: (Someone told me a link was knackered, fixed)

http://members.westnet.com.au/bangfeast ... telist.rar (Current EXE) v1
http://members.westnet.com.au/bangfeast ... elist2.rar (Current EXE) v2
http://members.westnet.com.au/bangfeast ... list2u.rar (Current UniCode EXE) v2
http://members.westnet.com.au/bangfeast ... t(Src).rar (Older Source)

Forgot to put the license header at the top of the code, so here it is.


;=======================================================
; Copyright: Peritek Visions, 2010.
;
; License: Freeware. Do what you want with it EXCEPT SELL IT which is expressly forbidden, acknowledge the source
; please. License for the expat XML parser is in the distribution directory. 'Expat XML parser license.txt'
;
; Code format: Purebasic, v4.41 X86 source code project.
;
; Dependancies: None.
;
; Graphics: All graphics came from the OpenClipart foundation.
;
; Thanks: srod for helping me out with logic issues that I will always have a problem with.
; Rsts and NetMaestro for some great suggestions. Ar-s for the locking example.
;
; Notes: I've tried to comment wherever I could but there are just so many hours in the day. There are a few things
; not 100% finished but that will come whenever I have time as there are other pressing personal issues
; facing me right now. The code is free so don't wait for me to finish!!!
;
; I've tried to overload the options available to users. Menu options are duplicated by keyboard shortcuts
; and context menu popups.
;
; Addendum: Before you complain that this program has destroyed something or did something you didn't like, have the
; decency and intelligence to actually read through the code and NOT TEST IT on LIVE DATA but copies. It is
; NOT MY JOB to rescue you from your own laziness or obdurate stupidity.
Last edited by Fangbeast on Wed May 05, 2010 12:46 pm, edited 11 times in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: STUSK (Stupid site keeper)

Post by srod »

REMOVED.
Last edited by srod on Sun Jan 31, 2010 2:11 pm, edited 1 time in total.
I may look like a mule, but I'm not a complete ass.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Old Info, refer to first and last post
Last edited by Fangbeast on Tue May 11, 2010 1:15 pm, edited 1 time in total.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
idle
Always Here
Always Here
Posts: 5834
Joined: Fri Sep 21, 2007 5:52 am
Location: New Zealand

Re: STUSK (Stupid site keeper)

Post by idle »

Looks like a good example Fangles
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

idle wrote:Looks like a good example Fangles
Thanks. That was a just a first draft. I've done a full day's work adding things I wanted and now it is well and truly bloated:):)

Toggle password hiding on the list
Toggle screen fading in and out
Toggle tool tips on and off
Toggle snap to screen

Hide to tray

Go to site home page

Keyboard shortcuts for all options

Right screen context menu that duplicates shortcut keys and buttons.

Delete site finally added.

Wordwrap added for data form note area. Forgot before.

Statusbar shows current site and home page

First record highlighted when run at start

Added INI file handling so all toggles are saved.

Cleaned up and shortened some code.

That's all I can think of for now. Just need to upload the project somewhere before the whiny bitch srod complains about lack of images any more.

I fully expect him to kill me with his fetid, steaming underwear for that last comment!!
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Okay, all packaged up for all the lazy sods. Nicely formatted, as many comments as I had time to do.

You will just have to read the damned code to see all that it does/doesn't do!!!

Hope I left enough bugs in there too.
http://members.westnet.com.au/bangfeast ... telist.rar
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

Re: STUSK (Stupid site keeper)

Post by rsts »

Wow :shock:

Another winner.

Thanks for sharing :D

cheers
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

/me whispers quietly, "hope rsts hasn't found all the extra bugs yet, it took a while to hide them in!!"

Am trying to decide on better icons for the toggles in the popup menus yet.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Any interest left in this? I've added things and fixed bugs. Won't upload unless someone wants it.

/me falls out of his chair, asleep.
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

Re: STUSK (Stupid site keeper)

Post by rsts »

While I haven't gotten around to putting it through it's paces, (I'm working on a program release right now), I would be interested in bug fixes.

as per usual, thanks for sharing with us. Always well commented and professional.

cheers
neotoma
User
User
Posts: 84
Joined: Sun Dec 14, 2003 6:38 pm
Location: Germany, Mechernich
Contact:

Re: STUSK (Stupid site keeper)

Post by neotoma »

Its very helpfull !
It would nice, if you add language-support.
And i'm very interested on a new version!

Mike.
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

rsts wrote:While I haven't gotten around to putting it through it's paces, (I'm working on a program release right now), I would be interested in bug fixes.

as per usual, thanks for sharing with us. Always well commented and professional.

cheers
Thanks or that but I've been too tired to do a proper job of commenting and must catch up to it. That's the problem when you add things, features rush ahead of comments:):)
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

neotoma wrote:Its very helpfull !
It would nice, if you add language-support.
And i'm very interested on a new version!

Mike.
Okay, i'll post this later today, just slimed out of bed.

Never even thought of language support, might not be too hard, don't know.
Amateur Radio/VK3HAF, (D-STAR/DMR and more), Arduino, ESP32, Coding, Crochet
User avatar
Fangbeast
PureBasic Protozoa
PureBasic Protozoa
Posts: 4789
Joined: Fri Apr 25, 2003 3:08 pm
Location: Not Sydney!!! (Bad water, no goats)

Re: STUSK (Stupid site keeper)

Post by Fangbeast »

Current link in first post:

----------------------------------
Popup menu:
----------------------------------
Added copy to clipboard
Added import site list
Added export site list
Added import and export icons in the popup

Changed All toggles have checkmarks

Removed Icons in the toggles

----------------------------------
Keyboard shortcuts:
----------------------------------
Added copy to clipboard
Added import site list
Added export site list

----------------------------------
Procedures;
----------------------------------
Added _CopySiteToClip, Copy a formatted site to the system clipboard. With field titles.
Added _ImportSites, Import a text files of site information
Added _ExportSites, Export site information to a text file

Changed All. Missing error messages added or updated.
Changed _SelectWindowToolTips, Wording cleaned up.

----------------------------------
User Interface:
----------------------------------
Added Extra home page butten with spiderweb icon.

----------------------------------
Version:
----------------------------------

Updated program version number (Affects database and INI file name)

----------------------------------
Notes:
----------------------------------

The format is:

site name|user name|password|home page|notes

Notes:

1 I am using the '|' character to separate columns (import/export)
2 In the notes field, if you want a new line to appear in the note in the database, put a '~' where you want it to appear

E.g. Rabbit Emporium|1chiefrabbit|softtail1|http://we.luv.wascally.wabbits|These are my notes~This will be a new line~So will this.
Last edited by Fangbeast on Fri Mar 05, 2010 1:57 pm, edited 2 times 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

Re: STUSK (Stupid site keeper)

Post by rsts »

Thanks again.
Post Reply