I'm doing an important VB project linked with access. I want to give an option on my VB menu that will allow the user to perform a backup of the whole database, but I don't know the codes to create that kind of screen! PLZ help it's really urgent!
Create a backup screen in VB
Collapse
X
-
Please provide more detail as to what version of VB you are using, and exactly what aspect of this you need help with. Creating a screen (window) is very simple, though getting it to look nice is something of an art.Originally posted by sincloseI'm doing an important VB project linked with access. I want to give an option on my VB menu that will allow the user to perform a backup of the whole database, but I don't know the codes to create that kind of screen! PLZ help it's really urgent!
You need to give us some idea of where you stand now, what you've attempted, exactly what you are trying to achieve, and so on. -
Am using VB 6.0 released in 1998(Yeah I know it's old), VBA Retail 6.0.8169.
For a project concerning the computerization of a student database in an institute I've made many forms for student details, payments and such, and managed to link them by a simple menu interface(the details in the forms come from their link with the studata.mdb file). I know how to do that much. Now I need to give an option to backup the whole database as a requirement of the project, but I have no idea how to do it. I want the backup option on the menu to give a file browser on the top and a backup option below that will save the database to said location in the file browser.Comment
-
Right, er, first my apologies if I sounded daft before and I wanted to say sorry, I checked, the backup screen ain't a necessity but I might as well know how to do it to satisfy my curiosity. By the way, checked the site around a little, it's really professional, congrats.Comment
-
Thanks. Not that any of the credit is mine; I just "work here". :)Originally posted by sincloseRight, er, first my apologies if I sounded daft before and I wanted to say sorry, I checked, the backup screen ain't a necessity but I might as well know how to do it to satisfy my curiosity. By the way, checked the site around a little, it's really professional, congrats.
You can use the DriveListBox, DirListBox and FileListBox controls to easily add browsing capability to your form. Once a destination is selected, I'd guess the simplest thing to do is just copy the MDB file there - no database work involved. Just make sure you don't have the database open at the time.Comment
-
Thanks. Actually, I'm thinking of switching back to my prior one, which was a sort of animated orange swirly tunnel thing I picked up from some hypnosis site. It stands out more prominently on the lists, making it easier for me to spot. The washing cat is nice, but tends to blend into the background.Originally posted by sincloseThanks. And I really like your avatar, killer42.
By the way, I still use VB6 too. I've been planning for a while now to install and start learning VB 2005 Express, but haven't had a chance.Comment
Comment