How to use LTCustomizer21LTCustomizer21 for AutoCAD LT reference manual

LTCustomizer21 can use as ActiveX control or C/C++ DLL.

Register LTCustomizer21

You must register LTCustomizer21 to Windows if you use LTCustomizer21 as ActiveX control.

How to register( example)

1:Push Windows key + R  on keyboard.

2:Run command line prompt . Type "cmd.exe (return) " in newly displayed window .

3: Move directory LTC21.DLL exists in command line window

 ex: cd c:\windows(return)

4. Type "regsvr32 ltc21.dll(return)"

If registration succeeded, Windows will display a message which means success.

Visual Basic2010(or later)

Open a project or Make a new project. After that, click Form window.  IDE ought to display toolbox window on the left side. Drag and drop LTC21.DLL from Windows Explorer to the toolbox window.

Finally, drag and drop LTCustomizer21 icon in toolbox to Form window.

Visual Basic for Application

Run VisualBasic editor. After that, select Tool => References in pulldown menu. Check "LTC21 1.0 type library" in appeared dialog box and push OK.
Write " Dim ltc As New LTCustomizer21 " in code.(ltc is optional object name)

VisualC++2010(or later)

Click project name in solution explorer. Open "Property" clicking mouse right button. VC displays property page. Click [Linker]->[Input] in left tree view window. Input "LTC21.LIB" in first item(Additionl files) of right-hand list view window. Remember adding delimiter";" finally

Caution: Confirm path LTC21.dll exist. Your application can't execute if LTC21.dll does not exist in c:\windows ,.etc.