Solved

windows form in rest service master

Posted on 2016-10-03
2
34 Views
Last Modified: 2016-10-22
I have created a windows form in rest service master itself. I am not able to run this project. I get an error called'' the project with an output type of class library cannot be started directly'' It is asking to attach a process. Please help me in solving this.
0
Comment
Question by:prasanth k
[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
  • 2
2 Comments
 
LVL 44

Accepted Solution

by:
AndyAinscow earned 500 total points (awarded by participants)
ID: 41826160
A class library is a collection of one one or more classes.  They are used by other projects eg. a Windows Form project.

>>Please help me in solving this.
Create a windows form project and add this class library to the new project.  Then in the winform create an instance of the form you wish to view and show that form.
eg.
MyClassLibraryForm frm = new MyClassLibraryForm();
frm.Show();
0
 
LVL 44

Expert Comment

by:AndyAinscow
ID: 41855080
Class libraries aren't stand alone.  This is a way to use functionality in a library.
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

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…
This article is for Object-Oriented Programming (OOP) beginners. An Interface contains declarations of events, indexers, methods and/or properties. Any class which implements the Interface should provide the concrete implementation for each Inter…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software explains how to view the most utilized and worst performing nodes in your network, by accessing the Top Charts view in NetCrunch network monitor (https://www.adremsoft.com/). Top Charts is a view in which you can set seve…

615 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