|
-
Oct 21st, 2004, 05:33 PM
#1
Thread Starter
Junior Member
How to build custom objects
I have two asp scripts I downloaded that build custom objects (my name) that are used in string validation.
sample:
var telnr = /^\+?[0-9 ()-]+[0-9]$/
if (!telnr.test(tfld)) {
anyone know what these custom objects are called and any resources on how to build them or how they work?
Thanks
-
Oct 21st, 2004, 06:00 PM
#2
Lively Member
One way is to create COM DLL component that contains classes and register it on the server (but 99% hosting providers don't allow it) and then create objects (instances of classes) from within the script.
Second way is to create class in ASP script, but it won't run not as near that fast cause it's being interpreted every time.
www.msdn.com
http://www.developer.com/net/vb/article.php/1540071
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|