Link to home
Start Free TrialLog in
Avatar of snomi
snomi

asked on

UserControl in vb.net

I have to clear some files on the unloading of my project.  I am using Windows Application (Not Web Application)
I have a usercontrol in my project. Before unloading the control i want to call my procedure which will delete some temp files which i have created.
What's the appropriate event in this case to be used. I don't have Unload event of usercontrol in windows application project.


Thanks for the help

Syed
Avatar of RonaldBiemans
RonaldBiemans

Why on unloading the usercontrol, why not using the closing event of your mainform
Avatar of snomi

ASKER

i have already done that, i was only wondering that how can i find the unload event for the usercontrol or any other avaiable event in its place.
ASKER CERTIFIED SOLUTION
Avatar of doobdave
doobdave

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of snomi

ASKER

Hi David,

Thanks for very good reply. I also want to thanks the other people who have helped me in this problem

Take Care

Syed