Solved

couldn't call forms in C#

Posted on 2011-09-12
5
375 Views
Last Modified: 2012-05-12
hi, I working on existing project in C#. I did insert a new form as "CrystalView". When i try to call this form from another form the name doesn't appear in drop down column. What i meant is does appear as class.XXX.CrystalView

CrystalView CR = new CrystalView();
CR.ShowDialog();

0
Comment
Question by:TITO2009
  • 3
5 Comments
 
LVL 3

Accepted Solution

by:
exceter earned 500 total points
ID: 36521284
1. Try to rebuild the project
Are you sure that you included the form in project ?
0
 

Author Comment

by:TITO2009
ID: 36521482
Hi, the first thing i tried is to rebuild the program. seems no effect.
solution1.JPG
0
 

Author Comment

by:TITO2009
ID: 36521546
Hi, I did manage to solve the issue. I don't know how the namespace are differents while i insert the crystalview forms. After change the namespace accordingly, i did manage to solve the issue. Thanks for your advice as well
0
 
LVL 9

Expert Comment

by:dexterrajesh
ID: 36521558
hi, check with fully qualified name... I mean check if both the forms have the same namespace name...
0
 

Author Comment

by:TITO2009
ID: 36522194
Hi, You get the point. That's the mistake i done. Cheers
0

Featured Post

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Create a WebAPI using a generic return parameter 9 41
linq, c# 8 32
C# Linq - Join two objects into one 3 31
How to force output to ascii 2 34
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question