Solved

couldn't call forms in C#

Posted on 2011-09-12
5
376 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Instantly Create Instructional Tutorials

Contextual Guidance at the moment of need helps your employees adopt to new software or processes instantly. Boost knowledge retention and employee engagement step-by-step with one easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Adding items to a C# list incrementally 5 82
need to convert function to c# 5 55
Visual Studio 2015 auto inserted code 12 88
How do I "share" on social sites? 2 38
Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
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…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

734 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