Click here to Skip to main content
13,150,385 members (30,758 online)
Rate this:
Please Sign up or sign in to vote.
See more:
I got one project, now i try to fix all bugs.
My project contains some projects, and start point - Main.project
Almost any classes there is similar error: can not define(gren underlile) imports.

For example: Imports Smouse.MailDocPro.Common.Objects and error is:
Error	1077	Type 'NavigationControl' is not defined.	C:\Sorgenti.NET\Maildoc\Main\Source\Smouse.MailDocPro.Ricerca.Ctl.2010\NavigationControls\FilterNavigationControl.vb	8	18	Smouse.MailDocPro.Ricerca.Ctl.2010

I have a beginner level and understand that solution i must find himself, but i dont know from what start. I saw book VB.NET, but here only basics knowledge and it was not helped.
Must say that all references is active and available.

Sorry for my regular useless question!

And for example, there are:

Sub LoadControl(ByVal objArguments As Hashtable)
            Select Case objArguments("DettViewControl").ToString()
                Case "Cerca"
                    Dim wRicercheCelineCtl As New Cerca(CInt(objArguments("SelectedUo")))
                     Controls.Add(wRicercheCelineCtl) ''300 line ''
                    wRicercheCelineCtl.Dock = DockStyle.Fill
            End Select
Error	300	'Add' is not a member of 'Controls'.
        End Sub

So, i can assume that i have problem with DLL files. thats use at references. Now i "Build" every project that to build a chain link
Posted 13-Mar-13 21:32pm
CHill60 14-Mar-13 10:07am
Are you saying that your Imports statement is underlined in green? In which case you haven't added the correct reference to your project. The NavigationControl error doesn't seem relevent to the first part of your question.
Not sure of the relevence of Error 300 either.
Use the Improve question link to post the code with your first problem - try to fix things one at a time and always start at the top of the list of errors

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy |
Web04 | 2.8.170924.2 | Last Updated 14 Mar 2013
Copyright © CodeProject, 1999-2017
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100