Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / Managed C++ / July 2004

Tip: Looking for answers? Try searching our database.

How to use VS2003 designer to design a form in a nested namespace

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Sebastian Dau - 01 Jul 2004 13:26 GMT
Hi there,

I'm trying to design a form with the help of the VS2003 C++ Forms designer.
This works pretty good as long as the form is not included in a nested
namespace.

Example (works)

namespace MyFirstNS
{
   public __gc class MyForm
  {
      MyForm(void);
  };
}

Example (Designer does not open that code):

namespace MyFirstNS
{
   namespace MySecondNS
  {
      public __gc class MyForm
     {
         MyForm(void);
     };
  }
}

Does anybody know how to create a form in a second namespace
that can be modified visually with the VS designer.
A result should be a form to be called like
MyFirstNS::MySecondNS::MyForm ();
with designer support.

Thanks for your help!

Sebastian Dau
Tarek Madkour [MSFT] - 01 Jul 2004 20:47 GMT
> Does anybody know how to create a form in a second namespace
> that can be modified visually with the VS designer.
> A result should be a form to be called like
> MyFirstNS::MySecondNS::MyForm ();
> with designer support.

Not using VS2003 :( This is a bug. The designer will not load a form
that is not a member of a namespace or that is a member of a nested
namespace.

We fixed this for VS2005. You should find it working for the VS2005
Beta.

Signature

Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.


Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.