dispose - vb.net Program not closing -


so code in function of module. i'd close program call application.exit, keeps running. there reason that?

  dim openfiledialog1 new folderbrowserdialog     if openfiledialog1.showdialog() = system.windows.forms.dialogresult.ok          picturefolder = openfiledialog1.selectedpath          movingpictures(picturefolder)          'getimagepath()      else          dim answer dialogresult         answer = messagebox.show("the program needs folder continue, " & vbcrlf & _                                   "choose retry try again, or cancel close.", "retry or close?", messageboxbuttons.retrycancel, messageboxicon.information)         if answer = vbretry             goto repickopenfiledialog         else             ' ... here i'd close program ...              ' won't... keeps running though code...              ' there reason ?             application.exit()             form1.close()         end if     end if     processlock = 0 

what processlock? there other threads being executed? if problem.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

android - send complex objects as post php java -

charts - What graph/dashboard product is facebook using in Dashboard: PUE & WUE -