Home:  Support:  Search:

This technical document covers errors similar to the following:

"Name 'IDAutomation' is not declared"
"Type 'IDAutomation.Windows.Forms.LinearBarCode.Barcode' is not defined."

This problem usually occurs because the project cannot find the path to the .NET Component DLL. This is common when a project that was distributed with the .NET Component is opened for the first time.

This also could be caused by a bug in the VS.NET developing software. This bug deletes all the controls from a form when the view is switched between form view and code view. Microsoft has an update for this bug and it is posted on their Visual Studio .NET web site.

Solution(s):

Add the reference to the project. For example:

In VB.NET, open the project and display the form that is to be added to the barcode. Choose View - Toolbox to display the Toolbox. Right-click on the Toolbox and choose Customize Toolbox. Choose the .NET Framework Components folder. Choose Browse and select the Barcode Control.

Choose Project - Add Reference if the control is not to be added to a form.
 

Related Documents and Keywords:

See also our .NET Component Tutorial and Manual:

TSI

 

Copyright © 2002-2006, IDAutomation.com, Inc. All rights reserved. All trademarks mentioned are the property of their respective owners. 

Over 70% of Fortune 100 companies use IDAutomation's products to automate their businesses.