New topic: 

Using a class and importing it to a program

<http://forums.realsoftware.com/viewtopic.php?t=25250>

       Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic         Author  
Message       pwatson           Post subject: Using a class and importing it to 
a programPosted: Sat Nov 15, 2008 2:31 am                        
Joined: Wed Jul 12, 2006 9:06 pm
Posts: 21              HI ,

I am having trouble using a class that generates a serial number from a user 
name.

I would like to create a simple program that could do this.

I have found a class that does exactly this but have no idea (at the moment) 
what to do with it and how to intergrate it into the program.  

Any help in telling what to do next would be very much appreciated.
Do I create a window and and editfield and call the validation method?
if yes, how do I call the validation method.What does the code look like and 
where does it go

the text file  says 

Quote:RegCode generates a Registration code given an Identifier, Name
and optional Version.

Using the supplied class, it Validates a Registration code given the code, the
Identifier, the Name and the Version used to generate the code.

The class may be used in any application with no restrictions.

Associated RegCode application can be used to generate and
validate registration codes.


Class Usage:

Simply add the self-contained class cRegCode to your project and then call
the validate method to test the entered code.

CRegCode.Validate(Code As String, Identifier As String, Version As String, Name 
As String) Returns Boolean

Returns TRUE if the code is valid
Returns FALSE if the code is not valid

Any help would be very much appreciated,

cheers,

Paul   
                            Top           Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]     

-- 
Over 900 classes with 18000 functions in one REALbasic plug-in. 
The Monkeybread Software Realbasic Plugin v8.1. 

&lt;http://www.monkeybreadsoftware.de/realbasic/plugins.shtml&gt;

[email protected]

Reply via email to