TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Rupendra Bensh
NA
1
2.2k
Error when run project
Jul 29 2010 4:40 PM
Hello All Friend,
I need some help from you. I create a two tire architecture project in c#.net. One project have all forms and function and it's a class library project.
Second project have only application run code which get from first project's reference.
My code is mention below:
using MM = ProjectUtility;
namespace Project
{
static class Program
{
// <summary> /// The main entry point for the application. /// </summary> [STAThread] [SecurityPermission(SecurityAction.Demand, Flags = SecurityPermissionFlag.ControlAppDomain)] static void Main(string[] args) {
Application.Run(new MM.FrmMain());
}
}
}
I got mention below error from above bold code:
TypeInitializationException was unhanled
The type initializer for 'ProjectUtility.FrmMain' threw an exception.
Please help me to solve it.
Thanks,
Rupen
Reply
Answers (
2
)
I am having problem closing Excel in C#
A few very nooby questions.