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 components and though I don't find it
easy to understand it seems like it's appropiate for controls or components,
but I can't seem to find anything that just applies a licence for my entire
application or a licence for using classes, unless I'm misreading something
the article does not apply to this. Please note I am not criticsing Ken
whatsoever, he's being very helpful, just pointing out that I'm finding it
hard to retrieve the kind of information I need either here or anywhere on
the internet and I gather other people are looking for the same kind of
information as well.
In summary what I am looking for is a way of protecting my classes and
protecting my overall project, looking to have a demo with limited
functionality until a full license is purchased, I have never done this
before and I'm struggling to know where to begin, i'm wary of going with any
third party tools as even if they work well, I really don't want to be
spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than
c#.
Thanks,
Barry. 9 5521
Just because he doesn't spell it out for your doesn't mean its not possible.
Think about this. What is a control?
A class right?
There is nothing that says you can't use a licensing attribute on a class
itself, regardless of whether or not it inherits from control, that just
happens to be the most common use...
Not only that, but there in big bold letters is "Creating aLicensed Classes"
in which case the class used inherits from IDisposable (interface
inheritance). Not inheriting from userControl at all and using the standard
attributes.
Make sense?
-CJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or
components, but I can't seem to find anything that just applies a licence for my
entire application or a licence for using classes, unless I'm misreading
something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with
any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather
than c#. Thanks, Barry.
No...it still does not make any sense to me. I still don't know if you can
use this licensing thing with a VB.NET project. I could find no help
anywhere on this subject. Searched for hours at MSDN. I must be stupid. I
only see where it is good for controls. What good is it if no one knows how
to use it?
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message
news:e5**************@TK2MSFTNGP15.phx.gbl... Just because he doesn't spell it out for your doesn't mean its not possible.
Think about this. What is a control?
A class right?
There is nothing that says you can't use a licensing attribute on a class itself, regardless of whether or not it inherits from control, that just happens to be the most common use...
Not only that, but there in big bold letters is "Creating aLicensed Classes" in which case the class used inherits from IDisposable (interface inheritance). Not inheriting from userControl at all and using the standard attributes.
Make sense?
-CJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or
components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
Hi CJ,
Firstly thanks for your reply spelling out to me that the info is
there in front of me all the time, I do think though that it is easy to be
shall we say turning your eyes up to heaven and thinking what a moron of my
post when you are someone who already knows the answer, firstly I'm not
familiar with c#, vb.net is my language so I'm trying to make sense of the
article through a language I'm not so familiar with, I did point out that I
could very well be missing something. Anyway I am genuinely apprciative of
your reply but just remember even a keen mind can sometimes find things hard
going and miss the obvious when they are in unfamiliar territory like I was.
Anyway will look through the article some more and try to make sense of it.
Regards,
Barry.
"CJ Taylor" wrote: Just because he doesn't spell it out for your doesn't mean its not possible.
Think about this. What is a control?
A class right?
There is nothing that says you can't use a licensing attribute on a class itself, regardless of whether or not it inherits from control, that just happens to be the most common use...
Not only that, but there in big bold letters is "Creating aLicensed Classes" in which case the class used inherits from IDisposable (interface inheritance). Not inheriting from userControl at all and using the standard attributes.
Make sense?
-CJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or
components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
Yes it can be used to license an app but it is overly complex I believe. I
have looked into this issue of licensing/activation as well and there is
little to no help/examples available.
Here are a few links I have found that might help: http://www.codeproject.com/win32/sim...protection.asp http://www.codeproject.com/dotnet/xmldsiglic.asp http://www.codeproject.com/gen/desig...tialWisdom.asp http://www.codeguru.com/columns/Expe...int.php/c5469/
Also check the http://www.gotdotnet.com/ message boards. There was a few
discussions there as well.
"Debbie Carter" <dc*********@sbcglobal.net> wrote in message
news:RF******************@newssvr33.news.prodigy.c om... No...it still does not make any sense to me. I still don't know if you can use this licensing thing with a VB.NET project. I could find no help anywhere on this subject. Searched for hours at MSDN. I must be stupid. I only see where it is good for controls. What good is it if no one knows how to use it?
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message news:e5**************@TK2MSFTNGP15.phx.gbl... Just because he doesn't spell it out for your doesn't mean its not possible.
Think about this. What is a control?
A class right?
There is nothing that says you can't use a licensing attribute on a class itself, regardless of whether or not it inherits from control, that just happens to be the most common use...
Not only that, but there in big bold letters is "Creating aLicensed Classes" in which case the class used inherits from IDisposable (interface inheritance). Not inheriting from userControl at all and using the standard attributes.
Make sense?
-CJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or
components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
Our company has been looking at XHEO ( http://www.xheo.com).. they seemed to
be pretty good so far.. and pricing is also cheap...
VJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message
news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
Oh I totally understand that. I've sat here MANY times and looked at an
answer staring me right in the face.
I wasn't trying to beliddle you or anything like that, or make you feel bad,
just trying to walk you through understanding it. Thats the fun of
programming is figuring out how things work under the hood if you will.
So again, making sure I didn't offend you with that, wasn't trying to, just
showing its right there and making sure you understood why it works that
way...
Any more quesitions please feel more than free to ask. =)
Take care,
CJ Hi CJ, Firstly thanks for your reply spelling out to me that the info is there in front of me all the time, I do think though that it is easy to be shall we say turning your eyes up to heaven and thinking what a moron of
my post when you are someone who already knows the answer, firstly I'm not familiar with c#, vb.net is my language so I'm trying to make sense of the article through a language I'm not so familiar with, I did point out that
I could very well be missing something. Anyway I am genuinely apprciative of your reply but just remember even a keen mind can sometimes find things
hard going and miss the obvious when they are in unfamiliar territory like I
was. Anyway will look through the article some more and try to make sense of
it. Regards, Barry.
"CJ Taylor" wrote:
Just because he doesn't spell it out for your doesn't mean its not
possible. Think about this. What is a control?
A class right?
There is nothing that says you can't use a licensing attribute on a
class itself, regardless of whether or not it inherits from control, that just happens to be the most common use...
Not only that, but there in big bold letters is "Creating aLicensed
Classes" in which case the class used inherits from IDisposable (interface inheritance). Not inheriting from userControl at all and using the
standard attributes.
Make sense?
-CJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in
message news:E4**********************************@microsof t.com... 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 components and though I don't find
it easy to understand it seems like it's appropiate for controls or components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing
Ken whatsoever, he's being very helpful, just pointing out that I'm
finding it hard to retrieve the kind of information I need either here or
anywhere on the internet and I gather other people are looking for the same kind
of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done
this before and I'm struggling to know where to begin, i'm wary of going
with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
Their activation requires the client to have net access which may not always
be possible.
"VJ" <vi********@yahoo.com> wrote in message
news:ud**************@TK2MSFTNGP15.phx.gbl... Our company has been looking at XHEO (http://www.xheo.com).. they seemed to be pretty good so far.. and pricing is also cheap...
VJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
ML...thank you for the help. These articles are very helpful.
Debbie
"ML" <ml@schoonersolutions.com> wrote in message
news:uA**************@TK2MSFTNGP15.phx.gbl... Yes it can be used to license an app but it is overly complex I believe. I have looked into this issue of licensing/activation as well and there is little to no help/examples available.
Here are a few links I have found that might help: http://www.codeproject.com/win32/sim...protection.asp http://www.codeproject.com/dotnet/xmldsiglic.asp http://www.codeproject.com/gen/desig...tialWisdom.asp http://www.codeguru.com/columns/Expe...int.php/c5469/
Also check the http://www.gotdotnet.com/ message boards. There was a few discussions there as well.
"Debbie Carter" <dc*********@sbcglobal.net> wrote in message news:RF******************@newssvr33.news.prodigy.c om... No...it still does not make any sense to me. I still don't know if you can use this licensing thing with a VB.NET project. I could find no help anywhere on this subject. Searched for hours at MSDN. I must be stupid. I only see where it is good for controls. What good is it if no one knows how to use it?
"CJ Taylor" <[cege] at [tavayn] dit commmmm> wrote in message news:e5**************@TK2MSFTNGP15.phx.gbl... Just because he doesn't spell it out for your doesn't mean its not possible.
Think about this. What is a control?
A class right?
There is nothing that says you can't use a licensing attribute on a class itself, regardless of whether or not it inherits from control, that just happens to be the most common use...
Not only that, but there in big bold letters is "Creating aLicensed Classes" in which case the class used inherits from IDisposable (interface inheritance). Not inheriting from userControl at all and using the standard attributes.
Make sense?
-CJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
Ok, I have made some progress. So giving this info to help progress this
thing along for those who like me are coming from the vb.net side of things.
I have converted the class code in the article http://windowsforms.net/articles/Licensing.aspx to vb.net and have used it in
a windows form
here it is
Imports System
Imports System.ComponentModel
Namespace Licensing
<LicenseProviderAttribute(GetType(LicFileLicensePr ovider))> _
Public Class LicensedClass
Inherits System.Windows.Forms.Form
Private license As license = Nothing
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
license = LicenseManager.Validate(GetType(LicensedClass), Me)
Console.WriteLine("Hello from the licensed class.")
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
If Not license Is Nothing Then
license.Dispose()
license = Nothing
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
components = New System.ComponentModel.Container()
Me.Text = "Form1"
End Sub
'#End Region
End Class
End Namespace
I am still stuck though as where to go from here. I have tried adding a
licenses.licx file manually but just get the error
D:\projects\licensetest\licenses.licx Could not transform licenses file
'licenses.licx' into a binary resource. (1) : error LC0003 : Unabled to
resolve type 'Licensing.LicensedClass,LicensedClass'
Again I'm sure I'm missing something obvious to those in the know but it's a
frustrating struggle. Anyway it's some progress, maybe somebody else can move
this topic further along.
Regards to all,
Barry.
Imports System
Imports System.ComponentModel
Namespace Licensing
<LicenseProviderAttribute(GetType(LicFileLicensePr ovider))> _
Public Class LicensedClass
Inherits System.Windows.Forms.Form
Private license As license = Nothing
Public Sub New()
MyBase.New()
'This call is required by the Windows Form Designer.
license = LicenseManager.Validate(GetType(LicensedClass), Me)
Console.WriteLine("Hello from the licensed class.")
InitializeComponent()
'Add any initialization after the InitializeComponent() call
End Sub
'Form overrides dispose to clean up the component list.
Protected Overloads Overrides Sub Dispose(ByVal disposing As Boolean)
If disposing Then
If Not (components Is Nothing) Then
components.Dispose()
End If
End If
If Not license Is Nothing Then
license.Dispose()
license = Nothing
End If
MyBase.Dispose(disposing)
End Sub
'Required by the Windows Form Designer
Private components As System.ComponentModel.IContainer
<System.Diagnostics.DebuggerStepThrough()> Private Sub
InitializeComponent()
components = New System.ComponentModel.Container()
Me.Text = "Form1"
End Sub
'#End Region
End Class
End Namespace
"ML" wrote: Their activation requires the client to have net access which may not always be possible.
"VJ" <vi********@yahoo.com> wrote in message news:ud**************@TK2MSFTNGP15.phx.gbl... Our company has been looking at XHEO (http://www.xheo.com).. they seemed to be pretty good so far.. and pricing is also cheap...
VJ
"vbdotnetmania" <vb***********@discussions.microsoft.com> wrote in message news:E4**********************************@microsof t.com... 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 components and though I don't find it easy to understand it seems like it's appropiate for controls or components, but I can't seem to find anything that just applies a licence for my entire application or a licence for using classes, unless I'm misreading something the article does not apply to this. Please note I am not criticsing Ken whatsoever, he's being very helpful, just pointing out that I'm finding it hard to retrieve the kind of information I need either here or anywhere on the internet and I gather other people are looking for the same kind of information as well.
In summary what I am looking for is a way of protecting my classes and protecting my overall project, looking to have a demo with limited functionality until a full license is purchased, I have never done this before and I'm struggling to know where to begin, i'm wary of going with any third party tools as even if they work well, I really don't want to be spending loads of time trying to figure out how to use them.
Any help would be great particularly if it's specific to vb.net rather than c#. Thanks, Barry.
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Google Mike |
last post by:
Okay. Let's say that at night from home I just wrote a web-based work
order management system that uses LAPP (Linux, Apache, PostgreSQL, and
PHP). Now I want to:
1. Copyright it under a...
|
by: Adrian B. |
last post by:
Does anyone know of a framework or library that will enable me to use
publish/subscribe comms? I want to create a server (using Python)
running on a Unix box that will accept client connections...
|
by: Fabio |
last post by:
Hi all,
I'm about to write an application, and I'd like to use PyQt, but before
choosing this toolkit I would like to clarify some particular licensing
issues; if some user has already touched...
|
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...
|
by: vbportal |
last post by:
Hi,
Not sure if this is the right group for the question:
I've just finished a course/certification where I've used Visual Studio and
want to work further on software development with C#,ADO,ASP...
|
by: Ray Hayes |
last post by:
I was having a really annoying problem getting some components I bought from
ComponentOne to work. I found this posting in their knowledge base which
seems to fix the problem. Is there a better...
|
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...
|
by: robert d via AccessMonster.com |
last post by:
I'm a fledgling developer and am just starting to get my app out to specific
clients.
I have been asked to bid on a project because my app already does over 90% of
what the client wants. My...
|
by: =?iso-8859-1?Q?R=E9mi_Blanchette?= |
last post by:
Folks,
I am having some problem identifying which license I need for my project and
I am desperately searching for three things:
1- a matrix comparison of feature available in the different...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |