DB/Reporting :: Allow User To Back-up And Restore Database?
Apr 25, 2010
I am using VB.net 2003. I am working on a stand alone windows program that stores data in an Access database via ADO.net via MS jet 4.0 OLEDb. I have progressed to the point that I would now like to provide the end user the oportunity to back-up the data they have stored and re-install if they choose. I am envisioning a menu item for "maintenance" with sub-items for "back-up" and "restore"
View 1 Replies
ADVERTISEMENT
Mar 17, 2009
I'm working on a multi user VB.Net windows application with back end as SQL Server 2008 Express. The SQL Server is installed on the intranet network drive. This is the connection string I will be using. Is this correct?
Data Source=.SQLEXPRESS;AttachDbFilename=Q:DatabasePrintDB.mdf;Integrate d Security=True;Connect Timeout=30;User Instance=True
View 3 Replies
Oct 28, 2009
I want to take my access database which i used in my project on visual studio2008 backup by selecting the local drive of my computer at the time of backup i choose the drive & there were i taken the backup i restore my database. Is is possible to take backup atomatically when i close my application.
View 1 Replies
Feb 18, 2009
I have an app written in vb2005 that allows users to search a sql database for a store name. Once a store is selected, it then presents the user with 12 different tabs, each with a DataGridView showing various bits of info about the store. It's a large and convoluted database, so I'm using stored proceedures to pull the data for each tab. Here's a sample of one of the subs that populates the tabs.[code...]
Now, this works just fine to populate the grids on the tabs, and the same code is copied into each of the subs that fill the grids (changing the stored proc, parameter and grid names, of course). The problem I'm having is how to move changes made to the data in the grid back into the database.
I have stored procs that do this (and the procs do work), I just can't seem to figure out how to trigger the stored proc when the user makes a change.
If it matters, there is only a grid on each tab, I did not use a binding source as I am trying to keep an abstraction layer between the data and the app. I did create a dataset, which is how I gain access to the stored procs, but I left the grids unbound and (as seen in my code) bind them at run time.
View 2 Replies
Jun 17, 2010
[url]..I'm trying to use the Restore.Abort function during an SMO restore process - What would be the best method?
[code]...
View 4 Replies
Jun 5, 2011
How to make back-up and restore point? what I want to happen is when I click the button back-up. It will generate a back-up of database in access on the current date. And if I click the button restore. the system will restore the last back-up point. So that when there is a file accidentally deleted, the system can retrieve it again.
View 1 Replies
Apr 15, 2008
What I am trying to do basically is open an access query in a datagrid view and then be able to make changes to the datagrid and then save it back to the database.When I try to save:
Me.BindingSource.EndEdit()
Me.TableAdapter.Update(DataSet)
It says that update is not a member of the tableadapter... Why is that?
View 1 Replies
Jun 15, 2011
I have a utiility that users can re-order DataGridView Columns in to their hearts content. I want them to be able to create a named list so they can have multiple Column Patterns to choose from.When I restore though the re-ordered Columns are not where I saved them.
View 1 Replies
Feb 29, 2012
I created an executable file of an application done in VB Express 2010 which connects to a Access 2010 database. When installling the executable file at one of the user's computer, the file is installed correctly, but it fail's when trying to connect to the database. It says that Microsoft Dataengine cannot open the database. The user's computer doesn't have Access installed, does it need to be installed? or can I install a framework or application to avoid installing Access at the user's computer?
View 8 Replies
Jan 28, 2011
i just want some opinnion or suggestions regarding database softwares. we are going to develop a system for 20 or less users, i am planning to use MYSQL community server as our database to lessen the budget for that system, i just want to know if it is ok to use that version.is there a big differece between mysql community server, enterprise server and MS SQL Server in terms of handling data i.e security, speed, etc...
View 2 Replies
May 2, 2008
Alright, let's try this again. I have an mdb file as a database in my program, I need this mdb file to be what my published program reads off of. Is there any way to have Visual Basic (2008 Express) not encode my mdb file to Example.mdb.deploy?
View 1 Replies
Jun 23, 2009
I am using the Mysql .NET connect and can connect to my database using my program. i want to be able to get a Users Password from the database using there user name
This is the query i want to use: "SELECT Password FROM staff WHERE Username = " & textbox1.text & " '". But i don't know how to run that query and to get it to store the Password as a variable
View 3 Replies
Oct 30, 2008
Here's what I'm attempting: The user browses for and opens a dbf file. The user is presented with a checkedlistbox which shows the column headers. The user then selects the columns they wish to run a report on. ex. total # of cells not empty, longest cell length, etc.
I'm to the point of populating the checkedlistbox with all of the columns shown but I'm unsure if the users selections are actually linked to my data and if they are how I go about isolating said selections for the reports. I have a feeling that my approach to populating the checkedlistbox is not the proper way for what I'm trying to accomplish.
Here is the code
Public Sub btnGetFile_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnGetFile.Click
Dim fileLookUp As New OpenFileDialog
[CODE]......................
View 2 Replies
Feb 27, 2011
I was thinking of an efficient way to add quarantining abilities to my antivirus application. I was thinking, which way is better: to copy the file into a specified directory and change its extension to none ("*. "). Either that or maybe I can save the file's binary code in an XML database. Which way s better?However, I have no idea how I will recompile the binary code once the user wants restore the file.
View 2 Replies
Oct 8, 2011
Anyone who give me a code for how to restore database using openfiledialog??
View 6 Replies
Mar 27, 2012
how to connect a visual basic front end with a MySQL back end. I am not proficient in VB or MySQL and was not able to find anything on google as a result.
View 1 Replies
Jun 3, 2011
I want to backup and restore the database by using vb.net.I have a problem here..This dialogue box appear.
"
[Microsoft][ODBC SQL Server Driver][SQL Server]Cannot open backup device 'C:Documents and SettingsSMy Documentssales.Bak'. Operating system error 5(Access is denied.).
[Microsoft][ODBC SQL Server Driver][SQL Server]BACKUP DATABASE is terminating abnormally.
"
View 3 Replies
Apr 29, 2010
I am writing a database application with Access 2007 and VB.net 2008.Is there a way in VB.net to backup and restore the database?
View 3 Replies
Jun 1, 2009
I'm working on a Warehouse Item locator. I use an Access database for all the information and I made a backup so after all the change are made, I can keep a copy of the database in case something happen.
View 1 Replies
Mar 17, 2012
I'm creating a program with database and it almost done. The only one thing that left is the backup and restore of database. I don't know how to do this.
View 9 Replies
Mar 10, 2012
is there a wat to backup my database into my documents and restore it,
(i am using datagrid to view my ms access as database)
View 1 Replies
Dec 31, 2009
I want to Backup my Database to a location and restore it afterwards. The problem is , i want to keep my program open. I seem to have a problem with this, the connection stays open. How can i do this , close connection and open it again without data loss?
View 7 Replies
Nov 25, 2009
Here is my code that is use to restore mysql database using vb.net
but it is not working. i don`t unerstand what happend.[code]...
View 2 Replies
Jun 1, 2009
how can I restore sqlserver database from VB.net or C# Application?
View 2 Replies
Oct 22, 2010
Im getting this: "Exclusive access could not be obtained because the database is in use.RESTORE DATABASE is terminating abnormally."
First the message told me i must connect to master db to execute the restore but i change it and i got the message above.The parametrized sql statement im using is :
cmd.CommandText = "RESTORE DATABASE aguasdelbosque " +
"FROM DISK = @archivo"
View 2 Replies
Jul 26, 2011
I would like to restore MySQL database , but it does not restore anything ,
Shell("C:Program FilesMySQLMySQL Server 5.1inmysql.exe --user=root --password=123 --host=localhost --databases test < C:.sql")
View 4 Replies
Jan 15, 2012
i am using the following code snippet to backup/restore database Backup works fine but when i try to restore i get this error "RESTORE cannot process database 'LIC' because it is in use by this session. It is recommended that the master database be used when performing this operation. RESTORE DATABASE is terminating abnormally."
[Code]...
View 1 Replies
Jan 11, 2010
code for sql server database offline checking from vb.net for restoring backup
View 1 Replies
Dec 10, 2009
How do you restore a dataset to the previous state before updating the database with a data adapter? I have a concurrency update problem that I believe to be caused by this. The update fails during the update and a rollback command is issued using a SQLTransaction object. However, now the rowstates of the rows that did not have errors have been changed to unchanged. So this record is no longer availible to be inserted into the database. When I updated the value that could not be null and then test the second update which runs just as the first does then I get a concurrency error. The update code is below:
[Code]...
View 10 Replies
Nov 19, 2010
can anyone teach me how to save data in microsoft access database and retrieving it back from database?[code]so, how do i save it in that and how do i load their data by typing their ic no only..
View 5 Replies