After Creating VS.NET project, Form is blank

< Back
You are here:
Print

After Creating VS.NET project, Form is blank

This issue applies to using VB .NET or C# .NET and one of the following:

In many cases, the form will not display because a reference to the .dll is missing. This may happen when a project is opened after the DLL has moved and sometimes occurs the first or second time the project is used.

Solution(s):

In order to reset the reference to the .dll in the form, use the following instructions.

  1. Check the .user file (if it exists) and remove any references in the ReferencePath.
    for example <Settings ReferencePath = “” >
  2. Place all DLLs used in the project in project directory; in the same folder as the .sln solution file.
  3. Delete references to the component DLLs such as “IDAutomation.Barcode” from Solution Explorer.
  4. Add references to Solution Explorer. This is performed by choosing Project – Add Reference, selecting the .NET tab and browse to the appropriate DLL that corresponds to the project.
  5. Add the barcode control to the Toolbox by right-clicking in the toolbox, select “Customize Toolbox,” then select the .NET tab and click on browse to locate the appropriate DLL that corresponds to the project.
  6. Click the “Save all” button.
  7. Close solution or project.
  8. Reopen the solution or project.