Click here to Skip to main content
15,891,423 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
VB
Error   1   class 'Data_Analysis' and namespace 'Data_Analysis', declared in 'G:\programmmmm\Data-Analysis\My Project\Data_Analysis2.vb', conflict in namespace '<Default>'.    G:\programmmmm\Data-Analysis\My Project\Data_Analysis1.vb   3   11  Data-Analysis.vb



here is the code

VB
Namespace Global
    Class Data_Analysis.

    End Class
End Namespace


however its not complete and i think that might be the error.

It also says it cant find the .exe file but its in the folder i checked many times and the path as well.

any ideas i need this in 2 days to be ready but its all wierd right now i can even send you the program if you want to check it your self.

Made in VB 13
Code .net
Posted
Comments
DamithSL 31-May-14 12:13pm    
check Data_Analysis2.vb and Data_Analysis1.vb contains same class Data_Analysis or not
Member 10853598 31-May-14 12:20pm    
Oh i see it now
Member 10853598 31-May-14 12:21pm    
there is data analysis 1,2,3,4, and only 1 contains this
Namespace Global
Class Data_Analysis.

End Class
End Namespace
Member 10853598 31-May-14 12:20pm    
am not that knowledgeable with coding or vb but the only thing i see is data-analysis.vbproj in visual basic and i even check the folder and i don't see anything there only the forms that i have created and the database that is connected to the program.
DamithSL 31-May-14 12:58pm    
can you share the project via https://www.dropbox.com/[^], send the shared url ones you done

1 solution

you have class called Data_Analysis in Data_Analysis2.vb
C#
Class Data_Analysis

and you have namespace with same name in Data_Analysis1.vb
C#
Namespace Data_Analysis 

rename on of them to a new one.
 
Share this answer
 
Comments
Member 10853598 31-May-14 12:41pm    
data_analysis2.vb has nothing inside when i open it.
so should i change the name of number 2 to data 2 is that what you mean ?

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