473,549 Members | 2,455 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Licence No for end user

DD
I am after help in generating the code... The end user enters a
licence no in the software to use the software
as you do with Microsoft products.
Can anyone help
Regards
DD
Nov 12 '05 #1
3 1482
On 7 May 2004 20:45:11 -0700, da**********@bi gpond.com.au (DD) wrote:

What have you figured out so far?
-Tom.
I am after help in generating the code... The end user enters a
licence no in the software to use the software
as you do with Microsoft products.
Can anyone help
Regards
DD


Nov 12 '05 #2
I have found out you need to know what you are doing.
I picked up this part
And i understand it,, what i have yet to get to is the
' forms mdules would contain code to append properties
Any help coming my way?
DD

Call the code from when the user first logs into the application, e.g.
in AutoExec Call RunCode, Licence()

Function Licence()
Dim Db As Database
Set Db = DbEngine(0)(0)
On Error Resume Next
debug.print Db.Properties(" user")
' ( if no "user" proeprty, error occurs)
If Err Then
' Open Form to input user & Org
DoCmd OpenForm "Licence"
' forms mdules would contain code to append properties
' to the database object
End If
' Open popup form with labels that you can set
' with user & org info
DoCmd OpenForm "SplashScre en"
Forms!SplashScr een!lblUser.Cap tion = db.properties(" User")
Forms!SplashScr een!lblOrg.Capt ion = db.properties(" Org")
End Function

DD

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
Nov 12 '05 #3
On 08 May 2004 09:26:43 GMT, David Deacon
<da**********@b igpond.com.au> wrote:

This code would add a property:
Dim db As DAO.Database
Dim prop As DAO.Property

Set db = CurrentDb
Set prop = db.CreateProper ty("test1", dbText, "value of test1")
db.Properties.A ppend prop
Set prop = Nothing
Set db = Nothing

-Tom.

I have found out you need to know what you are doing.
I picked up this part
And i understand it,, what i have yet to get to is the
' forms mdules would contain code to append properties
Any help coming my way?
DD

Call the code from when the user first logs into the application, e.g.
in AutoExec Call RunCode, Licence()

Function Licence()
Dim Db As Database
Set Db = DbEngine(0)(0)
On Error Resume Next
debug.print Db.Properties(" user")
' ( if no "user" proeprty, error occurs)
If Err Then
' Open Form to input user & Org
DoCmd OpenForm "Licence"
' forms mdules would contain code to append properties
' to the database object
End If
' Open popup form with labels that you can set
' with user & org info
DoCmd OpenForm "SplashScre en"
Forms!SplashScr een!lblUser.Cap tion = db.properties(" User")
Forms!SplashScr een!lblOrg.Capt ion = db.properties(" Org")
End Function

DD

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


Nov 12 '05 #4

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

Similar topics

0
2455
by: Jakov | last post by:
Ok there are some issues about LGPL licence. I am not a lawyer, and reading LGPL licence is making me confused. This is my problem. I have woking on some commercial application, all the software in this application is my property. Let say this software is in package "my.commercial.package". Next on net I found some binaries and sources which...
17
2041
by: Laszlo Zsolt Nagy | last post by:
Hi All! I know there has been a post about Python licencing but I have different questions. I tried to Google for "Python Licence" and "Python Licencing" but I could not find the answer. Is there a place where I can ready about Python licencing? (A FAQ maybe?) I really need to know the details of the licence, but not in the lawyer's...
2
27955
by: Kiran | last post by:
Hi, We would like to develop a product in VB.Net. This is the first time I'm involving in such type of practice. Can any one please provide the information about the fallowing??? 1. How to generate Licence Key(s) for the product? Are there any components available to do so? 2. Since the product is distributed thru CDs, what is the process...
2
8301
by: Dave | last post by:
Hi, Can anyone suggest a way to generate a licence key from C/C++ program? I want to create a licence file include an encrypted text and an expiry date. The private key is hard coded in the program which will be used to encrypt and decrypt the licence key from the licence text file. With RSA, I want to hardcode a plain text as a private key...
6
1898
by: Hani Atassi | last post by:
If i am using a form type authintication, do I need a licence for each logged in user? The application maintain their own user list and they are not Windows accounts. If I am using SQL Server from my web application, and SQL server uses 1 windows account, how many CAL do I need for my web application to run on the internet?
84
6470
by: John Perks and Sarah Mount | last post by:
we have some Python code we're planning to GPL. However, bits of it were cut&pasted from some wxPython-licenced code to use as a starting point for implementation. It is possible that some fragments of this code remains unchanged at the end. How should we refer to this in terms of copyright statements and bundled Licence files? Is there,...
1
1499
by: Jeff | last post by:
Hey asp.net 2.0 I'm wondering how to configure a web setup project so that when user installs the website, the istallation process promt the user with licence agreement... The user has to accept / decline.. etc any here have a link to an article about this?
0
1000
by: =?Utf-8?B?bWVsbG93cmVk?= | last post by:
I have a laptop which had Office 2007 trial installed. I've manged to unistall this and install my 2003 version. Everything works ok except for an "End User Licence Agreement" window appears. I "accept" and continue with what I want to do. I don't use the laptop too often, but it does not seem to be asking me to register and never denies me...
1
1984
by: IanWright | last post by:
I'm trying to think of a suitable licence model for a toolkit that I'm designing, and have come up with the following, and would like thoughts / opinions or suggestions that people can offer. The toolkit is going to allow setup + solving of specific non linear problems. The ideas I had were: 2 different licences. 1 Developer, 1 Runtime, which I...
0
7542
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
7467
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7736
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7982
jinu1996
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7827
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6066
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
0
3494
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1079
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
783
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

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.