Click here to Skip to main content
11,490,003 members (66,504 online)
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
Junoli391
Edited 14-Mar-13 2:40am
(no name)133.3K
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 Sergey Alexandrovich Kryukov 595
1 Andy Lanng 233
2 OriginalGriff 213
3 Maciej Los 170
4 _duDE_ 141
0 Sergey Alexandrovich Kryukov 9,608
1 OriginalGriff 8,475
2 Sascha Lefèvre 3,419
3 Maciej Los 3,106
4 Richard Deeming 2,370


Advertise | Privacy | Mobile
Web02 | 2.8.150520.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