[ ComRegisterFunction() ]
{
StringBuilder sb =
sb.Replace(@"HKEY_CLASSES_ROOT\","B7E2C913-06D1-41e2-9A65-733995131C89") ;
RegistryKey regKey = Registry.ClassesRoot.OpenSubKey(sb.ToString(),
RegistryKey ctrl = regKey.CreateSubKey ( "Control" ) ;
ctrl.Close ( ) ;
RegistryKey inprocServer32 = regKey.OpenSubKey ( "InprocServer32" ,
inprocServer32.SetValue ( "CodeBase" , Assembly.GetExecutingAssembly().CodeBase ) ;
inprocServer32.Close ( ) ;
regKey.Close ( ) ;
}
[ComUnregisterFunction()]
regKey.DeleteSubKey ( "Control" ,
regKey.DeleteSubKey ( "CodeBase" ,
}My html looks like this...<html> <body> <center><br><br><br><br><br> <object id="DllInDll" Classid="http://10.1.30.58:9090/newbreak/DLLInDll.dll#NBUserControl_DllInDll.UserControl1" CODEBASE ="CLSID:B7E2C913-06D1-41e2-9A65-733995131C89" width="700" height="600"> </object> </center> </body></html>pls give me a solution..Thanks,yusuf