Hello
I am not sure if this is so relevant, so forgive me if my ignorance and annoying lack of general computer knowledge is showing up once again… _
_...In recent years I have taken some interest in things that some people a lot smarter than me are doing to make Windows do what they thought it should be doing , and not what Microsoft more recently have been decided they want it to do.. you know the “
shut up” stuff , “
de bloat” stuff etc…
I have seen that people who offer scripts and packages to, in their opinion, “
put it right”, often have an extra button or option, as an addition to the main
"Putting it right stuff", to install a “
.Net thing”, I think it was 3.5 ….
Alan
( Edit P.S. I just rememberd something else.. A couple of years ago I was getting into VPN for all my computers. Most are old, and I had no problems installing different "
Client things". A newer one crashed out when trying to install a VPN client software, but suggested I instal some .Net thing, which I did, then all was well.. )
Edit, P.S. 2
SpeakEasy wrote: ↑16 Aug 2021, 10:53
... Add a reference to mscorlib.dll ....
And then ...
I did one of these instead a few times, I think it worked - As an alternative to manually Adding the referrence, you can do it with coding. I have found this useful sometimes when supplying macros that need the referrence, - You can arrange that it is done when a workbook opens, for example, ( using good use of error handling , in case the referrence is already added) :-...
_...
Code: Select all
ThisWorkbook.VBProject.References.AddFromFile "C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\mscorlib.tlb"
or by
Code: Select all
ThisWorkbook.VBProject.References.AddFromguid "{BED7F4EA-1A96-11D2-8F08-00A0C9A6186D}", 2, 4
( Ref:
https://www.snb-vba.eu/VBA_Sortedlist_en.html )
I am having difficulty logging in with this account just now.
You can find me at DocAElstein also