Click here to Skip to main content
15,888,351 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: , +
Hi.Im using microsoft access DB file in my vb.net application and now i want to install this application into other computer. But the problem is, what if it has no microsoft access or microsoft office installed in that computer? Can the application still can access to database?
What are the solutions in this problem? Help im a newbie!
Posted
Comments
ZurdoDev 10-Jun-13 8:22am    
How are you accessing the db? Using ADO.Net? If so, it should work fine if you publish you app and include all references.
akosisugar 10-Jun-13 8:32am    
Sir..this is how set my connection string to my project..
connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=|DataDirectory|\Database1.accdb"

1 solution

Yes you can access a database without installing access itself.
Try http://www.microsoft.com/en-us/download/details.aspx?id=4438[^].
 
Share this answer
 
Comments
akosisugar 10-Jun-13 8:51am    
should this also be include in the installation package?
Member 10254249 15-Oct-13 2:23am    
will one make two different packages? (the vb.net one and the access one)
and also in the connection string what are you supposed to write?
Abhinav S 10-Jun-13 8:53am    
Yes. You could install this via a deployment package.
akosisugar 10-Jun-13 8:58am    
ah ok. I use access 2010.the link youve given is 2007 version.which version should i download?
Abhinav S 10-Jun-13 9:00am    
You would probably need the right version. Maybe searching on the MS site would help.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900