Hello Michel,
Well this is pretty easy to acomplish , just add the about form to the
project and now add a sub new to your class in this sub new you initiate the
about form
I thought about that. However, I have quite many "Shared" functions in
my DLL, so I would have to add this License Check to each "Shared"
function. And that is what I want to avoid. So this is why I wonder, if
there is any "central" location on a DLL (similar to a Start Object or
Sub Main() on a DLL.
however keep in mind that it is considered bad coding practice to use GUI
blocking code ( code that stops the message pump ) from a Dll
so my recomendation is to start a nag screen modeless on a sperate thread
I wrote the License function as a normal form for a reason: If I wrote
it as a separate thread the application using my DLL could get the nag
screen and hide it outside the visible screen. If the programmer wants
to avoid the message, he has to register. If he does not want to
register, he has to live with the fact that his program will be
interrupted the first time he uses any function of the DLL.
Best regards,
Martin