I have a MDI Application which looks for some user preferences in the Windows Registry. If the preferences are not found, default values are set from a .reg file.

The problem is when the values in .reg file are added to the registry, the system displays a message box saying "Information in xxx.reg successfully added to the registry". Is there any way I can avoid displaying this message box?

I use ShellExecute to run the .reg file.

Thanx in advance.

-Jagadish.