How to create a ClickOnce application?

Are you preparing for IT certification? With practice questions, study notes, interactive quizzes, tips and technical articles, uCertify PrepKits ensure that you get a solid grasp of core technical concepts to ace your certification exam in first attempt.

How to create a ClickOnce application?

Rating:

The following are the steps to create a ClickOnce application:

  1. Open the Microsoft Visual Studio. Select File > New > Project drop-down menu option. An illustrative image is shown below:



  2. The New Project dialog box opens. Select Visual C# language from the Project types left pane. Select Windows Application template from the Visual Studio installed Templates option of the Templates pane. Type a valid name of the project in the Name text box option. Click the OK button, as shown below:



  3. A default Windows form is added to the application. Open the design view of the form, and drag a button control, i.e. the Button control of the design view from the Toolbox. Change the Text property of the control from the Properties window, as shown below:



  4. Note: You can test the application by pressing F5 or select Debug > Start Debugging menu option.

  5. Double-click the button control and the source code window appears. Write code inside the button1_Click event method, as shown below:



  6. For publishing the application, select Project > MyClickOnceApp1 Properties drop-down menu, as shown below:



  7. MyClickOnceApp1 property tab appears. Select the Publish option from the property page. Several publish settings can be done before publishing the application on the Web site.




  8. Click the Prerequisites button, as shown below:



  9. The Prerequisites dialog box appears. Choose and check the appropriate prerequisites that are to be installed. Click the OK button, as shown below:



  10. Click the Updates button from the above image and the Application Updates dialog box appears. Check the The application should check for updates check box. Click either the After the application starts or Before the application starts radio button. Click the OK button, as shown below:



  11. Click the Publish Wizard button to publish the application by using the publish wizard. Otherwise, click the Publish Now button if a user wishes the current application at the moment. An illustrative image is shown below:


Rating:



Other articles

Click here to Article home

 
uCertify.com | Our Company | Articles | Privacy | Security | Contact Us | News and Press Release | uCertify India
MCSE: MCSA, MCTS, MCITP    JAVA Certification: SCJP, SCWCD Cisco Certification: CCNA, CCENT, A+, Network+, Security+
Oracle Certification: OCP 9i, OCP 10g, OCA 9i, OCA 10g CIW foundation    EC-212-32    CISSP    Photoshop ACE    Adobe Flash ACE
© 2008 uCertify.com. All rights reserved. All trademarks are the property of their respective owners.