Exercise 2: Verification
In this verification, you will run the console application and observe that in addition to the activities your application performed in the previous Verification, your Excel worksheet is also embedded in a Microsoft Word application.
- In Visual Studio, press the F5 key to run the application in debug mode.
- Observe that the application starts an instance of Microsoft Excel and inserts your data into the first worksheet as before.
- When finished creating the Excel worksheet, the application will start in instance of Microsoft Word and insert your data into a document:
.png)
Figure 1Account data in a Word document
- Close Excel and Word. Do not save any changes.
Next Step
Exercise 3: Removing the PIA Dependence from the Application