Click here to Skip to main content
15,886,110 members
Please Sign up or sign in to vote.
4.00/5 (2 votes)
See more:
Hello!
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:

VB
Sub LoadControl(ByVal objArguments As Hashtable)
            Controls.Clear()
            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
v5
Comments
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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900