Sign in to follow this  

Importing Spreadsheets into Visual Basic .NET

This topic is 4688 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is getting extremely frustrating: I am programming an interface for a pen and paper game I made; a while ago, I put all the character sheets onto a spreadsheet, so I could play it off of the palm. As we have played one game for nigh on 5 years now, the sheets are quite expansive (and I want to have the spreadsheet for use outside of the interface) so I do not want to manually program all the stats, inventory, etc. into the program. The Question: How do you make VB read and write to and from a spreadsheet? Please!! Thanks, DDaermon

Share this post


Link to post
Share on other sites
What kind of spreadhseet? Is it a Microsoft Excel one? If so, I think you can access it through the ODBC interfaces using the "Driver={Microsoft Excel Driver (*.xls)};DriverId=790;Dbq=C:\MyExcel.xls;DefaultDir=c:\mypath;" connection string (source: www.connectionstrings.com).

Share this post


Link to post
Share on other sites

This topic is 4688 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this