Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Visual Basic > VB.NET 1.0 > VB.NET 2002/2003 Basics
Password Reminder
| FAQ | Members List | Search | Today's Posts | Mark Forums Read
VB.NET 2002/2003 Basics For 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 16th, 2004, 04:35 AM
Authorized User
Join Date: Sep 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts
Default Opening Excel and Excel files

Hi there,

I am sorry for bothering you guys.

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.

Thank you very much

Reply With Quote
  #2 (permalink)  
Old September 16th, 2004, 01:38 PM
Friend of Wrox
Join Date: Jun 2003
Location: , , .
Posts: 540
Thanks: 0
Thanked 4 Times in 4 Posts

You can start external applications like excel by using:


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.

Reply With Quote
  #3 (permalink)  
Old September 16th, 2004, 03:00 PM
Friend of Wrox
Join Date: Jun 2003
Location: High Wycombe, UK, United Kingdom.
Posts: 344
Thanks: 0
Thanked 1 Time in 1 Post

check out http://www.greggriffiths.org/webdev/both/excel/ which covers this.
Reply With Quote
  #4 (permalink)  
Old September 17th, 2004, 03:22 AM
Authorized User
Join Date: Sep 2004
Location: , , .
Posts: 10
Thanks: 0
Thanked 0 Times in 0 Posts

I dont have the Excel 9.0 Object library,

I have the version 10.0

Will it make much difference ?
Also, where can i get more info about using the object library ?

Been to the website listed above, but it does not work in vb.net 2003


Reply With Quote

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Error opening Excel 2007 files in Express Edition Exsharaen Visual Basic 2008 Essentials 2 April 25th, 2008 01:47 AM
Problem in opening excel file in MS Excel 2000 kallol Visual C++ 0 November 16th, 2007 05:48 AM
Merge many excel files into one excel files Roshanjoshi2001 Excel VBA 2 November 14th, 2007 06:23 PM
Opening XML with Excel boblavinsky XSLT 0 January 11th, 2007 09:18 PM
Opening Excel bomber Access VBA 4 November 28th, 2006 11:33 PM

All times are GMT -4. The time now is 12:33 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.