Click here to Skip to main content
Rate this: bad
Please Sign up or sign in to vote.
See more: VB VB.NET
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 22:32pm
Edited 14-Mar-13 2:40am
(no name)129K
CHill60 at 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
0 Sergey Alexandrovich Kryukov 434
1 OriginalGriff 385
2 CHill60 230
3 CPallini 220
4 Abhinav S 200
0 Sascha Lefévre 75
1 OriginalGriff 70
2 F-ES Sitecore 55
3 Peter Leow 50
4 Dave Kreskowiak 40

Advertise | Privacy | Mobile
Web03 | 2.8.150327.1 | Last Updated 14 Mar 2013
Copyright © CodeProject, 1999-2015
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