473,388 Members | 1,326 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,388 software developers and data experts.

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

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
Nov 17 '05 #1
1 1193
"Sebastian Dau" <se***********@gmx.de> wrote in
news:40*********************@read.news.de.uu.net:
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.

--
Tarek Madkour, Visual C++ Team
This posting is provided "AS IS" with no warranties, and confers
no rights.
Nov 17 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Craig Faulkner | last post by:
I have been fighting through my first crystal report in VS2003.NET and have made some headway. Here is what I've done: 1. Created a crystal report in VS2003 from a SQL stored procedure with...
1
by: GoodDay | last post by:
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...
0
by: rmacias | last post by:
I'm getting annoyed in that it has been over 30 minutes and none of my messages are being posted by the Web based news reader, so I'm using Outlook Express in hopes that this messages gets posted. ...
4
by: rmacias | last post by:
I posted this in another forum, but nobody replied and I need an answer fairly quickly: I'm creating a Windows form application in VC++ .NET 2003. I'm creating the UI is a nested namespace as...
0
by: rmacias | last post by:
I posted this in another forum but nobody has answered it: I'm creating a Windows form application in VC++ .NET 2003. I'm creating the UI is a nested namespace as follows: namespace...
0
by: rmacias | last post by:
I'm creating a Windows form application in VC++ .NET 2003. I'm creating the UI is a nested namespace as follows: namespace MyApplication { namespace GUI { //form class goes here } }
0
by: rmacias | last post by:
I apologize if this message appears in duplicates. I've posted this issue several times and it's been almost 20 minute and none of my post are showing up. Here's my problem: I'm creating a...
1
by: Rich | last post by:
I have a solution that is in development under VS2003 and has been 'ported' to VS2005. The painful experience of running this newer version of VS revolves around one form. This form is very dense...
9
by: TheSteph | last post by:
In VS 2005 Form files are in 3 parts : From1.cs, Form1.Designer.cs and Form1.resx. In VS 2003 there is only one ".cs files". How can I split my old VS2003 ".cs files" files in 2 files :...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.