Comco, Inc.
Search:        Advanced Search
Home | Contact Us | About Us | RefDesk | Site Map
  My Account  
  View Cart  

Low Prices. Every Day.

Shop Online or Call 563-355-1212

[Department of Defense]
[Export-Import Bank]


StreetRite Connections: COM Object Toolkit

StreetRite Connections: COM Object Toolkit

[Contact us for pricing.]

StreetRite: COM Object is designed to assist even the novice developer with the task of integrating the power of StreetRite address correction into a web or windows application.

[Discontinued. Suggested Alternative: AccuMail Gold]

What is COM?

The acronym COM stands for Component Object Model, a software architecture that allows the components made by different software vendors to be combined into a variety of applications. COM defines a standard for component interoperability, is not dependent on any particular programming language, is available on multiple platforms, and is extensible.

The COM Object connection solution is the easiest to use and is most often used in conjunction with the following development environments:

  • VBScript, JScript, JavaScript or CGI scripting for internet or intranet applications
  • Microsoft SQL Server 2000 (Transact SQL)
  • Microsoft Visual Basic
  • Microsoft Visual C++
  • Visual Basic for Applications (VBA) (MS Access, MS Word, etc...)
  • Visual FoxPro
The COM Object toolkit can be integrated into many other development environments as well as the ones listed above. Virtually any language that allows the creation of a COM object can be used with the StreetRite: COM Object.

Examples of Use:

Thanks to the design of the COM standard, the COM Object can be used in a number of different development environments. Most common is the integration of StreetRite's address correction functionality on company websites that capture addresses from visitors for the purposes of shipping an order or registering a user. The COM Object can also be used with database programs such as SQL Server 2000, Microsoft Access and Microsoft FoxPro and even word processing programs such as Microsoft Word and WordPerfect.


The COM Object toolkit is very simple to use and can be implemented into the simplest of environments in as little as an hour or two. Below is an example of how easy it is to implement the StreetRite COM Object into to a typical ASP web page using VBScript:

    'Step One: Object Instantiation (Creation)
    Set SrgObj = CreateObject("SRGold.SRObject")

    'Step Two: Initialize the StreetRite database
    ReturnValue = SrgObj.Initialize()

    'Step Three: Clear buffers
    ReturnValue = SrgObj.ClearBuffers()

    'Step Four: Set your address input
    ReturnValue = SrgObj.SetField("COMPANY", "DSmart, Inc.")
    ReturnValue = SrgObj.SetField("STREET", "3868 State St")
    ReturnValue = SrgObj.SetField("SUITE", "Suite 100")
    ReturnValue = SrgObj.SetField("CITY", "Santa Barbara")
    ReturnValue = SrgObj.SetField("STATE", "ca")
    ReturnValue = SrgObj.SetField("ZIP", "93105")

    'Step Five: Perform Lookup
    ReturnValue = SrgObj.Lookup()

    'Step Six: Get Corrected and Extra Address Information
    company = SrgObj.GetField("COMPANY")
    street = SrgObj.GetField("STREET")
    street2 = SrgObj.GetField("STREET2")
    suite = SrgObj.GetField("SUITE")
    city = SrgObj.GetField("CITY")
    Urb = SrgObj.GetField("URB")
    state = SrgObj.GetField("STATE")
    zip = SrgObj.GetField("ZIP")
    zip4 = SrgObj.GetField("PLUS4")
    ErrorMsg = SrgObj.GetField("ERRORMSG")
    LastLine = SrgObj.GetField("LASTLINE")
    CongDist = SrgObj.GetField("CONGRESSIONALDISTRICT")
    CountyCode = SrgObj.GetField("COUNTYCODE")
    CountyName = SrgObj.GetField("COUNTYNAME")
    HouseNum = SrgObj.GetField("HOUSENUMBER")
    PreDir = SrgObj.GetField("PREDIR")
    StreetName = SrgObj.GetField("STREETNAME")
    StreetSuffix = SrgObj.GetField("STREETSUFFIX")
    PostDir = SrgObj.GetField("POSTDIR")
    SUD = SrgObj.GetField("SUD")
    UnitNum = SrgObj.GetField("UNITNUM")
    ResultCode = SrgObj.GetField("ERRORCODE")
    Corrections = SrgObj.GetField("CORRECTIONS")
    Leftovers = SrgObj.GetField("Leftovers")

    'Step Seven: Finalize (Close) the object
    ReturnValue = SrgObj.Finalize()

That is all there is to it! More examples like these are included with the COM Object documentation and program samples.


Minimum Recommended
  • Pentium or AMD class processor at 166 MHZ
  • 32 MB RAM
  • 100 MB Free Disk Space
  • Windows 95 or higher operating system (Required by StreetRite database)
  • Microsoft IIS 4.0 or higher for ASP page samples
  • Pentium or AMD class processor at 500 MHZ or higher
  • 128 MB RAM
  • 400 MB Free Disk Space
  • Windows 98 or higher operating system (Required by StreetRite database)
  • Microsoft IIS 4.0 or higher for ASP page samples

Toolkit Includes:

  • StreetRite COM Object API (Application Programming Interface) documentation
  • Sample program and source code for the following development environments:
    • Microsoft Access 97
    • Microsoft Access 2000
    • Microsoft Access XP
    • Microsoft SQL Server 2000 Using Visual Basic and ADO
    • Microsoft SQL Server 2000 Using Transact SQL Language
    • ASP Web Page using VBScript
    • ASP Web Page using JScript
    • Visual Basic 6.0 Test Application
 Related Products
accugold_logo.gif View details ››    Accumail Gold COM Object Toolkit
Link Accumail Gold into your custom web or Windows application.

accugold_logo.gif View details ››    Accumail Gold Developer's API Toolkit
Link Accumail Gold into your custom application.

accugold_logo.gif View details ››    Accumail Gold .NET Toolkit
Link Accumail Gold into your custom .NET application.

accugold_logo.gif View details ››    Accumail Gold Web Connection
Integrate the power of Accumail postal address correction into your web-based internet or intranet applications.

accumail_gold.gif View details ››    Accumail Gold
CASS-certified address correction for server, LAN and web.

sa5.gif View details ››    SmartAddresser 5
Your complete mailing list management solution.


[Comco proudly accepts Visa.] [Comco proudly accepts Mastercard.]
[Comco proudly accepts Discover.] [Comco proudly accepts American Express.]
[Comco has been a proud member of the NetCheck Commerce Bureau since July of 1997.]
[DTBB Member Business]

Data Processing Software: Data Conversion / Search-And-Replace / Raw Databases / Developer Components / Mail & Data Utilities / PAVE-Certified Postal Presorting / CASS-Certified Postal Coding / Tape Drive Control / Tape Drives: LTO3, LTO4, LTO5 Tape Drives and Libraries / 3592 J1A, E05, E06 / 3590B, 3590E, 3590H / 3480, 3490, 3490e / 9-Track / Tape Drive Repair / Recertified Tape / Electronics Repair: Professional Hardware Repair / Data Processing

   Home   |   Contact Us  |   About Us  |   RefDesk  |   Site Map  
Buy Best replica watches online here: Hublot replica breitling replica Rolex Daytona Replica Watches cartier replica omega replica fake watches replica watches