Jump to content
  • Advertisement
Sign in to follow this  
DarienDaermon

Importing Spreadsheets into Visual Basic .NET

This topic is 4968 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
Advertisement
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
Thanks! I'll try that... but... uh... how do I use that driver? Sorry: This is seriously my second week with VB. Also, how do you manipulate the cells after you have it accessible?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!