Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: VB VB.NET
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:
 
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 13-Mar-13 22:32pm
Edited 14-Mar-13 2:40am
(no name)117.5K
v5
Comments
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 OriginalGriff 295
1 DamithSL 265
2 CPallini 235
3 Maciej Los 190
4 George Jonsson 170
0 OriginalGriff 5,415
1 DamithSL 4,422
2 Maciej Los 3,820
3 Kornfeld Eliyahu Peter 3,470
4 Sergey Alexandrovich Kryukov 2,911


Advertise | Privacy | Mobile
Web02 | 2.8.141216.1 | Last Updated 14 Mar 2013
Copyright © CodeProject, 1999-2014
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