Importing COM Components into Visual Studio

In this chapter, you learn how to use COM components in a WPF application. The reason you should use WPF is that it is the only technology you should use to create modern desktop applications, even if it requires some more work when compared to Windows Forms. Also, the goal of this chapter is illustrating a very common scenario, which is having the ability of displaying PDF documents. Before going on, make sure you install the Adobe Reader program (www.adobe.com), which includes an ActiveX control to display PDF documents and that will be used in our example. You can replace the Adobe Reader with different software that has an ActiveX control, such as Foxit Reader.

.Net and PDF Files

Throughout the ...

Get Visual Basic 2015 Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.