christhedonstar
Programmer
tools --> references --> ok.
We have some software that registers an assembly and creates a tlb file.
Recently we've noticed a problem with this scenario
1) Excel workbook myWorkBook.xls has reference to myfile.tlb
2) myfile.dll is unregistered and myfile.tlb deleted
3) Excel workbook myWorkBook.xls is opened
4) myfile.dll is registered and myfile.tlb created
5) Try to run some functionality that uses myfile.tlb
we get can't find project or library and then in the reference click ok and then it works.
Ok think I've worked it out - think I need to compile the workbook and then save.
Will let you know if thats not the case.
We have some software that registers an assembly and creates a tlb file.
Recently we've noticed a problem with this scenario
1) Excel workbook myWorkBook.xls has reference to myfile.tlb
2) myfile.dll is unregistered and myfile.tlb deleted
3) Excel workbook myWorkBook.xls is opened
4) myfile.dll is registered and myfile.tlb created
5) Try to run some functionality that uses myfile.tlb
we get can't find project or library and then in the reference click ok and then it works.
Ok think I've worked it out - think I need to compile the workbook and then save.
Will let you know if thats not the case.