Avatar of bradbritton
bradbritton

asked on 

Issue with embedded database and VS 2005

I have an app that I am building in VS2005 and with VB2005, which has an embedded database. When I use the app in debug mode I add data to the database using my app, which places the info in the database. When I close the app and open it and then close it, I lose the database information. I have chosen to have the database as an embedded resource, but I cannot figure why the info will not stay. Any ideas?

Thanks,

Brad
.NET ProgrammingMicrosoft AccessVisual Basic.NET

Avatar of undefined
Last Comment
Sancler
Avatar of Jim Horn
Jim Horn
Flag of United States of America image

Just curious, can you explain how this app is an 'embedded resource'?  TIA.
Avatar of bradbritton
bradbritton

ASKER

The app is not, just the database itself is marked as an embedded resource under "Build Action"
Avatar of leonstryker
leonstryker
Flag of United States of America image

Could you please explain more about the application? Is this something you bought and are modifing or are you building this from scratch?

Leon
Avatar of bradbritton
bradbritton

ASKER

I am building it from scratch. When you add the datasource to project it allows you to copy it to the project, to the output directory which I have done. I have doen this so the database does not have to installed seperatly on the client machine. I am usin Access 2003 if that helps,
ASKER CERTIFIED SOLUTION
Avatar of Sancler
Sancler

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
Microsoft Access
Microsoft Access

Microsoft Access is a rapid application development (RAD) relational database tool. Access can be used for both desktop and web-based applications, and uses VBA (Visual Basic for Applications) as its coding language.

226K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo