Click here to Skip to main content
15,887,683 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
i need to update data online from my VB Project to MS Access Database? Please help me How to do it i have a Connection on my local PC I Need it to be online i m repeating my question How to keep it online ?
My config file is here =>

<connectionStrings>
        <add name="KKS.My.MySettings.kksdatabaseConnectionString" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\kks\kksdatabase.accdb"
            providerName="System.Data.OleDb" />
        <add name="KKS.My.MySettings.kksdatabaseroznzmchaConnectionString"
            connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\kks\kksdatabaseroznzmcha.accdb"
            providerName="System.Data.OleDb" />
    </connectionStrings>


What I have tried:

i tried this but no result :

<pre><connectionStrings>
        <add name="KKS.My.MySettings.kksdatabaseConnectionString" connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\kks\kksdatabase.accdb"
            providerName="System.Data.OleDb" />
        <add name="KKS.My.MySettings.kksdatabaseroznzmchaConnectionString"
            connectionString="Provider=Microsoft.ACE.OLEDB.12.0;Data Source=http://nntechs.net/kksdb/kksdatabase.accdb "
            providerName="System.Data.OleDb" />
    </connectionStrings>
Posted
Updated 11-May-19 4:07am

You just need to move the database to a network drive. If by 'online' you mean accessible from anywhere, then you either need to create a website to manage it, or use something like DropBox or OneDrive.
 
Share this answer
 
Comments
Member 12251479 21-May-19 17:32pm    
i have that on my local Network i need this to be online DropBox , is that possible to be accessible on dropBox on my application as a connection, i know the website i want it to be online free to be connected like MS SQL AND MYSQL DB TO TRANSFER DATA FROM DIFFERENT COMPUTERS TO THE SAME DATABASE, A CHEAP SOLUTION PLEASE
Richard MacCutchan 22-May-19 3:22am    
Please do not shout, and please do not demand answers. If you want a viable solution then you need to be prepared to spend money.
I really wouldn't recommend it.
To "use" an Access DB directly online, you have to expose it with read and write access to the whole internet - which is a good way to have it's data stolen and / or trashed. Directly exposing any DB to the internet is a bad idea!

In addition, Access is a very poor multiuser DB, and since all "Online" activity has to be assumed to be massively multiuser I would strongly suggest you go a different route.

If this is a website, then using an SQL or MySQL database (whichever is provided by your hosting service) prevents the need to "Protect" your DB from unexpected visitors.
If it isn't, then consider creating a WCF service to "host" your access file and to process requests to and from it. This provides the protection for you, and also means that your WCF task can be the only thing directly accessing the DB, ameliorating the multiuser access at the same time.
 
Share this answer
 
Comments
Member 12251479 21-May-19 17:35pm    
To "use" an Access DB directly online, you have to expose it with read and write access to the whole internet - which is a good way to have it's data stolen and / or trashed. Directly exposing any DB to the internet is a bad idea! I NEED THIS SOLUTION WILL THAT BE SAME LIKE MS SQL and mysql accessible and be connected to save data there from my vb software ?
OriginalGriff 22-May-19 2:04am    
Exactly.
So why are you trying to use Access at all?
Use SQL server or MySql.

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