|
-
Oct 10th, 2005, 11:38 PM
#1
Thread Starter
Hyperactive Member
-
Oct 10th, 2005, 11:49 PM
#2
Re: how to delete application.
To delete a file you could use Kill...
-
Oct 10th, 2005, 11:52 PM
#3
Thread Starter
Hyperactive Member
-
Oct 11th, 2005, 12:06 AM
#4
Re: how to delete application.
Try in the QueryUnload or Unload event of the main form in you app...
-
Oct 11th, 2005, 06:39 AM
#5
Re: how to delete application.
 Originally Posted by nagasrikanth
Hi,
I have an application which will copies and mdb file into users local system and application will be closed..
ofter this they will perform some updations in that mdb file and they will close the mdb..
when ever they close the mdb..I want to delete that mdb...is it possible?? aither through Acceess or through vb...???
any help???
If you are just going to delete it anyway, when why:
a. are they making updates to something that is going to be deleted?
b. are you coping a file to someones local system for the sole purpose of deleting it from someones local system?
-
Oct 11th, 2005, 07:58 AM
#6
Thread Starter
Hyperactive Member
-
Oct 11th, 2005, 12:51 PM
#7
Re: how to delete application.
Ok, so your application copies the MDB to a local system.
That being the case, your application should know where it copied it to, so deleting it shouldn't be a problem.
As dee-u said, if you place your delete code in the unload event of your main form, then when your application closes, it will delete the .mdb
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|