Could not load file or assembly 'file :////C:\Program Files\STPL\GlobActiveX.dll' or one of its dependencies. an attempt was made to load a program with an incorrect format.
filepath=C:\Program Files \STPL\GlobActiveX.dll
Assembly asm = Assembly.LoadFrom(filePath);
RegistrationServices regAsm = new RegistrationServices();
bool bResult = regAsm.RegisterAssembly(asm, AssemblyRegistrationFlags.SetCodeBase);
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)