hi all, i have a problem with my activex control i dont know how solve it. i am controling in client whether my activex control is installed below:
try {
p = new ActiveXObject('MeshControl.ActiveX');
Te=p.Revision;
if(MaV>p.MajorVersion || p.MajorVersion.toString()=='undefined') UpdateControl('1');
else if (MiV>p.MinorVersion)UpdateControl('2');
else if (Re>p.Revision)UpdateControl('3');
else UpdateControl('0');
}
catch (e) {
UpdateControl('4');
}
This is a version control code.But in vista/ie7-ie8 when i request a page,browser not responding there:
p = new ActiveXObject('MeshControl.ActiveX');
not going "catch" block and nothing happens..So i kills ie in process explorer. activex is not a com object,its assembly,writed in .net.