Wrox Programmer Forums
|
BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7
This is the forum to discuss the Wrox book Beginning Microsoft Visual Basic 2008 by Thearon Willis, Bryan Newsome; ISBN: 9780470191347
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Microsoft Visual Basic 2008 ISBN: 978-0-470-19134-7 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
 
Old June 19th, 2012, 03:59 PM
Authorized User
 
Join Date: Aug 2005
Posts: 88
Thanks: 4
Thanked 0 Times in 0 Posts
Default Chapter 16-DataGridView

When I set up a data source in an application, I get a message asking if I want to add this file to the project. How does this affect the project when it is ready for distribution?

As an example, I have the Access database set on a partition on my hard drive with the file designation S:. The connection string for activities other then the DataGridView is pointing to the S drive

When my program is distributed will it look for the database in S, which the user probably won't have or should I use the connection string created when I set up the data source.

Nothing I have read from either Microsoft or my own research really helps. As you can guess from this report I'm pretty much of an amateur at programming, your books have helped a lot and are my usual "go to" source when I have a question.

Milt
 
Old June 20th, 2012, 02:53 PM
Wrox Author
 
Join Date: Mar 2006
Posts: 91
Thanks: 0
Thanked 5 Times in 5 Posts
Default

Hi Milt,

We dont add it to the project at my company. We always work with the files or database on a jsut like a user would in most cases. I would say that as long as you use a connection string property in a config file you are fine. At distribution you have to update the config file to match the settings of the user during the installation process or after. Our typically project is a custom solution that we do a lot of manual installation during testing and release so you would find any issue related to those things during test. Be sure to test in an environment like your users will have. I am not 100% sure that really answers your question so let me know if you need some more info or not. Bryan
The Following User Says Thank You to bnews987 For This Useful Post:
sirmilt (June 20th, 2012)





Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 16 Fig 16-11 krsouthern BOOK: Professional SharePoint 2007 Development ISBN: 978-0-470-11756-9 1 July 8th, 2008 12:11 PM
Chapter 16 yspider BOOK Beginning CSS: Cascading Style Sheets for Web Design, 2nd Ed; ISBN: 978-0-470-09697-0 1 June 19th, 2008 10:27 AM
Chapter 16 boyce0324 VB.NET 2002/2003 Basics 1 June 5th, 2007 01:59 AM
DataGridView Chapter 5 robodent BOOK: Beginning Visual Basic 2005 Databases ISBN: 978-0-7645-8894-5 1 May 11th, 2006 03:34 PM
Help in Chapter 16 aldwincusi VB.NET 2002/2003 Basics 2 June 4th, 2003 09:52 AM





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