Click here to Skip to main content
15,920,513 members
Home / Discussions / C#
   

C#

 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
chiky_ancutza3-Mar-10 5:35
chiky_ancutza3-Mar-10 5:35 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
Covean4-Mar-10 0:05
Covean4-Mar-10 0:05 
QuestionQuickTime Audio peak detection Pin
survcopt2-Mar-10 4:57
survcopt2-Mar-10 4:57 
Questionnamespace - automatically created, now not recognized Pin
lukeer2-Mar-10 4:44
lukeer2-Mar-10 4:44 
AnswerRe: namespace - automatically created, now not recognized Pin
Dan Mos2-Mar-10 5:27
Dan Mos2-Mar-10 5:27 
AnswerRe: namespace - automatically created, now not recognized Pin
Luc Pattyn2-Mar-10 5:35
sitebuilderLuc Pattyn2-Mar-10 5:35 
GeneralRe: namespace - automatically created, now not recognized Pin
Som Shekhar2-Mar-10 7:46
Som Shekhar2-Mar-10 7:46 
AnswerRe: namespace - automatically created, now not recognized Pin
Paulo Zemek2-Mar-10 10:05
Paulo Zemek2-Mar-10 10:05 
Isn't there a class named MyProgram?

If I understood what's happenning, it's something like this:
The Designer will always re-generate code (you change something in the form, it's code is regenerated enterelly).

But, to "avoid" problems, the full namespace is used. Here is the problem, it uses the full namespace, but does not add the global::

So, as you are inside MyProgram namespace, when it puts the "MyProgram." it finds a class with such name, and use it.

I really think that's the problem. To solve this, change the name of your class. I am not 100% sure that you have such class, but that's the only way I can reproduce the error.
GeneralRe: namespace - automatically created, now not recognized Pin
lukeer2-Mar-10 20:37
lukeer2-Mar-10 20:37 
GeneralRe: namespace - automatically created, now not recognized Pin
Paulo Zemek3-Mar-10 1:21
Paulo Zemek3-Mar-10 1:21 
GeneralRe: namespace - automatically created, now not recognized Pin
lukeer3-Mar-10 20:45
lukeer3-Mar-10 20:45 
QuestionHow do you check the validity of a file type? Pin
sunlord_clave2-Mar-10 3:50
sunlord_clave2-Mar-10 3:50 
AnswerRe: How do you check the validity of a file type? Pin
PIEBALDconsult2-Mar-10 3:57
mvePIEBALDconsult2-Mar-10 3:57 
AnswerRe: How do you check the validity of a file type? Pin
Dave Kreskowiak2-Mar-10 3:57
mveDave Kreskowiak2-Mar-10 3:57 
AnswerRe: How do you check the validity of a file type? Pin
dan!sh 2-Mar-10 4:11
professional dan!sh 2-Mar-10 4:11 
Questionweb cam with sound recording to avi [modified] Pin
sanforjackass2-Mar-10 2:09
sanforjackass2-Mar-10 2:09 
AnswerRe: web cam with sound recording to avi Pin
Dave Kreskowiak2-Mar-10 3:55
mveDave Kreskowiak2-Mar-10 3:55 
QuestionOptional parameter declaration in C3 3.5 Pin
abcurl2-Mar-10 1:50
abcurl2-Mar-10 1:50 
AnswerRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 1:55
mentorNot Active2-Mar-10 1:55 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Kevin McFarlane2-Mar-10 2:05
Kevin McFarlane2-Mar-10 2:05 
JokeRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 2:16
mentorNot Active2-Mar-10 2:16 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Keith Barrow2-Mar-10 2:27
professionalKeith Barrow2-Mar-10 2:27 
GeneralShameless self-promotion Pin
Keith Barrow2-Mar-10 2:26
professionalKeith Barrow2-Mar-10 2:26 
JokeRe: Optional parameter declaration in C3 3.5 Pin
Abhinav S2-Mar-10 3:28
Abhinav S2-Mar-10 3:28 
GeneralRe: Optional parameter declaration in C3 3.5 Pin
Not Active2-Mar-10 4:03
mentorNot Active2-Mar-10 4:03 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.