 |
| Visual Basic 2005 Basics If you are new to Visual Basic programming with version 2005, this is the place to start your questions. For questions about the book:
Beginning Visual Basic 2005 by Thearon Willis and Bryan Newsome, ISBN: 0-7645-7401-9 please, use this forum instead. |
Welcome to the p2p.wrox.com Forums.
You are currently viewing the Visual Basic 2005 Basics 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
|
|
|
|

December 10th, 2005, 03:25 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
|
|
You are welcome buddy. Do write back.
Ankur
|
|

March 13th, 2006, 05:30 PM
|
|
Registered User
|
|
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
So I think I've tracked down the root of the whole problem. When you add the access file as a data source to your project, Visual Studio asks you if you want to copy the database file into your project workspace. If you answer "yes" to this, VS gives you a fresh copy of the data base to work with every time you run the project. Your changes are being propagated back to the Access db, but it's saving to the copy in your bin directory. Since that DB gets overwritten every time, you can't see the changes unless you manually start the application yourself by clicking on the icon in the bin directory (as opposed to launching it from visual studio).
Since the book's example is with a SQL database, it doesn't mention the dialog that happens when you use a database file on the local machine.
|
|

April 27th, 2006, 08:27 AM
|
|
Registered User
|
|
Join Date: Apr 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Ankur,
I have the same problem, but I am not using Access, rather I am using SQL Server 2005 with the *.dbo extension.
I am hoping that maybe you can help me resolve my problem as well.
I am using Window 2000 Server w/Sp 4 and all the latest updates.
Thanks in advance for your response.
Preston_JB
|
|

October 19th, 2006, 09:29 PM
|
|
Registered User
|
|
Join Date: Oct 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Dear Ankur, I'm facing the same problem like wb8bgy and preston_jb. Could you send me email of the sample code to my email address : [email protected]. I really frustated with this situation. Thanx in advance.
|
|

October 24th, 2006, 03:14 AM
|
|
Authorized User
|
|
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Hi Ankur, I also have the sam prob, I use MSSQL2005 express. Please send the same code to my e-address: [email protected]
Thanks in advance.
|
|

October 24th, 2006, 03:20 AM
|
|
Authorized User
|
|
Join Date: Oct 2006
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
PS: I can update my databases by using sqlDataAdapter control, but using code failed.
Could you send me email?
Thanks.
|
|

February 12th, 2008, 09:12 PM
|
|
Registered User
|
|
Join Date: Feb 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
|
|
Thank you for this posting!! This saved me some development time and headache tonight.
|
|

February 19th, 2008, 11:02 AM
|
|
Friend of Wrox
|
|
Join Date: Jun 2003
Posts: 453
Thanks: 0
Thanked 1 Time in 1 Post
|
|
Poem to my ears. Glad to know it was of use to you.
Regards
Ankur
|
|
 |