Click here to Skip to main content
15,922,696 members
Home / Discussions / C#
   

C#

 
GeneralRe: Windows Service, FileSystemWatcher + Polling Pin
krazykoder4-Mar-10 8:41
krazykoder4-Mar-10 8:41 
GeneralRe: Windows Service, FileSystemWatcher + Polling Pin
Paulo Zemek4-Mar-10 16:05
Paulo Zemek4-Mar-10 16:05 
GeneralRe: Windows Service, FileSystemWatcher + Polling Pin
krazykoder5-Mar-10 4:36
krazykoder5-Mar-10 4:36 
AnswerRe: Windows Service, FileSystemWatcher + Polling Pin
PIEBALDconsult2-Mar-10 8:44
mvePIEBALDconsult2-Mar-10 8:44 
AnswerRe: Windows Service, FileSystemWatcher + Polling Pin
Pete O'Hanlon2-Mar-10 10:23
mvePete O'Hanlon2-Mar-10 10:23 
GeneralRe: Windows Service, FileSystemWatcher + Polling Pin
#realJSOP3-Mar-10 3:54
professional#realJSOP3-Mar-10 3:54 
QuestionOUTLFLTR.DLL library - need an answer Pin
chiky_ancutza2-Mar-10 5:20
chiky_ancutza2-Mar-10 5:20 
AnswerRe: OUTLFLTR.DLL library - need an answer Pin
Dan Mos2-Mar-10 5:24
Dan Mos2-Mar-10 5:24 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
chiky_ancutza2-Mar-10 5:28
chiky_ancutza2-Mar-10 5:28 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
Dan Mos2-Mar-10 5:38
Dan Mos2-Mar-10 5:38 
AnswerRe: OUTLFLTR.DLL library - need an answer Pin
Luc Pattyn2-Mar-10 5:29
sitebuilderLuc Pattyn2-Mar-10 5:29 
AnswerRe: OUTLFLTR.DLL library - need an answer Pin
Covean2-Mar-10 5:33
Covean2-Mar-10 5:33 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
chiky_ancutza2-Mar-10 5:45
chiky_ancutza2-Mar-10 5:45 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
Covean2-Mar-10 5:58
Covean2-Mar-10 5:58 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
chiky_ancutza2-Mar-10 7:27
chiky_ancutza2-Mar-10 7:27 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
Covean2-Mar-10 20:33
Covean2-Mar-10 20:33 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
chiky_ancutza3-Mar-10 2:40
chiky_ancutza3-Mar-10 2:40 
GeneralRe: OUTLFLTR.DLL library - need an answer Pin
Covean3-Mar-10 3:02
Covean3-Mar-10 3:02 
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 
Hi Experts,

I created a program in Visual Studio 2008 Standard. I left the namespace with standard MyProgram. I created some classes like this one
namespace MyProgram
{
    /// <summary>
    /// A Class
    /// </summary>
    public class MyDerivedPanel:Panel
    {
        // Some content
    }
}

Die werden dann in Form1.Designer.cs behandelt
namespace MyProgram
{
    partial class Form1
    {
        // ...
        private void InitializeComponent()
        {
            // Now we are coming to the error
            this.myDerivedPanel1 = new MyProgram.MyDerivedPanel();
        }

     private MyDerivedPanel myDerivedPanel1;
}

At the mentioned line, Visual Studio claims to have found an error at compile time:
<quote>Error 7 The type "MyDerivedPanel" does not exist in type "MyProgram.MyProgram"
(vaguely translated from german version)
I can delete the namespace including its "." from the erroring line and all works fine. But Visual Studio Designer re-inserts the namespace every time I change something in the Designer.
Having more than one class with this problem, deleting those namespaces gets annoying.

Is that a known issue?
Is there a known solution?
Ciao,


luker

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 

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.