Cannot Create ActiveX Component: AccuAddress.AddrCode6

Information for the AccuZIP Toolkit standalone product, allowing the use of AccuZIP6 features in your own programs.

Moderators: Donna, MartyH, Chrissy

Post Reply
User avatar
Posts: 1912
Joined: Tue Sep 19, 2006 3:29 pm

Cannot Create ActiveX Component: AccuAddress.AddrCode6

Post by Eric » Fri Sep 06, 2013 7:47 am

AddrCode = CreateObject("AccuAddress.AddrCode6")

If this produces the following error:

Code: Select all

Cannot Create ActiveX Component
You’ll need to know the path to the AccuAddress.dll and AccuAddress.tlb files. These would normally be in your project folder or the final production program folder.

Open the DOS Command window As An Administrator and run this command, where “DotNetFolderName” needs to be changed to the actual .Net Framework folder name, e.g., v2.0.50727, and “PathTo” needs to be the Folder Path where the AccuAddress.dll and AccuAddress.tlb reside.

C:\Windows\Microsoft.NET\Framework\DotNetFolderName\REGASM.EXE "PathTo\AccuAddress.dll" /tlb:AccuAddress.tlb

This will register these items successfully and fix the error you’re receiving.
Chat with an AccuZIP6 technician weekdays from 7-4 PST with AccuZIP6 Live Online Support

Post Reply