Solved

couldn't call forms in C#

Posted on 2011-09-12
5
372 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
Introduction Hi all and welcome to my first article on Experts Exchange. A while ago, someone asked me if i could do some tutorials on object oriented programming. I decided to do them on C#. Now you may ask me, why's that? Well, one of the re…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, just open a new email message. In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Internet Business Fax to Email Made Easy - With  eFax Corporate (http://www.enterprise.efax.com), you'll receive a dedicated online fax number, which is used the same way as a typical analog fax number. You'll receive secure faxes in your email, f…

867 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

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now