ImageListBox Control

Hi,

i hope i played this post right, if not i am sorry for that.

I have written a little or more complex control called "ImageListBox", it has a more complex definition of an item than a normal ListBox. So every item can contain an image, header text and normal text.
I wanted a much more attractive version than a normal ListBox, so i wrote it.

I would like to hear your opinions about it and some bugs that maybe someone will find ;)

http://www.thunder-development.de/typo3/index.php?id=55

(Unless i dont know what to do exactly with it, it contains a "Demo" string, please dont get angry by this)

CU Thunder2002

[784 byte] By [Thunder2002] at [2008-2-7]
# 1

That's awesome. Well done!

It'll be really useful for listing installed addons in my app, with their icons!

Just one problem, though:

The listbox and all its items work fine in design mode, but when I run it i see a blank box with 'Demo' written in it (VB.NET). Why is this?

Also, how did you generate the API help file? Did you do it by hand or use a tool (and if so what was it)?

robinjam at 2007-9-4 > top of Msdn Tech,Community Chat,Show and Tell...
# 2

Hi,


thx yes i know the problem, for some reason the items created at design-time get deleted when the application switches to runtime, i am working on it. Maybe someone else also has a n idea (its a self created collection based on CollectionBase)?

The 'Demo' gets printed cause i am not sure about licensing at the moment.

I generated the API help using NDoc (delivered with SharpDevelop(alternative free .Net IDE)) and the code documentation tags in my code like this:

/// <summary>
/// This function is just a test function
/// </summary>
/// <returns>Something</returns>
/// <remarks>Just for testing</remarks>
public static int TestFunc() { ... }

Regards
Thunder2002

Thunder2002 at 2007-9-4 > top of Msdn Tech,Community Chat,Show and Tell...
# 3

Good luck with fixing it to work at runtime.

About lisencing: While I believe the finished product should not be free, I also feel it would be foolish to think that the majority of people would be willing to pay. A kind of 'shareware' type lisence would be the best option, in my opinion.

Thanks for referring me to NDoc, I can see it being very helpful in the future.

robinjam at 2007-9-4 > top of Msdn Tech,Community Chat,Show and Tell...
# 4
Yes shareware would be good, with either some option limitation or, i

think thats better, i time-limit. But it didn't found a way to use the

.Net licensing stuff for this until now, maybe you can help me at this

point

I

only know about the LicFileLicenceProvider but the Lic file stuff looks

like a bad joke to me, i don't know how to implement a good working own

one. Setting an begin or end date in the registry is not save and

hardware depending keys are bad for shareware

Thunder2002 at 2007-9-4 > top of Msdn Tech,Community Chat,Show and Tell...
# 5
i would limit runtimes istead of days, because if you go by days you have to ensure they can't get around it by changing the system time.
RyanB88 at 2007-9-4 > top of Msdn Tech,Community Chat,Show and Tell...
# 6
A stripped down version of the control with DEMO written in it (like you have at the moment) would be your best bet for the free version. If you try to use advanced lisencing your control will be at the mercy of P2P file sharing networks like Limewire who will circulate the activation keys. So in my opinion, make a cut down version that's free and a 'pro' version that you have to pay for.
robinjam at 2007-9-4 > top of Msdn Tech,Community Chat,Show and Tell...