Hi

I have a form with an activex on it in aprogram that starts from Sub main and when I call unload form (from sub main)I receive an application error:

The instruction at "..." refrenced memory at "...".
the memory could not be read

I dont need the form really and I use it only as the container of my ActiveX control

could someone tell me What is the reason?

Thanks Ehsan