Page 1 of 2

Software registration manager

Posted: Wed Jan 24, 2007 8:03 am
by Fangbeast
I'm working on this project for in-house software registration tracker and it's complete enough for most folks. Full project source is here. You just need to comment out any line in the windows code that starts with PV if you don't own the PV library and also have PBOSL libs installed.

Got a few useful features, nothing special but it might help someone. Obviously, I am adding more functions for myself and this software is patterned after my needs but you never know.

All source project
http://www.penguinbyte.com/apps/pbwebst ... ak0.00.rar
http://www.penguinbyte.com/apps/pbwebst ... Client.rar

Latest version (No source)
http://www.penguinbyte.com/apps/pbwebst ... rak103.rar

Current test client for current softtrak server.
http://www.penguinbyte.com/apps/pbwebst ... Client.rar

Posted: Wed Jan 24, 2007 8:17 am
by ricardo
Nice!!

Thanks :)

Posted: Wed Jan 24, 2007 8:31 am
by Fangbeast
ricardo wrote:Nice!!

Thanks :)
Don't get too excited, it's simple, like me :D :D :D

UPDATED: Code to send data to the SoftTak server

Posted: Wed Jan 24, 2007 2:54 pm
by Fangbeast
This is the code I use below to send data to the SoftTrak registration server. MessageHandler() is my custom message handling routine (Which you will also see in SoftTrak) For testing purposes, make up a little gui, add a status bar, gather your data and test it for yourself.

Redirect all MessageHandler information to the statusbar.


REPLACED by the SoftTrak client. Link in first post

Update: SoftTrak v0.00

Posted: Fri Jan 26, 2007 6:57 am
by Fangbeast
1. Code cleaned up.
2. Encryption added to a few places.
a. When client sends server info, it is received in encrypted form.
b. When registration module is recieved, it has encrypted header and data strings.
3. Program creates directories on start if they are not present.
4. Registration import files renamed to ".ptr" as they clashed with my address book program.

NOTE: If someone helps me understand how to handle the #PB_NetworkEvent_File event properly, I'll add that as a choice to send registration data to the server, rather than clunky third party email solutions.

Link in first post

Posted: Fri Jan 26, 2007 9:09 am
by Rings
well, i cannot download the file directly,
i'l have to put the link here right now:

Download Fangle'z SoftTracker now with rightclick and 'Save As' !

Software registration manager client

Posted: Sun Jan 28, 2007 1:59 pm
by Fangbeast
I've made a little client for SoftTrak. With it, you can simply test if the registration server is accepting data or manually add registration information and send it in case the clients' software isn't available.

There is some stupid dummy data saved to an ini file by default that you can load. You can always clear it and save/load new rego data.

Hope it's useful.

Update

Posted: Tue Jan 30, 2007 2:39 pm
by Fangbeast
I've done enough work on the latest version so that the source code will no longer be available from this version on. You still have access to the previous sourcecode.

The latest updates will be provided as exe files (link in first post)

The changes:

1. Added a menu to duplicate all visible and invisible functions

2. Corrected missing product name update on main form (not done after add/edit)

3. Added sales reporting for products and for individual status types. When you open that form, you get a 3 column listing reporting the product, how many copies of that product were sold and the total price received for that product.

4. Colour coded status transactions to make them stand out. Both in the main form and the sale form.

5. Added keyboard shortcut to open sales reporting form (as well as menu)

6. Corrected escaped quote in product name not updating the combo list. I might forgotten in a few other places yet.

7. Fixed some colour problems (I hope)

8. Code is a little cleaner

9. Added client and server colours in the listen form to distinguish events

10. Fixed some balloon tool tip spelling

Other things done too but I've forgotten.

Update SoftTrak 0.01

Posted: Thu Feb 01, 2007 2:48 pm
by Fangbeast
Just updated the softtrak exe to where I am heading with it, I think. Previous exe's and source are still available in the first post.

1. 3 leds indicate whether the server is on, receiving data and if the monitor is checking the temp dir.

