Hello,

I am using Common Dialog box in my VB form. For that it use comdlg32.ocx file. If a Computer doesn't have this file, my exe generates an error .To solve the same, I have to copy comdlg32.exe file in the corrosping folder of that system.
I want that as my exe runs, it automatically register the same or any ocx file, so I dont have to copy the ocx file again and again.

Do anybody have any idea about this.

Thanx in advance,
Saurabh