How to make a backup from vb.net

  • Thread starter Thread starter Stan Sainte-Rose
  • Start date Start date
S

Stan Sainte-Rose

Hi,
I would like to add a backup function in my winform app.
I use MSDE.
My idea was to :
Detach the database
Copy the mdf and ldf file to the destination support
Attach the database

But I don't know how to detach and attach the database from vb.net
Any idea ?

Stan
 
Back
Top