2. A background monitor checks to see if any user registration files have arrived and informs you in the status bar.

3. First 3 columns have icons, I liked the idea.

4. No more separate listen server and monitor window, a waste of resources. All messages are redirected to the status bar.

5. Re-ordered the big buttons at the bottom a little, monitor button was also added.

6. All buttons, leds and forms have tool tips now.

7. All tool tips show the keyboard shortcut for the item (If applicable)

8. Order id string was shortened by 2 characters to fit into the field neatly

9. Nice little blue heading bar for the control panel label.

Hope someone has a use for it, works for me :D :D

SoftTrak1

Posted: Sun Feb 04, 2007 3:25 pm
by Fangbeast
Due to tests by Dige and Rings in the irc chat; and suggestions by Dige; I was no longer satisfied by the way the registration tracker worked and I changed some major things around. And I mean changed!!

1. The main screen hasn't been touched except that it is no longer the total focus for all records. It is the 'master ledger' where all incoming records will be transferred when approved by the administrator.

2. The import window has completely changed its' function, but not so much it's design. When a client connects to you now, the record will show up in this window (and the incoming table) and not the main window (the master ledger) to stop crapping up your important customer data by people sending you crappy data and deliberate rubbish.

a. When a client connects through the listen server, its IP is checked against a banned list. If found, the client is summarily disconnected. (Bit more to do on this)

b.You can transfer this record; if you are happy with it; to the master ledger. Doing so removes it from the incoming table and the import window.

c. You can delete the record without doing anything to it. This removes it from the display and the incoming table.

d. You can scan the Addresser\Temp directory for incoming registration files emailed by users and this imports all found files into the incoming table and the import window.

If you have the monitor function on, it will be checking that directory for you.

If you have the monitor function on and the import window is open when a file comes in, you will be notified in both the main window status bar and at the bottom of the import window.

e. You can generate an email to the client if they have been banned to explain why this happened and what they can do about it.

This is the string I use

", Just letting you know that the server has marked you as being banned for sending the same registration data more than once. Therefore, the data will never be processed. If this was in error, please email the system administrator to unlock you and then you can try again."

3. Database changed. There is now a work number prefix and work number field. My address book program registration field has been changed to be compatible with it. I'll update the standalone client later.

::NOTES:: Lots of little modules still to be done such as... Open a new database, reload the default one, setup, about, quick keys list, main help, printing, view incoming rego data (in case of deliberate stupid entries), manual ban from the incoming (import) window and others.

Download this version and play with it please and leave some feedback?

Update 1.01

Posted: Mon Feb 05, 2007 1:24 pm
by Fangbeast
SoftTrak v1.01

Added: About program messagerequester
Added: Quick shortcut keys list
Added: Balloon tool tips to the import form
Added: Event checking for import form
Added: Full viewer window when reg item is clicked on in import window
Added: Transfer verified record to active ledger from import rego viewer
Added: Banned ip/email list is updated from main ledger record when saved
Fixed: Escape shortcut missing from registration window
Fixed: Several misspellings

Posted: Tue Feb 06, 2007 6:19 am
by Fangbeast
Just in case anyone is still following this project, I've added load another database and reload master database. Only printing, setup and help file to do (oh my aching eyeballs)

Posted: Tue Feb 06, 2007 11:45 pm
by utopiomania
It seems an interesting project, but any chance you could make it available in a plain zip file for the rest of us ? :wink:

Posted: Wed Feb 07, 2007 4:55 am
by Fangbeast
Why, what's wrong with Winrar? if you don't use WinRar, most of the free multicompression programs can unrar as can many free file managers.

Minor updates and a doc

Posted: Sat Feb 10, 2007 7:36 am
by Fangbeast
Ive just made minor changes to the data entry form as it was getting too long and added sales history that's only valid for the edit entry form.

There is also a simple .doc format file to explain the program a bit.

It's the last rar link in the first post.

UPDATE: Just updated the client tester but have a nagging feeling I forgot something.