VB.NET 2002/2003 BasicsFor coders who are new to Visual Basic, working in .NET versions 2002 or 2003 (1.0 and 1.1).
Welcome to the p2p.wrox.com Forums.
You are currently viewing the VB.NET 2002/2003 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
I am using VB.net and need to open applications like excel.
Also i would like to open excel files and play around with the data, what is the best way to do this ? i have tried objReader, but it does not work.
You can start external applications like excel by using:
System.Diagnostics.Process.Start("excel.exe")
As for playing around with the data, you will probably need to pick up a book as there is more to it than the one line of code that I listed above. Excel has it's own object model that you can use and can do that by adding a reference to the Microsoft Excel 9.0 Object Library.