Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 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
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old June 19th, 2012, 03:59 PM
Authorized User
Points: 406, Level: 7
Points: 406, Level: 7 Points: 406, Level: 7 Points: 406, Level: 7
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Aug 2005
Location: Florida
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
Reply With Quote
  #2 (permalink)  
Old June 20th, 2012, 02:53 PM
Wrox Author
Points: 333, Level: 6
Points: 333, Level: 6 Points: 333, Level: 6 Points: 333, Level: 6
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2006
Location: , , .
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
Reply With Quote
The Following User Says Thank You to bnews987 For This Useful Post:
sirmilt (June 20th, 2012)
Reply


Thread Tools
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
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



All times are GMT -4. The time now is 08:33 PM.


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