473,320 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Control licensing

After countless hours of complete frustration I am asking for someone here
to point me to a (working) example of how to license a class library. All I
want to do is create a design time license for a few component libraries and
am finding out that this seems to be one of the darkest areas of VB.NET that
no one can give a good example of how it works from start to finish.

I understand the basics of how it is supposed to work and it all makes sense
but I have yet to actually see an example that WORKS anywhere. All I seem to
find is tons of message posted by people that seem to be as far to the end
of theirs ropes and I am on the subject.

I even downloaded an example from the gotdotnet web site:

http://windowsforms.net/articles/Licensing.aspx

....and the examples don't work. The host application STILL throws an
exception when trying to use the licensed component at runtime.

Pat of what I cannot believe is that it seems that most of the WORK
(creation of license files and addition of the license to the host project)
needs to be done by hand for components that are non-visual in nature (i.e.:
class libraries). Jeeeze, V1.1 of the framework and we are still doing
things
by hand.

Is there ANY WORKING example of doing this in VB.NET 2003 anywhere? I am not
even trying to build a custom license provider yet. I just want to see the
basic thing work first before I start trying to mess around with encrypting
my lic files and all that.


Nov 20 '05 #1
2 1080
On Sun, 6 Jun 2004 20:30:36 -0400, "Ray Cassick \(Home\)"
<rc************@enterprocity.com> wrote:
After countless hours of complete frustration I am asking for someone here
to point me to a (working) example of how to license a class library. All I
want to do is create a design time license for a few component libraries and
am finding out that this seems to be one of the darkest areas of VB.NET that
no one can give a good example of how it works from start to finish.

I understand the basics of how it is supposed to work and it all makes sense
but I have yet to actually see an example that WORKS anywhere. All I seem to
find is tons of message posted by people that seem to be as far to the end
of theirs ropes and I am on the subject.

I even downloaded an example from the gotdotnet web site:

http://windowsforms.net/articles/Licensing.aspx

...and the examples don't work. The host application STILL throws an
exception when trying to use the licensed component at runtime.

Pat of what I cannot believe is that it seems that most of the WORK
(creation of license files and addition of the license to the host project)
needs to be done by hand for components that are non-visual in nature (i.e.:
class libraries). Jeeeze, V1.1 of the framework and we are still doing
things
by hand.

Is there ANY WORKING example of doing this in VB.NET 2003 anywhere? I am not
even trying to build a custom license provider yet. I just want to see the
basic thing work first before I start trying to mess around with encrypting
my lic files and all that.

There is a section explaining all this (and more), in "Programming
Microsoft Visual Basic.NET" Version 20003 by Francesco Balena.
Microsoft Press. ISBN 0-7356-2059-8

You won't regret buying it, as it demystifies many other areas where
the on-line documentation is "unhelpfull", to put it mildly.
Nov 20 '05 #2
I just ordered it...

If it can explain this it will be my Bible.

"Michael Gray" <fl****@newsguy.spam.com> wrote in message
news:qj********************************@4ax.com...
On Sun, 6 Jun 2004 20:30:36 -0400, "Ray Cassick \(Home\)"
<rc************@enterprocity.com> wrote:
After countless hours of complete frustration I am asking for someone hereto point me to a (working) example of how to license a class library. All Iwant to do is create a design time license for a few component libraries andam finding out that this seems to be one of the darkest areas of VB.NET thatno one can give a good example of how it works from start to finish.

I understand the basics of how it is supposed to work and it all makes sensebut I have yet to actually see an example that WORKS anywhere. All I seem tofind is tons of message posted by people that seem to be as far to the endof theirs ropes and I am on the subject.

I even downloaded an example from the gotdotnet web site:

http://windowsforms.net/articles/Licensing.aspx

...and the examples don't work. The host application STILL throws an
exception when trying to use the licensed component at runtime.

Pat of what I cannot believe is that it seems that most of the WORK
(creation of license files and addition of the license to the host project)needs to be done by hand for components that are non-visual in nature (i.e.:class libraries). Jeeeze, V1.1 of the framework and we are still doing
things
by hand.

Is there ANY WORKING example of doing this in VB.NET 2003 anywhere? I am noteven trying to build a custom license provider yet. I just want to see thebasic thing work first before I start trying to mess around with encryptingmy lic files and all that.

There is a section explaining all this (and more), in "Programming
Microsoft Visual Basic.NET" Version 20003 by Francesco Balena.
Microsoft Press. ISBN 0-7356-2059-8

You won't regret buying it, as it demystifies many other areas where
the on-line documentation is "unhelpfull", to put it mildly.

Nov 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

15
by: nospam | last post by:
Once Yukon is released (whenever that might be) does anyone from MS have any comment on licensing for Yukon and on SQL 2000. I really don't think anyone with SQL 2000 licenses are going to...
5
by: Sandeep Srinivasa | last post by:
hi, I have a software which has licensing (enabled through flexlm). Now, an end user can build apps (As loadable modules) using this base software. I am introducing a new feature, which I am...
1
by: derhally | last post by:
I currently have the IE ActiveX object embedded inside an application. I'm running into a problem where when I make the control visible or have it navigate to a different page, the application...
1
by: J?j? | last post by:
Hi, I'm creating a website in aspx with notepad. I want to used a licensed control on my site, but I received a liceense error. If the code is used in VS.NET, then there is no problems. What...
3
by: Showjumper | last post by:
How does one go about making a custom server control have a trial period after which it expires? I have aserver control that i want sell but would like to have a trial periods for it. Along the...
7
by: ML | last post by:
What is the best/easiest means to return the serial/volume number of the drive containing the OS using VB.NET? I'm looking to get this information as a unique ID for activation/registration of a...
9
by: vbdotnetmania | last post by:
Hi, I have looked through similar posts and have found Ken Tucker giving the reply about looking at article http://windowsforms.net/articles/Licensing.aspx This appears to be for controls and...
102
by: Xah Lee | last post by:
i had the pleasure to read the PHP's manual today. http://www.php.net/manual/en/ although Pretty Home Page is another criminal hack of the unix lineage, but if we are here to judge the quality...
3
by: Goh | last post by:
Dear all, I would like to know how you guy people control your commercial program that is written in .Net Framework. As I know Microsoft implement a lot of security feature that help to secure...
4
by: Steve | last post by:
I'm in the process of finishing a vb2005 application for commerical use, and wanted to know if anyone has any favorites for licensing software? Would like something reasonably priced for a...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.