Results 1 to 2 of 2

Thread: How to build custom objects

  1. #1
    Junior Member
    Join Date
    Sep 04
    Posts
    18

    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

  2. #2
    Lively Member
    Join Date
    Oct 04
    Posts
    88
    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
  •