Question:
I’m using this code to open ms access database :Finally
part executed This.Close
the opened access database closes , How can I use this code and close the form without closing the opened access database ?
ThanksEdit#1 : I used this but still having the problem
Baseet.accde
don’t open .
The second PC when I try to run the released app it works fine ! why is this ??!!Answer:
Remove the Form fromApplication.Run();
and open the form explicitly with frm.Show();
Instead of
Application.Exit();
. Closing the form will not terminate the application any more.If you have better answer, please add a comment about this, thank you!