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++ / June 2004

Tip: Looking for answers? Try searching our database.

Visual Studio .NET IDE Designer Fails When Implementing an custom namespace Form Programmatically in Managed Visual C++ .NET

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
GoodDay - 09 Jun 2004 06:51 GMT
GoodDay..

Trying to nest the designer generated Namespace of a form-project in another namespace.
with "MyCompay::MyApp"
The program builds correctly. However, when try to view the form in Design view in the Microsoft Visual Studio .NET IDE Designer, eceive the following error message

"The designer could not be shown for this file because non of the classes within it can be designed

here is code snipse

namespace MyCompany
   namespace MyApp
       namespace MCForm1
           public __gc class MCForm1Control : public System::Windows::Forms::UserContro
           
                   ..
           }
       
   

     
stead of having a Form "MCForm1.MCForm1Control " I want to create "MyCompay.MyApp.MCForm1" .
Obviously I can manually add a namespace around the generated one, but doing so instantly kills the  forms-designer's ability to function

Is it a buggy or something made by the design??
David Lowndes - 09 Jun 2004 11:02 GMT
>Is it a buggy or something made by the design???

Poor design (IMHO).

It also doesn't like having another class declared first in the same
source code - though it's perfectly acceptable if it's included via a
.h file.

Dave

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.