I want the code to close all mozilla firefox windows
I have tried doing it using findwindow function and linkbutton with no success

Please provide me the solution

Well, if you have the findwindow API working you are half way there if not more. Search on vb6 kill process, vb6 terminate program, vb6 sendmessage wm_close (at least if my memory serves me right that is the constant to use...).

Good Luck

I used Mozilla Firefox and then I can't enter because it saids that I first need to close Mozilla and then to use again...But I closed...I don't know what is it.